(3) Data format
The data format is fixed as follows:
•
Data length: 8 bits
•
Parity bits: none
•
Stop bits: 1 bit
(4) SFR
Figure 3.9.27 shows the control register SIRCR. Set SIRCR data while SIO0 is
stopped. The following example describes how to set this register:
1) SIO setting
↓
2) LD
(SIRCR), 07H
3) LD
(SIRCR), 37H
↓
4) Start transmission
and receiving for SIO0
;
Set the SIO to UART mode.
;
Set the receive data pulse width to 16×.
;
TXEN, RXEN Enable the transmission and receiving.
;
The modem operates as follows:
• SIO0 starts transmitting.
• IR receiver starts receiving.
92CH21-187
TMP92CH21
2009-06-19