Les noms de registres (éléments de la structure) sont volontairement
en petits caractères pour pouvoir facilement être copié/collé,
sans prendre la moitié de l'écran ...
Pour les 'Mots entiers', les valeurs correspondent aux valeurs
que l'on utilise pour former le mot. Une valeur ou 0 doit être
pris sur chaque ligne, ou entre chaque signe '|'
Registre
|
Désignation |
Reset Value
|
Valeurs
|
BUS_ADDR->prim_gcontrol |
Contrôle
Bus primaire
Mot entier
|
|
HOLDST | NOHOLD
| HIZ
EXTERNAL_RDY,INTERNAL_RDY,OR_EXT_INT,AND_EXT_INT
WS_0,WS_1,WS_2,WS_3,WS_4,WS_5,WS_6,WS_7
BANK_16M,...,BANK_1M,BANK_512K,...,BANK_1K,BANK_512,BANK_256
|
BUS_ADDR->prim_gcontrol_bit.bnkcmp |
BNKCMP |
256 octets |
Bank compare This 5-bit field specifies
the number of MSBs of the address to be used to define the bank
size.
BANK_SIZE_16M,...,BANK_SIZE_1M,BANK_SIZE_512K,...,BANK_SIZE_1K,
BANK_SIZE_512,...,BANK_SIZE_256 |
BUS_ADDR->prim_gcontrol_bit.hiz |
HIZ |
0 |
Internal hold When set (HIZ = 1),
the port is put in hold mode. This is equivalent to the external
HOLD signal. By forcing the high-impedance condition, the C3x
can relinquish the external memory port through software. HOLDA goes
low when theport is placed in the high impendance state. (STRB0 control
register only) |
BUS_ADDR->prim_gcontrol_bit.holdst |
HOLDST |
0 |
Hold status bit This bit signals
whether the port is being held (HOLDST = 1), or is not being held
(HOLDST = 1). This status bit is valid whether the port has been held
through hardware or software.(STRB0 control register only) |
BUS_ADDR->prim_gcontrol_bit.nohold |
NOHOLD |
0 |
Port hold signal NOHOLD allows or
disallows the port to be held by an external HOLD signal. When NOHOLD
= 1, the C3x takes over the external bus and controls it, regardless
of serviced or pending requests by external devices. No hold acknowledge
(HOLDA) is asserted when a HOLD is received. However, it is asserted
if an internal hold is generated (HIZ = 1). (STRB0 control register
only) |
BUS_ADDR->prim_gcontrol_bit.sww |
SWW |
Ext
&Int Ready |
Software wait mode In conjunction
with WTCNT, this 2-bit field defines the mode
of wait-state generation.
EXT_RDY,INT_RDY,OR_RDY(Int or Ext),AND_RDY(Int
& Axt) |
BUS_ADDR->prim_gcontrol_bit.wtcnt |
WTCNT |
7 WS |
Software wait mode This 3-bit field
specifies the number of cycles to use when
in the software wait mode for the generation of internal wait state.
The range is 0 (WTCNT = 0 0 0) to 7 (WTCNT = 111) H1/H3 cycles.
WAIT_0,WAIT_1,WAIT_2,WAIT_3,WAIT_4,WAIT_5,WAIT_6,WAIT_7 |
BUS_ADDR->exp_gcontrol |
Contrôle Bus Extension
|
|
EXTERNAL_RDY,INTERNAL_RDY,OR_EXT_INT,AND_EXT_INT
WS_0,WS_1,WS_2,WS_3,WS_4,WS_5,WS_6,WS_7
|
BUS_ADDR->exp_gcontrol_bit.sww |
|
Ext
&Int Ready |
Software wait mode
EXT_RDY,INT_RDY,OR_RDY(Int or Ext),AND_RDY(Int
& Axt) |
BUS_ADDR->exp_gcontrol_bit.wtcnt |
|
7 WS |
Software wait mode
WAIT_0,WAIT_1,WAIT_2,WAIT_3,WAIT_4,WAIT_5,WAIT_6,WAIT_7 |
Registre
|
Désignation |
Reset Value
|
Valeurs
|
SERIAL_PORT_ADDR(n)->gcontrol |
Global Control Register
|
|
RRDY |
XRDY |
FSXOUT | XSREMPTY
| RSRFULL |
HS |
XCLKSRCE |
RCLKSRCE | XVAREN |
RVAREN |
XFSM | RFSM
| CLKXP |
CLKRP |
DXP | DRP
| FSXP |
FSRP
XLEN_8,XLEN_16,XLEN_24,XLEN_32
RLEN_8,RLEN_16,RLEN_24,RLEN_32
XTINT | XINT
| RTINT |
RINT |
XRESET | RRESET
|
SERIAL_PORT_ADDR(n)->gcontrol_bit.clkrp |
CLKR |
0 |
CLKR polarity If CLKRP = 0, CLKR
is active (high). If CLKRP = 1, CLKR is active (low). |
SERIAL_PORT_ADDR(n)->gcontrol_bit.clkxp |
CLKX |
0 |
CLKX polarity If CLKXP = 0, CLKX
is active high. If CLKXP = 1, CLKX is active low. |
SERIAL_PORT_ADDR(n)->gcontrol_bit.drp |
DRP |
0 |
DR polarity If DRP = 0, DR is active
(high). If DRP = 1, DR is active (low). |
SERIAL_PORT_ADDR(n)->gcontrol_bit.dxp |
DXP |
0 |
DX polarity If DXP = 0, DX is active
(high). If DXP = 1, DX is active (low). |
SERIAL_PORT_ADDR(n)->gcontrol_bit.fsrp |
FSRP |
0 |
FSR polarity If FSRP = 0, FSR is active
(high). If FSRP = 1, FSR is active (low). |
SERIAL_PORT_ADDR(n)->gcontrol_bit.fsxp |
FSXP |
0 |
FSX polarity If FSXP = 0, FSX is active
(high). If FSXP = 1, FSX is active (low). |
SERIAL_PORT_ADDR(n)->gcontrol_bit.fsxout |
FSXOUT |
|
Transmit frame sync configuration
FSXOUT = 0 configures the FSX pin as an input. FSXOUT = 1 configures
the FSX pin as an output. |
SERIAL_PORT_ADDR(n)->gcontrol_bit.hs |
HS |
0 |
Handshake If HS = 1, the handshake
mode is enabled. If HS = 0, the handshake mode is disabled. |
SERIAL_PORT_ADDR(n)->gcontrol_bit.rclksrce |
RCLK_SRCE |
0 |
Receive clock source If RCLK SRCE
= 1, the internal receive clock is used. If RCLK SRCE = 0, the external
receive clock is used. |
SERIAL_PORT_ADDR(n)->gcontrol_bit.rfsm |
RFSM |
0 |
Receive frame sync mode Configures
the port for continuous mode operation or standard
mode operation.If RFSM = 1 (continuous mode), only the first word
of a block generates a sync pulse, and the rest are received continuously
to the end of the block.
If RFSM = 0 (standard mode), each word received has an associated
sync pulse. |
SERIAL_PORT_ADDR(n)->gcontrol_bit.rint |
RINT |
0 |
Receive interrupt enable If RINT
= 0, the receive interrupt is disabled. If RINT = 1, the receive interrupt
is enabled. Note: The CPU receive interrupt flag RINT and the serial-port-
to-DMA interrupt (ERINT0 in the IE register) are the OR of the enabled
receive timer interrupt and the enabled receive interrupt. |
SERIAL_PORT_ADDR(n)->gcontrol_bit.rlen |
RLEN |
8 bits |
Receive word length These two bits define the
word length of serial data received.
All data is right justified in the receive buffer.
EIGHT_BITS,SIXTEEN_BITS,TWENTY_FOUR_BITS,THIRTY_TWO_BITS
|
SERIAL_PORT_ADDR(n)->gcontrol_bit.rrdy |
RRDY |
0 |
Receive ready flag If RRDY = 1, the
receive buffer has new data and is ready to be read. A three H1/H3
cycle delay occurs from the loading of DRR to RRDY = 1. The rising
edge of this signal sets RINT. If RRDY = 0, the receive buffer does
not have new data since the last read. RRDY = 0 at reset and after
the receive buffer is read. |
SERIAL_PORT_ADDR(n)->gcontrol_bit.rreset |
RRESET |
0 |
Peripherals Receive reset If RRESET
= 0, the receive side of the serial port is reset.
To take the receive side of the serial port out of reset, set RRE-SET
to 1.
Do not set RRESET to 1 until at least three cycles after RESET goes
inactive. This applies only to system reset. Setting RRESET to 0 does
not change the contents of any of the serial-port control registers.
It places the receiver in a state corresponding to the beginning of
a frame of data. Reset this bit at the same time that the mode of
the receiver is set. You can toggle without resetting the global-control
register. |
SERIAL_PORT_ADDR(n)->gcontrol_bit.rsrfull |
RSRFULL |
0 |
Receive-shift register full flag
If RSRFULL = 1, an overrun of the receiver has occurred. In
continuous mode, RSRFULL is set to 1 when both RSR and DRR are full.
In noncontinuous mode, RSRFULL is set to 1 when RSR and DRR are full
and a new FSR is received. A read causes this bit to be set to 0.
This bit can be set to 0 only by a system reset, a serial-port receive
reset (RRESET = 1), or a read. When the receiver tries to set RSRFULL
to 1 at the same time that the global register is read, the receiver
dominates, and RSRFULL is set to 1. If RSRFULL = 0, no overrun of
the receiver has occurred. |
SERIAL_PORT_ADDR(n)->gcontrol_bit.rtint |
RTINT |
0 |
Receive timer interrupt enable If
RTINT = 0, the receive timer interrupt is disabled. If RTINT = 1,
the receive timer interrupt is enabled. |
SERIAL_PORT_ADDR(n)->gcontrol_bit.rvaren |
RVAREN |
0 |
Receive data rate mode Specifies
a fixed or variable data rate mode when receiving. If RVAREN = 0 (fixed
data rate), FSX is active for at least one RCLK cycle and then goes
inactive before reception begins. If RVAREN = 1 (controlled data rate),
FSX is active while all bits are being received. |
SERIAL_PORT_ADDR(n)->gcontrol_bit.xclksrce |
XCLK SRCE |
0 |
Transmit clock source If XCLK SRCE
= 1, the internal transmit clock is used. If XCLK SRCE = 0, the external
transmit clock is used. |
SERIAL_PORT_ADDR(n)->gcontrol_bit.xfsm |
XFSM |
0 |
Transmit frame sync mode Configures
the port for continuous mode operation or standard
mode operation. If XFSM = 1 (continuous mode), only the first word
of a block generates a sync pulse, and the rest are transmitted continuously
to the end of the block.
If XFSM = 0 (standard mode), each word has an associated sync pulse. |
SERIAL_PORT_ADDR(n)->gcontrol_bit.xint |
XINT |
0 |
Transmit interrupt enable If XINT
= 0, the transmit interrupt is disabled. If XINT = 1, the transmit
interrupt is enabled. Note: The CPU receive flag XINT and the serial-port-to-DMA
interrupt (EXINT0 in the IE register) is the OR of the enabled transmit
timer interrupt and the enabled transmit interrupt. |
SERIAL_PORT_ADDR(n)->gcontrol_bit.xlen |
XLEN |
8 bits |
Transmit word length These two bits define the
word length of serial data trans-mitted. All data is assumed to be
right justified in the transmit buffer when fewer than 32 bits are
specified.
EIGHT_BITS,SIXTEEN_BITS,TWENTY_FOUR_BITS,THIRTY_TWO_BITS
|
SERIAL_PORT_ADDR(n)->gcontrol_bit.xrdy |
XRDY |
1 |
Transmit ready flag If XRDY = 1,
the transmit buffer has written the last bit of data to the shifter
and is ready for a new word. A three H1/H3 cycle delay occurs from
the loading of the transmit shifter until XRDY is set to 1. The rising
edge of this signal sets XINT. If XRDY = 0, the transmit buffer has
not written the last bit of data to the transmit shifter and is not
ready for a new word. |
SERIAL_PORT_ADDR(n)->gcontrol_bit.xreset |
XRESET |
0 |
Transmit reset If XRESET = 0, the
transmit side of the serial port is reset. To take the transmit side
of the serial port out of reset, set XRESET to 1. Do not set XRESET
to 1 until at least three cycles after RESET goes inactive. This applies
only to system reset. Setting XRESET to 0 does not change the contents
of any of the serial-port control registers. It places the transmitter
in a state corresponding to the beginning of a frame of data. Resetting
the transmitter generates
a transmit interrupt. Reset this bit during the time the mode of the
transmitter is set. You can toggle XFSM without resetting the global-control
register. |
SERIAL_PORT_ADDR(n)->gcontrol_bit.xsrempty |
XSREMPTY |
0 |
Transmit-shift register empty flag
If XSREMPTY = 0, the transmit-shift register is empty. If XSREMPTY
= 1, the transmit-shift register is not empty. Reset or XRESET causes
this bit to = 0. |
SERIAL_PORT_ADDR(n)->gcontrol_bit.xtint |
XTINT |
0 |
Transmit timer interrupt enable If
XTINT = 0, the transmit timer interrupt is disabled. If XTINT = 1,
the transmit timer interrupt is enabled. |
SERIAL_PORT_ADDR(n)->gcontrol_bit.xvaren |
XVAREN |
0 |
Transmit data rate mode Specifies
a fixed or variable data rate mode when transmitting. With a fixed
data rate, FSX is active for at least one XCLK cycle and then goes
inactive before transmission begins. With variable data rate, FSX
is active while all bits are being transmitted. When you use an external
FSX and variable data rate signaling, the DX pin is driven by the
transmitter when FSX is held active or when a word is being shifted
out. |
SERIAL_PORT_ADDR(n)->s_r_control |
FSR/DR/CLKR Port Control Register
|
0 |
CLKRFUNC |
CLKRI_O |
CLKRDATOUT |
CLKRDATIN |
DRFUNC |
DRI_O |
DRDATOUT |
DRDATIN |
FSRFUNC |
FSRI_O |
FSRDATOUT |
FSRDATIN |
SERIAL_PORT_ADDR(n)->s_r_control_bit.clkdati |
CLKR DATIN |
x |
Clock receive data input Data input
on CLKR when configured as general-purpose input.
A write has no effect. |
SERIAL_PORT_ADDR(n)->s_r_control_bit.clkdato |
CLKR DATOUT |
0 |
Clock receive data output Data output
on CLKR when configured as general-purpose
output. |
SERIAL_PORT_ADDR(n)->s_r_control_bit.clkfunc |
CLKR FUNC |
0 |
Clock receive function Controls the
function of CLKR. If CLKR FUNC = 0, CLKR is configured as a general-purpose
digital I/O port.If CLKR FUNC = 1, CLKR is configured as a serial
port pin. |
SERIAL_PORT_ADDR(n)->s_r_control_bit.clki_o |
CLKR I/O |
0 |
Clock receive input/output mode If
CLKR I/O = 0, CLKR is configured as a general-purpose input pin. If
CLKR I/O = 1, CLKR is configured as a general-purpose output pin. |
SERIAL_PORT_ADDR(n)->s_r_control_bit.ddatin |
DR DATIN |
x |
DR data input Data input on DR when configured
as general-purpose input. A write has no effect. |
SERIAL_PORT_ADDR(n)->s_r_control_bit.ddatout |
DR DATOUT |
0 |
DR data output Data output on DR when configured
as general-purpose output. |
SERIAL_PORT_ADDR(n)->s_r_control_bit.dfunc |
DR FUNC |
0 |
DR function Controls the function
of DR. If DR FUNC = 0, DR is configured as a general-purpose digital
I/O port. If DR FUNC = 1, DR is configured as a serial port pin. |
SERIAL_PORT_ADDR(n)->s_r_control_bit.di_o |
DR I/O |
0 |
DR input/output mode If DR I/O = 0,
DR is configured as a general-purpose input pin. If DR I/O = 1, DR
is configured as a general-purpose output pin. |
SERIAL_PORT_ADDR(n)->s_r_control_bit.fsdatin |
FSR DATIN |
x |
FSR data input Data input on FSR when configured
as general-purpose input. A write has no effect. |
SERIAL_PORT_ADDR(n)->s_r_control_bit.fsdatout |
FSR DATOUT |
0 |
FSR data output Data output on FSR when configured
as general-purpose output. |
SERIAL_PORT_ADDR(n)->s_r_control_bit.fsfunc |
FSR FUNC |
0 |
FSR function FSR FUNC controls the
function of FSR. If FSR FUNC = 0, FSR is configured as a general-purpose
digital I/O port. If FSR FUNC = 1, FSR is configured as a serial port
pin. |
SERIAL_PORT_ADDR(n)->s_r_control_bit.fsi_o |
FSR I/O |
0 |
FSR input/output mode If FSR I/O
= 0, FSR is configured as a general-purpose input
pin. If FSR I/O = 1, FSR is configured as a general-purpose output
pin. |
SERIAL_PORT_ADDR(n)->s_x_control |
FSX/DX/CLKX Port Control Register
|
|
CLKXFUNC |
CLKXI_O |
CLKXDATOUT |
CLKXDATIN |
DXFUNC |
DXI_O |
DXDATOUT |
DXDATIN |
FSXFUNC |
FSXI_O |
FSXDATOUT |
FSXDATIN |
SERIAL_PORT_ADDR(n)->s_x_control_bit.clkdati |
CLKX DATIN |
x |
Clock transmit data input Data input
on CLKX when configured as general-purpose input.
A write has no effect. |
SERIAL_PORT_ADDR(n)->s_x_control_bit.clkdato |
CLKX DATOUT |
0 |
Clock transmit data output Data output
on CLKX when configured as general-purpose
output. |
SERIAL_PORT_ADDR(n)->s_x_control_bit.clkfunc |
CLKX FUNC |
0 |
Clock transmit function Controls
the function of CLKX. If CLKX FUNC = 0, CLKX is configured as a general-purpose
digital I/O port.If CLKX FUNC = 1, CLKX is configured as a serial
port pin. |
SERIAL_PORT_ADDR(n)->s_x_control_bit.clki_o |
CLKX I/O |
0 |
Clock transmit input/output mode
If CLK I/O = 0, CLK is configured as a general-purpose input pin.
If CLK I/O = 1, CLK is configured as a general-purpose output pin. |
SERIAL_PORT_ADDR(n)->s_x_control_bit.ddatin |
DX DATIN |
x |
DX data input Data input on DX when configured
as general-purpose input. A write has no effect. |
SERIAL_PORT_ADDR(n)->s_x_control_bit.ddatout |
DX DATOUT |
0 |
DX data output Data output on DX when configured
as general-purpose output. |
SERIAL_PORT_ADDR(n)->s_x_control_bit.dfunc |
DX FUNC |
0 |
DR function Controls the function
of DR. If DR FUNC = 0, DR is configured as a general-purpose digital
I/O port. If DR FUNC = 1, DR is configured as a serial port pin. |
SERIAL_PORT_ADDR(n)->s_x_control_bit.di_o |
DX I/O |
0 |
DX input/output mode If DX I/O = 0,
DX is configured as a general-purpose input pin. If DX I/O = 1, DX
is configured as a general-purpose output pin. |
SERIAL_PORT_ADDR(n)->s_x_control_bit.fsdatin |
FSX DATIN |
x |
FSX data input Data input on FSX when configured
as general-purpose input. A write has no effect. |
SERIAL_PORT_ADDR(n)->s_x_control_bit.fsdatout |
FSX DATOUT |
0 |
FSW data output Data output on FSX when configured
as general-purpose output. |
SERIAL_PORT_ADDR(n)->s_x_control_bit.fsfunc |
FSX FUNC |
0 |
FSX function FSX FUNC controls the
function of FSW. If FSW FUNC = 0, FSW is configured as a general-purpose
digital I/O port. If FSW FUNC = 1, FSW is configured as a serial port
pin. |
SERIAL_PORT_ADDR(n)->s_x_control_bit.fsi_o |
FSX I/O |
0 |
FSW input/output mode If FSX I/O
= 0, FSX is configured as a general-purpose input
pin. If FSX I/O = 1, FSX is configured as a general-purpose output
pin. |
SERIAL_PORT_ADDR(n)->s_rxt_control |
Rx/Tx
Timer Control Register
|
|
XGO |
XHLD_ |
XCP_ |
XCLKSRC |
XTSTAT |
RGO |
RHLD_ |
RCP_ |
RCLKSRC
RSTAT |
SERIAL_PORT_ADDR(n)->s_rxt_control_bit.rclksrc |
RCLKSRC |
0 |
Receive timer clock source Specifies
the source of the receive timer clock. When RCLKSRC = 1, an internal
clock with frequency equal to one-half the CLKOUT frequency is used
to increment the counter. When RCLKSRC = 0, you can use an external
signal from
the CLKR pin to increment the counter. The external clock source is
synchronized internally, allowing for external asynchronous clock
sources that do not exceed the speci-fied maximum allowable external
clock frequency (that is, less than f(H1)/2.6). |
SERIAL_PORT_ADDR(n)->s_rxt_control_bit.rcp_ |
RC/P |
0 |
Rclock/pulse mode control When RC/P
= 1, the clock mode is chosen. The signaling of the status flag and
external output has a 50% duty cycle. When RC/P = 0, the status flag
and external output are active for one CLKOUT cycle during each timer
period. |
SERIAL_PORT_ADDR(n)->s_rxt_control_bit.rgo |
RGO |
0 |
Receive timer counter restart Resets
and starts the receive timer counter. When RGO is set to 1 and the
timer is not held, the counter is zeroed and begins incrementing on
the next rising edge of the timer input clock. The RGO bit is cleared
on the same rising edge. Writing 0
to RGO has no effect on the receive timer. |
SERIAL_PORT_ADDR(n)->s_rxt_control_bit.rhld_ |
RHLD |
0 |
Receive counter hold signal If RHLD
= 0, the counter is disabled and held in its current
state. If RHLD = 1, the internal divide-by-2 counter is also held
so that the counter will continue where it left off. You can read
and modify the timer registers while the timer is being held. RESET
has priority over RHLD. |
SERIAL_PORT_ADDR(n)->s_rxt_control_bit.rtstat |
RTSTAT |
0 |
Receive timer status Indicates the
status of the receive timer. It tracks what would be the output of
the uninverted CLKR pin. This flag sets a CPU interrupt on a transition
from 0 to 1. A write has no effect. |
SERIAL_PORT_ADDR(n)->s_rxt_control_bit.xclksrc |
XCLKSRC |
0 |
Transmit clock source Specifies the
source of the transmit timer clock. When XCLKSRC = 1, an internal
clock with frequency equal to one-half the CLKOUT frequency is used
to increment the counter. When XCLKSRC = 0, you can use an external
signal from the CLKX pin to increment the counter. The external clock
source is synchronized internally, thus allowing for external asynchronous
clock sources that do not exceed the specified maximum allowable external
clock frequency, that is, less than f(H1)/2.6. |
SERIAL_PORT_ADDR(n)->s_rxt_control_bit.xcp_ |
XC/P |
0 |
Peripherals Transmit clock/pulse mode
control When XC/P = 1, the clock mode is chosen. The signaling
of the status flag and external output has a 50 percent duty cycle.
When XC/P = 0, the status flag and external output are active for
one CLKOUT cycle during each timer period. |
SERIAL_PORT_ADDR(n)->s_rxt_control_bit.xgo |
XGO |
0 |
Transmit timer counter restart Resets
and restarts the transmit timer counter. If XGO = 1 and the timer
is not held, the counter is zeroed and begins incrementing on the
next rising edge of the timer input clock. The XGO bit is cleared
on the same rising edge. Writing 0 to XGO has no effect on the transmit
timer. |
SERIAL_PORT_ADDR(n)->s_rxt_control_bit.xhld_ |
XHLD |
0 |
Transmit counter hold signal If XHLD
= 0, the counter is disabled and held in its current
state. If XHLD = 1, the internal divide-by-two counter is also held
so that the counter continues where it left off. |
SERIAL_PORT_ADDR(n)->s_rxt_control_bit.xtstat |
XTSTAT |
0 |
Transmit timer status Indicates the
status of the transmit timer. It tracks what would be the output of
the uninverted CLKX pin. This flag sets a CPU interrupt on a transition
from 0 to 1. A write has no effect. |
SERIAL_PORT_ADDR(n)->s_rxt_counter |
Rx/Tx Counter |
|
|
SERIAL_PORT_ADDR(n)->s_rxt_counter_bit.r_counter |
|
|
Receive counter |
SERIAL_PORT_ADDR(n)->s_rxt_counter_bit.x_counter |
|
|
Transmit counter |
SERIAL_PORT_ADDR(n)->s_rxt_period |
Rx/Tx Period |
|
|
SERIAL_PORT_ADDR(n)->s_rxt_period_bit.r_period |
|
|
Receive period |
SERIAL_PORT_ADDR(n)->s_rxt_period_bit.x_period |
|
|
Transmit period |
SERIAL_PORT_ADDR(n)->r_data |
Rx Data |
|
|
SERIAL_PORT_ADDR(n)->x_data |
Tx Data |
|
|