Renesas M16C/64A Series User Manual page 625

Table of Contents

Advertisement

M16C/64A Group
26.2.5
CEC Flag Register (CECFLG)
CEC Flag Register
b7 b6 b5 b4 b3 b2 b1 b0
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).
R01UH0136EJ0210 Rev.2.10
Jul 31, 2012
Symbol
CECFLG
Bit Symbol
Bit Name
CRFLG
Receive status flag
CTFLG
Transmit status flag
Receive error
CRERRFLG
detect flag
CTABTFLG
Arbitration lost detect flag
CTNACKFLG Transmit NACK detect flag
CRD8FLG
8th bit of data receive flag
CTD8FLG
8th bit of data transmit flag
CRSTFLG
Start bit detection
26. Consumer Electronics Control (CEC) Function
Address
0354h
Function
0: Waiting
1: Receiving
0: Waiting
1: Receiving
0: Not detected
1: Error detected (out of the
determinable range)
0: Not detected
1: Detected
0: Not detected
1: NACK detected (when transmitting
a directly addressed message)
ACK detected (when broadcasting)
0: 8th bit not received or
10th bit received
1: 8th bit received
0: 8th bit not transmitted or
10th bit transmitted
1: The 8th bit transmitted
0: Start bit not detected or
8th bit received.
1: Start bit detected
Reset Value
00h
RW
RO
RO
RO
RO
RO
RO
RO
RO
Page 592 of 800

Advertisement

Table of Contents
loading

Table of Contents