| 1234567891011121314151617181920212223242526272829 |
- /*********************************************************************************************************
- * Module : Uart.h
- * Abstract : Uart modules,uart be used to read data from hlw8110. This file content IRQ of usart and
- * ch448f code!
- * Version : 1.0.0
- * Author : Leopul(COPYRIGHT 2025 - 2027 Leopul. All rights reserved.)
- * Complete : 2025-02-16
- * Content : None
- * Note : None
- *********************************************************************************************************/
- #ifndef _UART1_H_
- #define _UART1_H_
- #include <stdio.h>
- #include "stdint.h"
- enum {
- FALSE = 0,
- TRUE,
- };
- void InitUART1(uint32_t bound);
- void InitCH448F(void);
- void Start_Send_UartData(uint8_t len);
- void select_channel(uint8_t chx);
- #endif
|