_csl_uart.h

来自「dsp在音频处理中的运用」· C头文件 代码 · 共 20 行

H
20
字号
/** =========================================================*   Copyright (c) Texas Instruments Inc 2002, 2003**   Use of this software is controlled by the terms and conditions found*   in the license agreement under which this software has been supplied*   priovided*   ==========================================================*/#ifndef __CSL_UART_H_#define __CSL_UART_H_#define CSL_UART_LCR_STORE(val)         ((val) = (Uint16)hUart->regs->LCR)#define CSL_UART_LCR_RESTORE(val)       (hUart->regs->LCR = (Uint8)(val))#define CSL_UART_SETLCR_BF              (hUart->regs->LCR = (Uint8)(0xBF))#define CSL_UART_SETLCRBIT7_0           CSL_FINSR(hUart->regs->LCR,7,7,0)#define CSL_UART_SETLCRBIT7_1           CSL_FINSR(hUart->regs->LCR,7,7,1)#endif /* __CSL_UART_H_ */

⌨️ 快捷键说明

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