uart.h
来自「Discription: This multi-master driver pr」· C头文件 代码 · 共 34 行
H
34 行
//-----------------------------------------------------------------------------
// program name : UART0.h
// author(s) :
// version number :
// first created : Mon Jul 2 08:00:00 CEST 2001
// last modified :
// copyright : (C) 2001 by Lightmaze AG (All Rights Reserved)
//
// This program is the confidential intellectual property of Lightmaze AG.
// Unauthorized use or distribution of this work with restricted access is
// strictly prohibited.
//
//-----------------------------------------------------------------------------
// purpose : RS232 via UART0
//-----------------------------------------------------------------------------
#ifndef __UART0_h
#define __UART0_h
#include "Types/Basetypes.h"
// UART0
#define RX_RS232_UART0 P6_2
#define RX_RS232_UART0_DIR PD6_2
#define TX_RS232_UART0 P6_3
#define TX_RS232_UART0_DIR PD6_3
// UART1
#define RX_RS232_UART1 P6_6
#define RX_RS232_UART1_DIR PD6_6
#define TX_RS232_UART1 P6_7
#define TX_RS232_UART1_DIR PD6_7
#endif // __UART0_h
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?