Renesas M16C/64C User Manual page 470

Table of Contents

Advertisement

M16C/64C Group
22.3.3.5
Compare Function (PMC0)
Values from registers PMC0CPD and PMC0DAT0 are compared. From the result, reception of the
specified value which is selected from the first 1 to 8 bits of the remote control signal can be detected.
When using the compare function, set the following:
Set the CPEN bit in the PMC0CPC register to 1 (compare enabled).
Select bits to be compared by setting bits CPN2 to CPN0 in the PMC0CPC register (when setting
value is n, bits n to 0 are compared; n: 0 to 7).
Set the compare data in the PMC0CPD register.
When storing received data, if the compared results match, the CPFLG bit in the PMC0STS register
becomes 1 (compare match).
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
22. Remote Control Signal Receiver
Page 437 of 807

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents