Renesas M16C/64A Series User Manual page 618

Table of Contents

Advertisement

M16C/64A Group
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.
Table 26.4
Registers
Address
0350h
CEC Function Control Register 1
0351h
CEC Function Control Register 2
0352h
CEC Function Control Register 3
0353h
CEC Function Control Register 4
0354h
CEC Flag Register
0355h
CEC Interrupt Source Select Register
0356h
CEC Transmit Buffer Register 1
0357h
CEC Transmit Buffer Register 2
0358h
CEC Receive Buffer Register 1
0359h
CEC Receive Buffer Register 2
035Ah
CEC Receive Follower Address Set Register 1
035Bh
CEC Receive Follower Address Set Register 2
0366h
Port Control Register
26.2.1
CEC Function Control Register 1 (CECC1)
CEC Function Control Register 1
b7 b6 b5 b4 b3 b2 b1 b0
0
0 0 0 0
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).
R01UH0136EJ0210 Rev.2.10
Jul 31, 2012
Register
Symbol
CECC1
Bit Symbol
Bit Name
CECEN
CEC enable bit
CCLK0
Clock source select bit
CCLK1
Reserved bits
(b7-b3)
26. Consumer Electronics Control (CEC) Function
Symbol
CECC1
CECC2
CECC3
CECC4
CECFLG
CISEL
CCTB1
CCTB2
CCRB1
CCRB2
CRADRI1
CRADRI2
PCR
Address
0350h
Function
0: Disabled
1: Enabled
b2 b1
0 0 : fC
0 1 : Timer A0 underflow
1 0 : Do not set
1 1 : Do not set
Set to 0. Read as undefined value.
Reset Value
XXXX X000b
00h
XXXX 0000b
00h
00h
00h
00h
XXXX XX00b
00h
XXXX X000b
00h
00h
0000 0XX0b
Reset Value
XXXX X000b
RW
RW
RW
RW
Page 585 of 800

Advertisement

Table of Contents
loading

Table of Contents