serial.h
来自「Linux Kernel 2.6.9 for OMAP1710」· C头文件 代码 · 共 51 行
H
51 行
/* * 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. */#include <asm/arch/pxa-regs.h>#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: 64, \ baud_base: BAUD_BASE, \ iomem_base: &FFUART, \ iomem_reg_shift: 2, \ io_type: SERIAL_IO_MEM, \ irq: IRQ_FFUART, \ flags: STD_COM_FLAGS, \ }, { \ type: PORT_PXA, \ xmit_fifo_size: 64, \ baud_base: BAUD_BASE, \ iomem_base: &STUART, \ iomem_reg_shift: 2, \ io_type: SERIAL_IO_MEM, \ irq: IRQ_STUART, \ flags: STD_COM_FLAGS, \ }, { \ type: PORT_PXA, \ xmit_fifo_size: 64, \ baud_base: BAUD_BASE, \ iomem_base: &BTUART, \ iomem_reg_shift: 2, \ io_type: SERIAL_IO_MEM, \ irq: IRQ_BTUART, \ flags: STD_COM_FLAGS, \ }#define EXTRA_SERIAL_PORT_DEFNS
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?