R01UH0136EJ0210 Rev.2.10
Page 585 of 800
Jul 31, 2012
M16C/64A Group
26. Consumer Electronics Control (CEC) Function
26.2
Registers
The CEC function's bits and registers are synchronized with the count source. Register values change
immediately after being rewritten by a program, while the internal circuit starts operating from the next
count source timing.
26.2.1
CEC Function Control Register 1 (CECC1)
CECEN (CEC enable bit) (b0)
Set the CECEN bit to 1 (enabled) when the count source is selected by using bits CCLK1 to CCLK0
and the count source is stable.
When the CECEN bit is set to 0 (disabled), the circuit of the CEC function is reset.
CCLK1 to CCLK0 (Clock source select bit) (b2-b1)
Change the clock source when the CECEN bit is set 0 (CEC disabled).
Table 26.4
Registers
Address
Register
Symbol
Reset Value
CEC Function Control Register 1
CEC Function Control Register 2
CEC Function Control Register 3
CEC Function Control Register 4
CEC Interrupt Source Select Register
CEC Transmit Buffer Register 1
CEC Transmit Buffer Register 2
CEC Receive Follower Address Set Register 1
CEC Receive Follower Address Set Register 2
0 0 0 0
Symbol
CECC1
Address
0350h
Reset Value
XXXX X000b
0
CEC Function Control Register 1
Bit Symbol
Bit Name
Function
RW
CECEN
CEC enable bit
0: Disabled
1: Enabled
RW
b2 b1
0 0 : fC
0 1 : Timer A0 underflow
1 0 : Do not set
1 1 : Do not set
Clock source select bit
RW
—
(b7-b3)
Reserved bits
Set to 0. Read as undefined value.
RW
b7 b6 b5 b4 b3
b2 b1 b0
CCLK0
CCLK1
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...