1234567891011121314151617181920212223242526 |
- #ifndef __PWM_OUT_H
- #define __PWM_OUT_H
- typedef enum
- {
- PWM_OUT_CH_1 = 1,
- PWM_OUT_CH_2,
- PWM_OUT_CH_3,
- PWM_OUT_CH_4,
- PWM_OUT_CH_MAX,
-
- } pwm_out_ch;
- //
- void tim_pwm_out_init(void);
- //
- void tim_pwm_out_set_pulse(pwm_out_ch channel, uint16_t pulse);
- //
- void tim_pwm_pulse_idle(void);
- #endif
|