R01UH0092EJ0110 Rev.1.10
Page 586 of 807
Jul 31, 2012
M16C/64C Group
26. Consumer Electronics Control (CEC) Function
26.2.2
CEC Function Control Register 2 (CECC2)
Do not write to the CECC2 register while transmitting/receiving.
CTNACK (Transmit NACK (ACK) end select bit) (b1)
This bit is enabled when the CTACKEN bit is set to 1 (end with NACK/ACK).
CTACKEN (Transmit NACK (ACK) end control bit) (b2)
Select the end condition by using the CTNACK bit when the CTACKEN bit is 1 (end with NACK/ACK).
CRACK (ACK output control bit) (b3)
When the CRACK bit is set 0 (inserted by program), the value of the CCRBAO bit in the CCRB2
register is output as ACK data.
When the CRACK bit is set to 1 (inserted by hardware), ACK is output if the received Destination
address matches the address selected by the CRADRI1 or CRADRI2 register. Table 26.5 lists ACK
Output When Inserted by Hardware.
Transmit NACK (ACK) end
select bit
Symbol
CECC2
Address
0351h
Reset Value
00h
CEC Function Control Register 2
Bit Symbol
Bit Name
Function
RW
CRRNG
Receive edge detection
select bit
0: Detects falling edge acceptable
range
1: Detects both edges acceptable
range
RW
b7 b6 b5 b4 b3
b2 b1 b0
0: End with ACK
1: End with NACK
RW
CRACK
ACK output control bit
0: Inserted by program
1: Inserted by hardware
RW
CTABTS
Arbitration lost detect
condition select bit
0: When transmitting start bit and
Initiator address
1: When transmitting start bit and all
data bits
RW
CFIL
Digital filter enable bit
0: Filter disabled
1: Filter enabled
RW
CSTRRNG
Start bit acceptable range
select bit
0: ±200 µs
1: ±300 µs
RW
CDATRNG
Data bit acceptable range
select bit
0: Period between falling edge and
rising edge ± 200 µs
Period between falling edge and
falling edge ± 350 µs
1: Period between falling edge and
rising edge ± 300 µs
Period between falling edge and
falling edge ± 500 µs
RW
CTNACK
CTACKEN
Transmit NACK (ACK) end
control bit
0: Continue transmitting
1: End with NACK/ACK
RW
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...