22 REMOTE CONTROLLER (REMC)
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
22-1
Remote Controller (REMC)
22
REMC Module Overview
22.1
The S1C33L26 incorporates a remote controller (REMC) module for generating infrared remote control communi-
cation signals.
The following shows the features of the REMC module:
• Supports input and output infrared remote control communication signals.
• Incorporates a carrier generator for generating a carrier signal using the prescaler output clock.
• Incorporates an 8-bit down-counter for counting the transfer data length.
• Incorporates a modulator for generating transmission data of the specified carrier length.
• Incorporates an edge detector for detecting input signal rising and falling edges.
• Can generate counter underflow interrupts indicating that the specified data length has been transmitted 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
Remote controller
Bus I/F
and
control
registers
Data length counter
REMC_O
REMC_I
Edge detector
Modulator
Interrupt
control
PCLK2/1–PCLK2/16K
Prescaler
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
REMC_I
I
1
Remote control receive data input pin
Inputs receive data.
REMC_O
O
1
Remote control transmit data output pin
Outputs modulated remote control transmit data.
The REMC input/output pins (REMC_I, REMC_O) 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 (GPIO)”
chapter.
Carrier Generation
22.3
The REMC module incorporates 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.
The prescaler (PSC Ch.1) output clock is used for the carrier signal generation clock. The prescaler generates 15
different clocks, dividing the PCLK2 clock by 1 to 16K. One of these clocks is selected by CGCLK[3:0]/REMC_
CFG register.