R01UH0136EJ0210 Rev.2.10
Page 592 of 800
Jul 31, 2012
M16C/64A Group
26. Consumer Electronics Control (CEC) Function
26.2.5
CRFLG (Receive status flag) (b0)
Condition to become 0.
•
Waiting
Condition to become 1.
•
Receiving
•
Error low pulse is being output when the CABTEN bit in the CECC4 register is set to 1 (error low
pulse output enabled).
CRERRFLG (Receive error detect flag) (b2)
Condition to become 0.
•
Set the CRXDEN bit in the CECC3 to 0 (receive disabled).
Condition to become 1.
•
Low or high period of the data bit is out of the acceptable range
CTABTFLG (Arbitration lost detect flag) (b3)
Condition to become 0.
•
Set the CTXDEN bit in the CECC3 register to 0 (transmit disabled).
CTNACKFLG (Transmit NACK detect flag) (b4)
Condition to become 0.
•
Set the CTXDEN bit in the CECC3 register to 0 (transmit disabled).
Symbol
CECFLG
Address
0354h
Reset Value
00h
CEC Flag Register
Bit Symbol
Bit Name
Function
RW
b7 b6 b5 b4 b3
b2 b1 b0
CRFLG
Receive status flag
0: Waiting
1: Receiving
RO
CTFLG
Transmit status flag
0: Waiting
1: Receiving
RO
CRERRFLG
Receive error
detect flag
0: Not detected
1: Error detected (out of the
determinable range)
RO
CTABTFLG
Arbitration lost detect flag
0: Not detected
1: Detected
RO
CTNACKFLG
Transmit NACK detect flag
0: Not detected
1: NACK detected (when transmitting
a directly addressed message)
ACK detected (when broadcasting)
RO
CRD8FLG
8th bit of data receive flag
0: 8th bit not received or
10th bit received
1: 8th bit received
RO
CTD8FLG
8th bit of data transmit flag
0: 8th bit not transmitted or
10th bit transmitted
1: The 8th bit transmitted
RO
CRSTFLG
Start bit detection
0: Start bit not detected or
8th bit received.
1: Start bit detected
RO
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...