页 1-60
NetMos
技术
Nm9835
pci + 双 uart 和 1284 printer 端口
rev. 1.0
uart 寄存器 表格
Ex A2 A1 A0 寄存器 位-7 位-6 位-5 位-4 位-3 位-2 位-1 位-0
Ex 0 0 0 RHR 位-7 位-6 位-5 位-4 位-3 位-2 位-1 位-0
Ex 0 0 0 THR 位-7 位-6 位-5 位-4 位-3 位-2 位-1 位-0
Ex 0 0 1 IER 0 0 电源 睡眠 modem receive transmit receive
向下 模式 状态 线条 支持 支持
中断 状态 寄存器 寄存器
中断
Ex 0 1 0 FCR RCVR RCVR 0 0 DMA XMIT RCVR 先进先出
触发 触发 模式 先进先出 先进先出 使能
(msb) (lsb) 选择 重置 重置
Ex 0 1 0 IIR 0/ 0/ 0 0 int int int int
先进先出 先进先出 priority priority priority 状态
使能 使能 位-2 位-1 位-0
Ex 0 1 1 LCR divisor 设置 设置 甚至 parity 停止 文字 文字
获得 破裂 parity parity 使能 位 长度 长度
使能 位-1 位-0
Ex 1 0 0 MCR 0 0 流动 循环 INT (nop1) nRTS nDTR
控制 后面的 使能
(nop2)
Ex 1 0 1 LSR 0/ trans. trans. 破裂 framing parity overrun receive
先进先出 empty 支持 中断 错误 错误 错误 数据
错误 empty 准备好
Ex 1 1 0 MSR nCD nRI nDSR nCTS delta delta delta delta
nCD nRI nDSR nCTS
Ex 1 1 1 SPR 位-7 位-6 位-5 位-4 位-3 位-2 位-1 位-0
Ex
0 0 0 DLL 位-7 位-6 位-5 位-4 位-3 位-2 位-1 位-0
Ex
0 0 1 DLM 位-15 位-14 位-13 位-12 位-11 位-10 位-9 位-8
dll 和 dlm 是 accessible 仅有的 当 lcr 位-7=1.
e1: 内部的 uart-一个 碎片 选择
e2: 内部的 uart-b 碎片 选择