R01UH0092EJ0110 Rev.1.10
Page 421 of 807
Jul 31, 2012
M16C/64C Group
22. Remote Control Signal Receiver
See Figure 22.4 “Setting Values of the Header Pattern and Data Patterns”.
When not detecting data 0, set registers PMCiD0PMIN and PMCiD0PMAX to 00h. When not detecting
data 1, set registers PMCiD1PMIN and PMCiD1PMAX to 00h.
When in combined operation, set registers PMC1D0PMIN, PMC1D0PMAX, PMC1D1PMIN, and
PMC1D1PMAX to 00h.
22.2.9
PMCi Measurements Register (PMCiTIM) (i = 0, 1)
When the EN bit in the PMCiCON0 register is 0 (PMCi operation disabled), the PMCiTIM register
becomes 0000h.
22.2.10 PMC0 Receive Bit Count Register (PMC0RBIT)
The bit position of the storing buffer is specified by counting detected data 0 or data 1.
When the receive bit count exceeds 48, it returns to 1. The header and special data are not counted.
The PMC0RBIT register becomes 0 when:
•
The EN bit in the PMC0CON0 register is 0 (PMCi operation disabled).
•
The DRFLG bit in the PMC0STS register changes from 0 to 1.
b7
Symbol
PMC0TIM
PMC1TIM
Address
D089h to D088h
D09Dh to D09Ch
Reset Value
0000h
0000h
b0
Function
RW
PMCi Measurements Register (i = 0, 1)
Measurements of pulse period and pulse width can be read.
RO
b7
b0
(b8)
(b15)
Symbol
PMC0RBIT
Address
D092h
Reset Value
XX00 0000b
Function
RW
PMC0 Receive Bit Count Register
Receive bit count can be read.
RO
No register bit. If necessary, set to 0. Read as undefined value.
—
b7 b6 b5 b4
b1
b2
b3
b0
Summary of Contents for M16C Series
Page 846: ...M16C 64C Group R01UH0092EJ0110...