#include <T32CM11_pwm.h>
Data Fields | |
| tr_hal_gpio_pin_t | pin_to_use |
| tr_hal_pwm_clk_select_t | clock_to_use |
| tr_hal_pwm_clk_div_t | clock_divider |
| uint16_t | end_count |
| uint16_t | threshhold |
PWM settings struct - this is passed to tr_hal_pwm_init
| tr_hal_pwm_clk_div_t tr_hal_pwm_settings_t::clock_divider |
| tr_hal_pwm_clk_select_t tr_hal_pwm_settings_t::clock_to_use |
| uint16_t tr_hal_pwm_settings_t::end_count |
| tr_hal_gpio_pin_t tr_hal_pwm_settings_t::pin_to_use |
| uint16_t tr_hal_pwm_settings_t::threshhold |