uart.h

来自「一个LCD驱动程序」· C头文件 代码 · 共 24 行

H
24
字号
//*****************************************************************************
//
//  File........: UART.h
//
//  Author(s)...: ATMEL Norway
//
//  Target(s)...: ATmega169
//
//  Description.: Defines and prototypes for UART.C
//
//  Revisions...: 1.0
//
//  YYYYMMDD - VER. - COMMENT                                       - SIGN.
//
//  20021015 - 1.0  - File created                                  - LHM
//
//*****************************************************************************

//  Function declarations
    void UART_init(unsigned char);              //initialize the UART
    void Send_TX_data(void);                    //prepare a trasmission-packet in the transmit-buffer
    void Store_RX_data(void);                   //store data from receive-buffer to SRAM
    unsigned char HEX2ASCII(unsigned char);     //converts one hex-byte in to 2 or 3 ASCII bytes

⌨️ 快捷键说明

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