PWM Driver API functions. More...
Functions | |
| tr_hal_status_t | tr_hal_pwm_init (tr_hal_pwm_id_t pwm_id, tr_hal_pwm_settings_t *pwm_settings) |
| tr_hal_status_t | tr_hal_pwm_uninit (tr_hal_pwm_id_t pwm_id) |
| tr_hal_status_t | tr_hal_pwm_settings_read (tr_hal_pwm_id_t pwm_id, tr_hal_pwm_settings_t *pwm_settings) |
| tr_hal_status_t | tr_hal_pwm_start (tr_hal_pwm_id_t pwm_id) |
| tr_hal_status_t | tr_hal_pwm_stop (tr_hal_pwm_id_t pwm_id) |
| tr_hal_status_t | tr_hal_pwm_is_running (tr_hal_pwm_id_t pwm_id, bool *is_running) |
PWM Driver API functions.
| tr_hal_status_t tr_hal_pwm_init | ( | tr_hal_pwm_id_t | pwm_id, |
| tr_hal_pwm_settings_t * | pwm_settings ) |
-— init settings / read settings -—
| tr_hal_status_t tr_hal_pwm_is_running | ( | tr_hal_pwm_id_t | pwm_id, |
| bool * | is_running ) |
| tr_hal_status_t tr_hal_pwm_settings_read | ( | tr_hal_pwm_id_t | pwm_id, |
| tr_hal_pwm_settings_t * | pwm_settings ) |
| tr_hal_status_t tr_hal_pwm_start | ( | tr_hal_pwm_id_t | pwm_id | ) |
-— start / stop / is_running -—
| tr_hal_status_t tr_hal_pwm_stop | ( | tr_hal_pwm_id_t | pwm_id | ) |
| tr_hal_status_t tr_hal_pwm_uninit | ( | tr_hal_pwm_id_t | pwm_id | ) |