/*
   Copyright (c) 2014-2022 by Plexim GmbH
   All rights reserved.

   A free license is granted to anyone to use this software for any legal
   non safety-critical purpose, including commercial applications, provided
   that:
   1) IT IS NOT USED TO DIRECTLY OR INDIRECTLY COMPETE WITH PLEXIM, and
   2) THIS COPYRIGHT NOTICE IS PRESERVED in its entirety.

   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
   OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
   SOFTWARE.
 */

#ifndef PLX_PWM_IMPL_H_
#define PLX_PWM_IMPL_H_

#include "f2838x_epwm_defines.h"
#include "f2838x_gpio_defines.h"

typedef enum PLX_PWM_UNIT {
    PLX_PWM_EPWM_NONE=0,
	PLX_PWM_EPWM1,
	PLX_PWM_EPWM2,
	PLX_PWM_EPWM3,
	PLX_PWM_EPWM4,
	PLX_PWM_EPWM5,
	PLX_PWM_EPWM6,
	PLX_PWM_EPWM7,
	PLX_PWM_EPWM8,
	PLX_PWM_EPWM9,
	PLX_PWM_EPWM10,
	PLX_PWM_EPWM11,
	PLX_PWM_EPWM12,
    PLX_PWM_EPWM13,
    PLX_PWM_EPWM14,
    PLX_PWM_EPWM15,
    PLX_PWM_EPWM16,
    PLX_PWM_EPWM_MAX_PLUS_ONE
} PLX_PWM_Unit_t;

#include "epwm_type4.h"

#endif /* PLX_PWM_IMPL_H_ */
