PCI Express Boards
Programming Guide
6-4
UART Register Structure for MUE250, MUE450,
and MUE850 chips
There are 512 bytes for each UART register and 0x200 offset between each port. However, there is one
exception, for the models which are 4-port boards, such as
CP-104EL-A
,
CP-114EL
,
CP-114EL-I
, and
CP-134EL-A
, the offset of the fourth UART register is 0xE00.
NOTE
For a detailed description of the UART register, please see the UART Datasheet section..
UART register address = I/O base a (port-1) * 0x200
For example, if the base address is 0x200:
The first port’s UART register’s I/O address is 0x200 + (1-1) * 0x200 = 0x200
The first register’s I/O address is 0x200,
The second register’s I/O address is 0x201, …..
The second port’s UART register’s I/O address is 0x200 + (2-1) * 0x200 = 0x400
The first register’s I/O register is 0x400,
The second register’s I/O register is 0x401, …..
NOTE
For CP-104EL-A, CP-114EL, CP-114EL-I, and CP-134EL-A only:
1st port’s UART register address
= I/O base address
2nd port’s UART register address = I/O base a 1 * 0x200
3rd port’s UART register address = I/O base a 2 * 0x200
4th port’s UART register address
= I/O base a 7 * 0x200
Registers for 4 ports
Registers for 8 ports
www.ipc2u.ru
www.ipc2u.com
www.moxa.pro