📄 uart.h
字号:
//-----------------------------------------------------------------------------
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -