bsp_V8M_pwm.h 438 B

123456789101112131415161718192021222324
  1. #ifndef _BSP_V8M_PWM_H_
  2. #define _BSP_V8M_PWM_H_
  3. #include <stdint.h>
  4. #define V8M_PWM_CH1 1
  5. #define V8M_PWM_CH2 2
  6. #define V8M_PWM_CH3 3
  7. #define V8M_PWM_CH4 4
  8. #define V8M_PWM_CH5 5
  9. #define V8M_PWM_CH6 6
  10. #define V8M_PWM_CH7 7
  11. #define V8M_PWM_CH8 8
  12. #define V8M_PWM_CH9 9
  13. #define V8M_PWM_CH10 10
  14. void Bsp_V8M_PwmInit(void);
  15. void Bsp_V8M_PwmSetCHValue(uint8_t chNum , uint16_t value);
  16. uint16_t Bsp_V8M_PwmGetCHValue(uint8_t m_ch);
  17. #endif