R01UH0092EJ0110 Rev.1.10
Page 595 of 807
Jul 31, 2012
M16C/64C Group
26. Consumer Electronics Control (CEC) Function
26.2.9
CEC Receive Buffer Register 1 (CCRB1)
Read the CCRB1 register after receiving the eighth bit (the CRD8FLG bit in the CECFLG register
changes from 0 to 1).
26.2.10 CEC Receive Buffer Register 2 (CCRB2)
CCRBE (Receive data EOM bit) (b0)
Read the CCRBE bit after receiving the tenth bit (ACK bit) (the CRD8FLG bit in the CECFL register
changes from 1 to 0).
CCRBAO (Receive data ACK output bit) (b1)
The CCRBAO bit is enabled when the CRACK bit in the CECC2 register is 0 (inserted by program).
Rewrite the CCRBAO bit when the CRXDEN bit in the CECC3 register is 0 (receive disabled), or the
CRXDEN bit is 1 and the start bit to EOM bit are being received. Do not rewrite the CCRBAO bit
when the ACK bit is being transmitted.
CCRBAI (Receive data ACK input bit) (b2)
Read the CCRBAI bit after the tenth bit (ACK bit) is received (the CRD8FLG bit in the CECFL register
changes from 1 to 0).
Symbol
CCRB1
Address
0358h
Reset Value
00h
CEC Receive Buffer Register 1
Function
RW
Reads the receive data.
RO
b7
b0
Symbol
CCRB2
Address
0359h
Reset Value
XXXX X000b
CEC Receive Buffer Register 2
Bit Symbol
Bit Name
Function
RW
b7 b6 b5 b4 b3
b2 b1 b0
CCRBE
Receive data EOM bit
0: Data block continues
1: Data block ends
RO
CCRBAO
Receive data ACK output
bit
0: ACK output
1: NACK output
RW
CCRBAI
Receive data ACK input bit
0: ACK input
1: NACK input
—
(b7-b3)
No register bits. If necessary, set to 0. Read as undefined value
RO
—
Summary of Contents for M16C Series
Page 846: ...M16C 64C Group R01UH0092EJ0110...