18 IR REMOTE CONTROLLER (REMC3)
S1C31D50/D51 TECHNICAL MANUAL
Seiko Epson Corporation
18-11
(Rev. 2.00)
Bits 7–2
Reserved
Bit 1
DBIF
Bit 0
APIF
These bits indicate the REMC3 interrupt cause occurrence status.
1 (R):
Cause of interrupt occurred
0 (R):
No cause of interrupt occurred
1 (W):
Clear flag
0 (W):
Ineffective
The following shows the correspondence between the bit and interrupt:
REMC3INTF.DBIF bit: Compare DB interrupt
REMC3INTF.APIF bit: Compare AP interrupt
These interrupt flags are also cleared to 0 when 1 is written to the REMC3DBCTL.REMCRST bit.
REMC3 Interrupt Enable Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
REMC3INTE
15–8 –
0x00
–
R
–
7–2 –
0x00
–
R
1
DBIE
0
H0
R/W
0
APIE
0
H0
R/W
Bits 15–2 Reserved
Bit 1
DBIE
Bit 0
APIE
These bits enable REMC3 interrupts.
1 (R/W): Enable interrupts
0 (R/W): Disable interrupts
The following shows the correspondence between the bit and interrupt:
REMC3INTE.DBIE bit: Compare DB interrupt
REMC3INTE.APIE bit: Compare AP interrupt
REMC3 Carrier Waveform Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
REMC3CARR
15–8 CRDTY[7:0]
0x00
H0
R/W –
7–0 CRPER[7:0]
0x00
H0
R/W
Bits 15–8 CRDTY[7:0]
These bits set the high level period of the carrier signal.
The carrier signal is set to high level from the 8-bit counter for carrier generation = 0x00 and it is in-
verted to low level when the counter exceeds the REMC3CARR.CRDTY[7:0] bit-setting value. The
carrier signal duty ratio is determined by this setting and the REMC3CARR.CRPER[7:0] bit-setting.
(See Figure 18.4.3.2.)
Bits 7–0
CRPER[7:0]
These bits set the carrier signal cycle.
A carrier signal cycle begins with the 8-bit counter for carrier generation = 0x00 and ends when the
counter exceeds the REMC3CARR.CRPER[7:0] bit-setting value. (See Figure 18.4.3.2.)
REMC3 Carrier Modulation Control Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
REMC3CCTL
15–9 –
0x00
–
R
–
8
OUTINVEN
0
H0
R/W
7–1 –
0x00
–
R
0
CARREN
0
H0
R/W