|
SmartSnippets DA1459x SDK
|
Timer PWM configuration. More...
#include <hw_timer.h>
Data Fields | |
| HW_GPIO_PIN | pin |
| HW_GPIO_PORT | port |
| bool | pwm_active_in_sleep |
| uint16_t | frequency |
Timer PWM configuration.
| uint16_t timer_config_pwm::frequency |
Defines the PWM duty cycle. duty_cycle / ( frequency + 1)
| HW_GPIO_PIN timer_config_pwm::pin |
Defines the pin of the GPIO with PWM function
| HW_GPIO_PORT timer_config_pwm::port |
Defines the port of the GPIO with PWM function When true, Timer or Timer2 will keep PWM output on P1_01 or P1_06, respectively, during deep sleep
| bool timer_config_pwm::pwm_active_in_sleep |
Defines the PWM frequency. Timer clock frequency / (frequency + 1)
1.8.16