⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 serial.h

📁 omap3 linux 2.6 用nocc去除了冗余代码
💻 H
字号:
/* *  linux/include/asm-arm/arch-omap/serial.h * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */#ifndef __ASM_ARCH_SERIAL_H#define __ASM_ARCH_SERIAL_H/* OMAP3 serial ports */#define OMAP_UART1_BASE		0x4806a000#define OMAP_UART2_BASE		0x4806c000#define OMAP_UART3_BASE		0x49020000#define OMAP_MAX_NR_PORTS	3#define OMAP1510_BASE_BAUD	(12000000/16)#define OMAP16XX_BASE_BAUD	(48000000/16)#define is_omap_port(p)	({int __ret = 0;			\			if (p == IO_ADDRESS(OMAP_UART1_BASE) ||	\			    p == IO_ADDRESS(OMAP_UART2_BASE) ||	\			    p == IO_ADDRESS(OMAP_UART3_BASE))	\				__ret = 1;			\			__ret;					\			})#endif

⌨️ 快捷键说明

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