InPlay API
|
HAL_CNT_PWM. More...
Functions | |
void * | hal_cnt_pwm_open (int id, int port, int pin, int prio) |
Open counter PWM. More... | |
void | hal_cnt_pwm_close (void *hdl) |
Close counter PWM. More... | |
int | hal_cnt_pwm_enable (void *hdl, uint32_t period_usec, uint32_t high_usec) |
Enable PWM. More... | |
int | hal_cnt_pwm_disable (void *hdl) |
Disable PWM. More... | |
HAL_CNT_PWM.
void hal_cnt_pwm_close | ( | void * | hdl | ) |
Close counter PWM.
[in] | hdl | Counter PWM device handle. |
int hal_cnt_pwm_disable | ( | void * | hdl | ) |
Disable PWM.
[in] | hdl | Counter PWM device handle. |
int hal_cnt_pwm_enable | ( | void * | hdl, |
uint32_t | period_usec, | ||
uint32_t | high_usec | ||
) |
Enable PWM.
[in] | hdl | Counter PWM device handle. |
[in] | period_usec | PWM period |
[in] | high_usec | PWM high time |
void* hal_cnt_pwm_open | ( | int | id, |
int | port, | ||
int | pin, | ||
int | prio | ||
) |
Open counter PWM.
[in] | id | Timer id |
[in] | port | PWM output port, |
[in] | pin | PWM output pin, |
[in] | prio | Counter interrupt priority. |