R01UH0136EJ0210 Rev.2.10
Page 610 of 800
Jul 31, 2012
M16C/64A Group
26. Consumer Electronics Control (CEC) Function
Figure 26.15 Transmission Example
Header block
Data block
IR bit in the
CEC1IC register
CTD8FLG bit
CTFLG bit
CTXDEN bit
CEC
ST
H6
H1
H0
ACK
D7
D6
D1
D0
ACK
H7
EOM
EOM
Set to 0 by
a program
Data block ACK
CCTB1 register
CCTBA bit
Bits CTXDEN and CRXDEN: Bits in the CECC3 register
Bits CTFLG, CTD8FLG, CRFLG, CRD8FLG, and CRSTFLG: Bits in the CECFLG register
Bits CCTBE and CCTBA: Bits in the CCTB2 register
Bits CCRBE and CCRBAI: Bits in the CCRB2 register
CCTBE bit
Set to 0 by a program
IR bit in the
CEC2IC register
CRSTFLG bit
CRFLG bit
CRXDEN bit
The above diagram applies under the following conditions:
y
The CTISEL0 bit in the CISEL register is set to 1 (8th bit transmit interrupt enabled).
y
The CTISEL1 bit in the CISEL register is set to 0 (10th bit transmit interrupt disabled).
y
The CEOMI bit in the CECC3 register is set to 0 (EOM enabled).
y
The CFIL bit in the CECC2 register is set to 0 (filter disabled).
y
The CRISEL0 bit in the CISEL register is set to 0 (8th bit receive interrupt disabled).
y
The CRISEL1 bit in the CISEL register is set to 1 (10th bit receive interrupt enabled).
y
The CRISELS bit in the CISEL register is set to 1 (reception start bit interrupt enabled).
Undefined
Header block data
Set to 0 by acceptance of an
interrupt or by a program
Data block data
Undefined
Header block EOM
Data block EOM
Undefined
Header block ACK
CRD8FLG bit
CCRB1 register
CCRBE bit
CCRBAI bit
Data block ACK
(Do not rewrite)
(Do not rewrite)
(Do not rewrite)
(Do not rewrite)
Undefined
Header block ACK
Rewritable period by
a program
Rewritable period
by a program
Rewritable period
by a program
Transmission starts at the rising
edge of the count source
Rewritable period
by a program
Rewritable period
by a program
Rewritable period
by a program
1
0
Set to 0 by acceptance of
an interrupt or by a program
Set to 0 by acceptance of
an interrupt or by a program
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...