HPM APP
HPMicro Application solution
uart_init.h File Reference
#include "board.h"

Go to the source code of this file.

Macros

#define BOARD_UART   HPM_UART5
 UART BASE ;串口基地址 More...
 
#define BOARD_UART_CLOCK   clock_uart5
 UART clock ;串口时钟 More...
 

Typedefs

typedef enum _tag_DataTrans DataTrans
 uart status ;串口读写状态 More...
 

Functions

void uart_pins_init (void)
 uart pins init ;串口引脚初始化 More...
 
void uart_cfg (void)
 uart config ;串口配置 More...
 
void uart_trans_pro (void)
 uart trans data process ;串口传输过程 More...
 
void sendDataToPC (void)
 send data ;数据包发送 More...
 

Variables

int8_t pt_send [5]