PWMTimerMSP432 Hardware attributes. More...
#include <PWMTimerMSP432.h>
Data Fields | |
uint16_t | clockSource |
uint32_t | pwmPin |
PWMTimerMSP432 Hardware attributes.
The 'clockSource' field is used by driverlib APIs and therefore must be populated by driverlib macro definitions. For msp432_driverlib these definitions are found in:
The 'pwmPin' field identifies which physical pin as well as which timer compare register to use for a particular PWM channel. The encoded pin identifier for initializing the 'pwmPin' field must be selected from the PWMTimerMSP432_HWAttrs 'pwmPin' field options macros.
A sample structure is shown below:
uint16_t PWMTimerMSP432_HWAttrsV2::clockSource |
TIMER A Clock Source (see timer_a.h for options)
uint32_t PWMTimerMSP432_HWAttrsV2::pwmPin |
Pin to output PWM signal on (see PWMTimerMSP432_HWAttrs 'pwmPin' field options)