1
0

pwm.h 494 B

1234567891011121314151617181920212223242526272829
  1. /**
  2. @copyright None
  3. @file pwm.h
  4. @author Comment Vivre
  5. @date 2025-12-19
  6. @brief None
  7. */
  8. #ifndef __PWM_H_
  9. #define __PWM_H_
  10. #include <FU65_72.h>
  11. typedef struct
  12. {
  13. uint8_t UpdateFlag;
  14. uint16_t TimerDR;
  15. uint16_t TimerARR;
  16. uint16_t TimerDROld;
  17. uint16_t TimerARROld;
  18. uint16_t OutFreq;
  19. uint16_t OutDuty;
  20. } Input_Capture_t;
  21. extern Input_Capture_t xdata inputCapture;
  22. void Input_Capture_Calc(void);
  23. #endif