uart.h

来自「低速误码仪测试代码」· C头文件 代码 · 共 23 行

H
23
字号
#ifndef UART__H__
#define UART__H__

#include <stdint.h>
#include <avr/io.h>
#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <avr/interrupt.h>


 void Uart_Init(uint16_t UART_BAUD);
 void Uart_Send(uint8_t len);
 void Uart_Recv(uint8_t len);
 uint8_t Is_Recv_Complete(void);
 uint8_t Is_Send_Complete(void);
 SIGNAL(USART_TXC_vect);
 SIGNAL(USART_RXC_vect);
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?