17 IR REMOTE CONTROLLER (REMC3)
S1C17M20/M21/M22/M23/M24/M25
Seiko Epson Corporation
17-9
TECHNICAL MANUAL (Rev. 1.0)
Before the counter can start counting by this bit, the REMDBCTL.MODEN bit must be set to 1.
While the counter is running, writing 0 to the REMDBCTL.PRUN bit stops count operations. When
the counter stops by occurrence of a compare DB in one-shot mode, this bit is automatically cleared to 0.
Bits 7–5
Reserved
Bit 4
REMOINV
This bit inverts the REMO output signal.
1 (R/W): Inverted
0 (R/W): Non-inverted
For more information, see Figure 17.4.3.1.
Bit 3
BUFEN
This bit enables or disables the compare buffers.
1 (R/W): Enable
0 (R/W): Disable
For more information, refer to “Continuous Data Transmission and Compare Buffers.”
Note
: The REMDBCTL.BUFEN bit must be set to 0 when setting the data signal duty and cycle for
the first time.
Bit 2
TRMD
This bit selects the operation mode of the 16-bit counter for data signal generation.
1 (R/W): One-shot mode
0 (R/W): Repeat mode
For more information, refer to “REMO Output Waveform, Data signal.”
Bit 1
REMCRST
This bit issues software reset to the REMC3.
1 (W):
Issue software reset
0 (W):
Ineffective
1 (R):
Software reset is executing.
0 (R):
Software reset has finished. (During normal operation)
Setting this bit resets the REMC3 internal counters and interrupt flags. This bit is automatically
cleared after the reset processing has finished.
Bit 0
MODEN
This bit enables the REMC3 operations.
1 (R/W): Enable REMC3 operations (The operating clock is supplied.)
0 (R/W): Disable REMC3 operations (The operating clock is stopped.)
Note
: If the REMDBCTL.MODEN bit is altered from 1 to 0 while sending data, the data being sent
cannot be guaranteed. When setting the REMDBCTL.MODEN bit to 1 again after that, be
sure to write 1 to the REMDBCTL.REMCRST bit as well.
REMC3 Data Bit Counter Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
REMDBCNT
15–0 DBCNT[15:0]
0x0000 H0/S0
R
Cleared by writing 1 to the
REMDBCTL.REMCRST bit.
Bits 15–0 DBCNT[15:0]
The current value of the 16-bit counter for data signal generation can be read out through these bits.