Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
|
- #ifndef _UART_INTERRUPT_H_
- #define _UART_INTERRUPT_H_
-
-
- /*****************宏定义*************************/
- #define DEMO_UART UART2 // 选择串口UART2
- #define BOARD_DEBUG_UART_BAUDRATE 115200 //设置波特率115200
- #define DEMO_RING_BUFFER_SIZE 64 //UART接收缓存
- #define DEMO_UART2_ARR_SIZE 64 //UART2发送数组大小
- #define DEMO_RS485_ARR_SIZE 64 //RS485缓存数组大小
-
- /*****************函数声明*************************/
- void UART2_InterrputInit(); //UART2串口初始化
- void UART1_InterrputInit(); //UART0串口初始化
- void UART1_sendData(); //UART1发送1帧数据
- void UART2_sendData(); //UART2发送数组
- void RS485_Recieve_Data(); //RS485接收数据
- void ADC16_Recieve_Data(); //转换发送的电压数值
-
-
- #endif
|