FreeRTOS port on GAP8/RISC-V
|
Data Fields | |
uint32_t | frequency |
uint32_t | nb_open |
pi_task_t * | event_task |
pi_freq_cb_t | pwm_freq_cb |
uint8_t | device_id |
uint8_t | duty_cycle [ARCHI_NB_CHANNEL_PER_PWM] |
uint8_t pwm_data_s::device_id |
PWM timer ID.
Referenced by __pi_pwm_close(), __pi_pwm_duty_cycle_set(), __pi_pwm_freq_cb(), __pi_pwm_open(), and __pi_pwm_user_cb_attach().
uint8_t pwm_data_s::duty_cycle |
Duty cycles.
Referenced by __pi_pwm_duty_cycle_set(), __pi_pwm_freq_cb(), and __pi_pwm_open().
pi_task_t * pwm_data_s::event_task |
Event task attached.
Referenced by __pi_pwm_handler(), __pi_pwm_open(), and __pi_pwm_user_cb_attach().
uint32_t pwm_data_s::frequency |
Frequency set for the timer.
Referenced by __pi_pwm_duty_cycle_set(), __pi_pwm_freq_cb(), __pi_pwm_open(), and __pi_pwm_timer_freq_reset().
uint32_t pwm_data_s::nb_open |
Number of open.
Referenced by __pi_pwm_close(), and __pi_pwm_open().
pi_freq_cb_t pwm_data_s::pwm_freq_cb |
Callback associated to frequency changes.
Referenced by __pi_pwm_close(), and __pi_pwm_open().