uart.h 312 B

12345678910111213141516171819202122
  1. #ifndef __UART_H_
  2. #define __UART_H_
  3. #include "stdint.h"
  4. void ch448f_config(void);
  5. void select_channel(unsigned char chx);
  6. void uart1_config(unsigned int bound);
  7. void Start_Send_UartData(unsigned char len);
  8. uint32_t read_voltage(uint8_t channel);
  9. void Awaken_Hlw8110(void);
  10. #endif