CHAPTER 4 DESCRIPTION OF FUNCTIONS
User’s Manual S19262EJ3V0UM
41
4.6 IR Encoder/Decoder Functions
EM1 incorporates an IrDA SIR (2.4 to 115.2 kbps) encoder/decoder (IR encoder/decoder). Figure 4-1 shows a
block diagram of the IR encoder/decoder.
The IR transmission/reception mode is entered when bit 0 (IR_MODE) of the IRCR0 register is set to 1. (The IR
encoder/decoder is inserted into the data path used for transmission and reception via the UARTx_SIN and
UARTx_SOUT pins.)
Figure 4-1. IR Encoder/Decoder Block Diagram
Receive
shift register
(RSR)
Sel
0
XIN
RZI-to-NRZ
converter
Receive pulse
detector
Enable
Receive data mask
controller
1
0
1
UARTx_SIN
UARTx_SOUT
IR decoder
IRCR1
(PULSE_WIDTH[7:0])
IRCR0
(IR_RXPSEL)
IRCR0 (IR_RXEN)
IRCR0 (IR_MASK_OFF)
IRCR4, IRCR3, IRCR2
(MASK_PERIOD[19:0])
XIN
NRZ-to-RZI
converter
0
1
IR encoder
0
1
Sel
IRCR0 (IR_TXPSEL)
Sel
Sel
IRCR0 (IR_MODE)
Transmit
shift register
(TSR)
Baud rate
generator
XIN
16x clock
16x clock
MON_TXPSEN
MON_IRDAON
BAUDOUT
16x clock
Содержание EMMA Mobile 1
Страница 4: ...User s Manual S19262EJ3V0UM 2 MEMO...