serial.h

来自「这个linux源代码是很全面的~基本完整了~使用c编译的~由于时间问题我没有亲自」· C头文件 代码 · 共 31 行

H
31
字号
/* *  linux/include/asm-arm/arch-anakin/serial.h * *  Copyright (C) 2001 Aleph One Ltd. for Acunia N.V. * * 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. * *  Changelog: *   11-Apr-2001 TTC	Created */#ifndef __ASM_ARCH_SERIAL_H#define __ASM_ARCH_SERIAL_H#include <asm/io.h>#include <asm/irq.h>/* * UART3 and UART4 are not supported yet */#define RS_TABLE_SIZE		3#define STD_SERIAL_PORT_DEFNS	\	{ 0, 0, IO_BASE + UART0, IRQ_UART0, 0 }, \	{ 0, 0, IO_BASE + UART1, IRQ_UART1, 0 }, \	{ 0, 0, IO_BASE + UART2, IRQ_UART2, 0 }#define EXTRA_SERIAL_PORT_DEFNS#endif

⌨️ 快捷键说明

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