![]() |
![]() |
TI-RTOS Drivers
tidrivers_full_2_20_01_10
|
PWMTimerTiva Hardware attributes. More...
#include <PWMTimerTiva.h>
Data Fields | |
uint32_t | timerBaseAddr |
uint16_t | halfTimer |
uint32_t | pinTimerPwmMode |
uint32_t | gpioBaseAddr |
uint8_t | gpioPinIndex |
PWMTimerTiva Hardware attributes.
These fields are used by driverlib APIs and therefore must be populated by driverlib macro definitions. For TivaWare these definitions are found in:
A sample structure is shown below:
uint32_t PWMTimerTiva_HWAttrsV1::timerBaseAddr |
< Timer peripheral base address Half-timer to generate outputs (ex.: TIMER_A or TIMER_B)
uint16_t PWMTimerTiva_HWAttrsV1::halfTimer |
Timer output pin mode (ex.: GPIO_PA0_T0CCP0, GPIO_PA1_T0CCP1, etc.)
uint32_t PWMTimerTiva_HWAttrsV1::pinTimerPwmMode |
GPIO port base address for the device pin.
uint32_t PWMTimerTiva_HWAttrsV1::gpioBaseAddr |
GPIO port pin index (ex.: GPIO_PIN_0, GPIO_PIN_4, etc.)
uint8_t PWMTimerTiva_HWAttrsV1::gpioPinIndex |