R01UH0092EJ0110 Rev.1.10
Page 423 of 807
Jul 31, 2012
M16C/64C Group
22. Remote Control Signal Receiver
22.2.12 PMC0 Compare Control Register (PMC0CPC)
CPN2-CPN0 (Compare bit specify bit) (b2-b0)
These bits are enabled when the CPEN bit is 1 (compare enabled).
When the setting value of bits CPN2 to CPN0 is n, bits n to 0 are compared.
e.g.1 Setting value = 0
Bit 0 in the PMC0CPD register and bit 0 in the PMC0DAT0 register are compared.
e.g.2 Setting value = 7
Bits 7 to 0 in the PMC0CPD register and bits 7 to 0 in the PMC0DAT0 register are compared.
CPEN (Compare enable bit) (b4)
When the CPEN bit is 1 (compare enabled), values from registers PMC0CPD and PMC0DAT0 are
compared.
When storing received data, if the compared results match, the CPFLG bit in the PMC0STS register
becomes 1 (compare match).
b7 b6 b5 b4
b1
b2
b3
Symbol
PMC0CPC
Address
01F6h
Reset Value
XXX0 X000b
b0
Function
Bit Symbol
Bit Name
RW
PMC0 Compare Control Register
Compare bit specify bit
CPN0
RW
CPN1
RW
CPN2
RW
0: Compare disabled
1: Compare enabled
Compare enable bit
CPEN
RW
—
(b3)
No register bit. If necessary, set to 0. Read as undefined value.
When the setting value is n, bits n to
0 are compared.
—
—
(b7-b5)
No register bits. If necessary, set to 0. Read as undefined value.
—
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...