22 iR ReMOTe COnTROlleR (ReMC)
S1C17624/604/622/602/621 TeChniCal Manual
Seiko epson Corporation
22-1
IR Remote Controller (REMC)
22
ReMC Module Overview
22.1
The S1C17624/604/622/602/621 includes an IR remote controller (REMC) module for transmitting/receiving infra-
red remote control communication signals.
The following shows the features of the REMC module:
• Supports input and output infrared remote control communication signals.
• Includes a carrier generator for generating a carrier signal.
• Includes an 8-bit down-counter for counting the transfer data length.
• Includes a modulator for generating transmission data of the specified carrier length.
• Includes an edge detector for detecting input signal rising and falling edges.
• Can generate counter underflow interrupts indicating that the specified data length has been sent and input rising/
falling edge detection interrupts for data receive processing.
Figure 22.1.1 shows the configuration of the REMC module.
Carrier generator
Internal bus
IR remote controller
Bus I/F
and
control
registers
Data length counter
REMO
REMI
Edge detector
Modulator
Interrupt
control
PCLK
CLG
Divider
(1/1–1/16K)
ITC
1.1 REMC Module Configuration
Figure 22.
ReMC input/Output Pins
22.2
Table 22.2.1 lists the REMC input/output pins.
2.1 List of REMC Pins
Table 22.
Pin name
i/O
Qty
Function
REMI
I
1
Remote control receive data input pin
Inputs receive data.
REMO
O
1
Remote control transmit data output pin
Outputs modulated remote control transmit data.
The REMC input/output pins (REMI, REMO) are shared with I/O ports and are initially set as general purpose I/O
port pins. The pin functions must be switched using the port function select bits to use the general purpose I/O port
pins as REMC input/output pins.
For detailed information on pin function switching, see the “I/O Ports (P)” chapter.
Carrier Generation
22.3
The REMC module includes a carrier generator that generates a carrier signal for transmission in accordance with
the clock set by software and carrier H and L section lengths.