Datasheet

Section 15 Serial Communication Interface (SCI, IrDA)
Rev. 4.00 Sep 27, 2006 page 452 of 1130
REJ09B0327-0400
15.2.11 Keyboard Comparator Control Register (KBCOMP)
7
IrE
0
R/W
6
IrCKS2
0
R/W
5
IrCKS1
0
R/W
4
IrCKS0
0
R/W
3
KBADE
0
R/W
0
KBCH0
0
R/W
2
KBCH2
0
R/W
1
KBCH1
0
R/W
Bit
Initial value
Read/Write
KBCOMP is an 8-bit readable/writable register that selects the functions of SCI2 and the A/D
converter.
KBCOMP is initialized to H'00 by a reset and in hardware standby mode.
Bit 7—IrDA Enable (IrE): Specifies normal SCI operation or IrDA operation for SCI2
input/output.
Bit 7
IrE Description
0 The TxD2/IrTxD and RxD2/IrRxD pins function as TxD2 and RxD2 (Initial value
)
1 The TxD2/IrTxD and RxD2/IrRxD pins function as IrTxD and IrRxD
Bits 6 to 4—IrDA Clock Select 2 to 0 (IrCKS2 to IrCKS0): These bits specify the high pulse
width in IrTxD output pulse encoding when the IrDA function is enabled.
Bit 6 Bit 5 Bit 4
IrCKS2 IrCKS1 IrCKS0 Description
000B × 3/16 (3/16 of the bit rate) (Initial value)
1 φ/2
10φ/4
1 φ/8
100φ/16
1 φ/32
10φ/64
1 φ/128
Bits 3 to 0—Keyboard Comparator Control: See the description in section 20, A/D converter.