Texas Instruments TMS320C3x User Manual

Page 400

Advertising
background image

Serial Ports

12-21

Peripherals

Table 12–2. Serial-Port Global-Control Register Bits Summary (Continued)

Abbreviation

Description

Name

Reset

Value

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.

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.

RRESET

0

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.

Advertising