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

📄 serial.h

📁 CAN总线设备驱动
💻 H
字号:
/* * include/asm-arm/arch-s3c2410/serial.h * * All this is intended to be used with a 16550-like UART on the PCMCIA bus. * It has nothing to do with the SA1100's internal serial ports. * This is included by serial.c -- serial_s3c2410.c makes no use of it. *//* * This assumes you have a 1.8432 MHz clock for your UART. * * It'd be nice if someone built a serial card with a 24.576 MHz * clock, since the 16550A is capable of handling a top speed of 1.5 * megabits/second; but this requires the faster clock. */#define BASE_BAUD ( 1843200 / 16 )/* Standard COM flags */#define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)/* * Rather empty table... * Hardwired serial ports should be defined here. * PCMCIA will fill it dynamically. */#if defined(CONFIG_SMDK_THREEWATER1)#define RS_TABLE_SIZE 1#define STD_SERIAL_PORT_DEFNS	\       /* UART	CLK     	PORT			IRQ			FLAGS		*/ \	{ 0,	BASE_BAUD,	CX06883_BASE,	IRQ_16550A,	ASYNC_BOOT_AUTOCONF}   \#define EXTRA_SERIAL_PORT_DEFNS #else#define RS_TABLE_SIZE 4#define STD_SERIAL_PORT_DEFNS	\       /* UART	CLK     	PORT		IRQ	FLAGS		*/ \	{ 0,	BASE_BAUD,	0, 		0,	STD_COM_FLAGS },   \	{ 0,	BASE_BAUD,	0, 		0,	STD_COM_FLAGS },   \	{ 0,	BASE_BAUD,	0, 		0,	STD_COM_FLAGS },   \	{ 0,	BASE_BAUD,	0, 		0,	STD_COM_FLAGS }#define EXTRA_SERIAL_PORT_DEFNS#endif /*defined(CONFIG_SMDK_THREEWATER1)*/

⌨️ 快捷键说明

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