serial.h

来自「上传linux-jx2410的源代码」· C头文件 代码 · 共 52 行

H
52
字号
/* *  linux/include/asm-arm/arch-pxa/serial.h *  * Author:	Nicolas Pitre * Copyright:	(C) 2001 MontaVista Software Inc. *  * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */#define BAUD_BASE	921600/* Standard COM flags */#define STD_COM_FLAGS (ASYNC_SKIP_TEST)#define STD_SERIAL_PORT_DEFNS	\	{	\		type:			PORT_PXA,	\		xmit_fifo_size:		32,		\		baud_base:		BAUD_BASE,	\		iomem_base:		(void *)&FFUART,\		iomem_reg_shift:	2,		\		io_type:		SERIAL_IO_MEM32,\		irq:			IRQ_FFUART,	\		flags:			STD_COM_FLAGS,	\	}, {	\		type:			PORT_PXA,	\		xmit_fifo_size:		32,		\		baud_base:		BAUD_BASE,	\		iomem_base:		(void *)&BTUART,\		iomem_reg_shift:	2,		\		io_type:		SERIAL_IO_MEM32,\		irq:			IRQ_BTUART,	\		flags:			STD_COM_FLAGS,	\	}, {	\		type:			PORT_PXA,	\		xmit_fifo_size:		32,		\		baud_base:		BAUD_BASE,	\		iomem_base:		(void *)&STUART,\		iomem_reg_shift:	2,		\		io_type:		SERIAL_IO_MEM32,\		irq:			IRQ_STUART,	\		flags:			STD_COM_FLAGS,	\	}#define RS_TABLE_SIZE 8#define EXTRA_SERIAL_PORT_DEFNS

⌨️ 快捷键说明

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