15 IR REMOTE CONTROLLER (REMC2)
15-10
Seiko Epson Corporation
S1C17M12/M13 TECHNICAL MANUAL
(Rev. 1.2)
REMC2 Data Bit Active Pulse Length Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
REMAPLEN
15–0 APLEN[15:0]
0x0000
H0
R/W Writing enabled when REMDBCTL.
MODEN bit = 1.
Bits 15–0 APLEN[15:0]
These bits set the active pulse length of the data signal (high period when the REMDBCTL.RE-
MOINV bit = 0 or low period when the REMDBCTL.REMOINV bit = 1).
The REMO pin output is set to the active level from the 16-bit counter for data signal genera-
tion = 0x0000 and it is inverted to the inactive level when the counter exceeds the REMAPLEN.
APLEN[15:0] bit-setting value. The data signal duty ratio is determined by this setting and the REM-
DBLEN.DBLEN[15:0] bit-setting. (See Figure 15.4.3.3.)
Before this register can be rewritten, the REMDBCTL.MODEN bit must be set to 1.
REMC2 Data Bit Length Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
REMDBLEN
15–0 DBLEN[15:0]
0x0000
H0
R/W Writing enabled when REMDBCTL.
MODEN bit = 1.
Bits 15–0 DBLEN[15:0]
These bits set the data length of the data signal (length of one cycle).
A data signal cycle begins with the 16-bit counter for data signal generation = 0x0000 and ends when
the counter exceeds the REMDBLEN.DBLEN[15:0] bit-setting value. (See Figure 15.4.3.3.)
Before this register can be rewritten, the REMDBCTL.MODEN bit must be set to 1.
REMC2 Status and Interrupt Flag Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
REMINTF
15–11 –
0x00
–
R
–
10 DBCNTRUN
0
H0/S0
R
Cleared by writing 1 to the
REMDBCTL.REMCRST bit.
9
DBLENBSY
0
H0
R
Effective when the REMDBCTL.
BUFEN bit = 1.
8
APLENBSY
0
H0
R
7–2 –
0x00
–
R
–
1
DBIF
0
H0/S0
R/W Cleared by writing 1 to this bit or the
REMDBCTL.REMCRST bit.
0
APIF
0
H0/S0
R/W
Bits 15–11 Reserved
Bit 10
DBCNTRUN
This bit indicates whether the 16-bit counter for data signal generation is running or not. (See Figure
15.4.4.1.)
1 (R):
Running (Counting)
0 (R):
Idle
Bit 9
DBLENBSY
This bit indicates whether the value written to the REMDBLEN.DBLEN[15:0] bits is transferred to
the REMDBLEN buffer or not. (See Figure 15.4.4.1.)
1 (R):
Transfer to the REMDBLEN buffer has not completed.
0 (R):
Transfer to the REMDBLEN buffer has completed.
While this bit is set to 1, writing to the REMDBLEN.DBLEN[15:0] bits is ineffective.
Bit 8
APLENBSY
This bit indicates whether the value written to the REMAPLEN.APLEN[15:0] bits is transferred to
the REMAPLEN buffer or not. (See Figure 15.4.4.1.)
1 (R):
Transfer to the REMAPLEN buffer has not completed.
0 (R):
Transfer to the REMAPLEN buffer has completed.