Appiko
|
Struct for initializing the hal pwm module. More...
#include <hal_pwm.h>
Data Fields | |
uint32_t * | pins |
Pointer to array containing the pins number used by hal pwm. | |
bool * | pin_idle_state |
Pointer to array having the state of pins when PWM generation isn't on. | |
uint32_t | pin_num |
Number of pins to be used by hal pwm. Maximum is HAL_PWM_MAX_PIN_NUM. | |
hal_pwm_freq_t | oper_freq |
Select the operating frequency of the hal pwm module. | |
hal_pwm_mode_t | oper_mode |
Select the operating mode (Up or Up&Down) of the module's counter. | |
uint32_t | irq_priority |
IRQ priority with which the irq_handler in hal_pwm_start_t is called. | |