Uart1.h 778 B

1234567891011121314151617181920212223242526272829
  1. /*********************************************************************************************************
  2. * Module : Uart.h
  3. * Abstract : Uart modules,uart be used to read data from hlw8110. This file content IRQ of usart and
  4. * ch448f code!
  5. * Version : 1.0.0
  6. * Author : Leopul(COPYRIGHT 2025 - 2027 Leopul. All rights reserved.)
  7. * Complete : 2025-02-16
  8. * Content : None
  9. * Note : None
  10. *********************************************************************************************************/
  11. #ifndef _UART1_H_
  12. #define _UART1_H_
  13. #include <stdio.h>
  14. #include "stdint.h"
  15. enum {
  16. FALSE = 0,
  17. TRUE,
  18. };
  19. void InitUART1(uint32_t bound);
  20. void InitCH448F(void);
  21. void Start_Send_UartData(uint8_t len);
  22. void select_channel(uint8_t chx);
  23. #endif