146 #ifndef ti_driver_pwm_PWMTimerCC32XX__include 147 #define ti_driver_pwm_PWMTimerCC32XX__include 176 #define PWMTimerCC32XX_T0A (0x00 << 24) 177 #define PWMTimerCC32XX_T0B (0x01 << 24) 178 #define PWMTimerCC32XX_T1A (0x10 << 24) 179 #define PWMTimerCC32XX_T1B (0x11 << 24) 180 #define PWMTimerCC32XX_T2A (0x20 << 24) 181 #define PWMTimerCC32XX_T2B (0x21 << 24) 182 #define PWMTimerCC32XX_T3A (0x30 << 24) 183 #define PWMTimerCC32XX_T3B (0x31 << 24) 185 #define PWMTimerCC32XX_GPIO0 (0x00 << 16) 186 #define PWMTimerCC32XX_GPIO1 (0x01 << 16) 187 #define PWMTimerCC32XX_GPIO2 (0x02 << 16) 188 #define PWMTimerCC32XX_GPIO3 (0x03 << 16) 189 #define PWMTimerCC32XX_GPIO4 (0x04 << 16) 190 #define PWMTimerCC32XX_GPIO5 (0x05 << 16) 191 #define PWMTimerCC32XX_GPIO6 (0x06 << 16) 192 #define PWMTimerCC32XX_GPIO7 (0x07 << 16) 193 #define PWMTimerCC32XX_GPIO8 (0x10 << 16) 194 #define PWMTimerCC32XX_GPIO9 (0x11 << 16) 195 #define PWMTimerCC32XX_GPIO10 (0x12 << 16) 196 #define PWMTimerCC32XX_GPIO11 (0x13 << 16) 197 #define PWMTimerCC32XX_GPIO12 (0x14 << 16) 198 #define PWMTimerCC32XX_GPIO13 (0x15 << 16) 199 #define PWMTimerCC32XX_GPIO14 (0x16 << 16) 200 #define PWMTimerCC32XX_GPIO15 (0x17 << 16) 201 #define PWMTimerCC32XX_GPIO16 (0x20 << 16) 202 #define PWMTimerCC32XX_GPIO17 (0x21 << 16) 203 #define PWMTimerCC32XX_GPIO18 (0x22 << 16) 204 #define PWMTimerCC32XX_GPIO19 (0x23 << 16) 205 #define PWMTimerCC32XX_GPIO20 (0x24 << 16) 206 #define PWMTimerCC32XX_GPIO21 (0x25 << 16) 207 #define PWMTimerCC32XX_GPIO22 (0x26 << 16) 208 #define PWMTimerCC32XX_GPIO23 (0x27 << 16) 209 #define PWMTimerCC32XX_GPIO24 (0x30 << 16) 210 #define PWMTimerCC32XX_GPIO25 (0x31 << 16) 211 #define PWMTimerCC32XX_GPIO26 (0x32 << 16) 212 #define PWMTimerCC32XX_GPIO27 (0x33 << 16) 213 #define PWMTimerCC32XX_GPIO28 (0x34 << 16) 214 #define PWMTimerCC32XX_GPIO29 (0x35 << 16) 215 #define PWMTimerCC32XX_GPIO30 (0x36 << 16) 216 #define PWMTimerCC32XX_GPIO31 (0x37 << 16) 218 #define PWMTimerCC32XX_GPIONONE (0xFF << 16) 229 #define PWMTimerCC32XX_PIN_01 PWMTimerCC32XX_T3A | PWMTimerCC32XX_GPIO10 | 0x0300 235 #define PWMTimerCC32XX_PIN_02 PWMTimerCC32XX_T3B | PWMTimerCC32XX_GPIO11 | 0x0301 241 #define PWMTimerCC32XX_PIN_17 PWMTimerCC32XX_T0A | PWMTimerCC32XX_GPIO24 | 0x0510 247 #define PWMTimerCC32XX_PIN_19 PWMTimerCC32XX_T1B | PWMTimerCC32XX_GPIO_NONE | 0x0812 253 #define PWMTimerCC32XX_PIN_21 PWMTimerCC32XX_T1A | PWMTimerCC32XX_GPIO25 | 0x0914 259 #define PWMTimerCC32XX_PIN_64 PWMTimerCC32XX_T2B | PWMTimerCC32XX_GPIO9 | 0x033F uint32_t duty
Definition: PWMTimerCC32XX.h:327
PWM_IdleLevel idleLevel
Definition: PWMTimerCC32XX.h:331
bool pwmStarted
Definition: PWMTimerCC32XX.h:332
Power notify object structure.
Definition: Power.h:113
bool isOpen
Definition: PWMTimerCC32XX.h:333
uint32_t pwmPin
Definition: PWMTimerCC32XX.h:316
The definition of a PWM function table that contains the required set of functions to control a speci...
Definition: PWM.h:407
PWMTimerCC32XX Hardware attributes.
Definition: PWMTimerCC32XX.h:315
struct PWMTimerCC32XX_HWAttrsV2 PWMTimerCC32XX_HWAttrsV2
PWMTimerCC32XX Hardware attributes.
const PWM_FxnTable PWMTimerCC32XX_fxnTable
enum PWM_Period_Units_ PWM_Period_Units
PWM period unit definitions. Refer to device specific implementation if using PWM_PERIOD_COUNTS (raw ...
PWMTimerCC32XX Object.
Definition: PWMTimerCC32XX.h:325
enum PWM_IdleLevel_ PWM_IdleLevel
Idle output level when PWM is not running (stopped / not started).
uint32_t period
Definition: PWMTimerCC32XX.h:328
PWM_Period_Units periodUnits
Definition: PWMTimerCC32XX.h:330
struct PWMTimerCC32XX_Object PWMTimerCC32XX_Object
PWMTimerCC32XX Object.
Power_NotifyObj postNotify
Definition: PWMTimerCC32XX.h:326
PWM_Duty_Units dutyUnits
Definition: PWMTimerCC32XX.h:329
enum PWM_Duty_Units_ PWM_Duty_Units
PWM duty cycle unit definitions. Refer to device specific implementation if using PWM_DUTY_COUNTS (ra...