22 REMOTE CONTROLLER (REMC)
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
22-7
7.3 Data Length Counter Clock (PCLK2 Division Ratio) Selection
Table 22.
LCCLK[3:0]
Division ratio
LCCLK[3:0]
Division ratio
0xf
Reserved
0x7
1/128
0xe
1/16384
0x6
1/64
0xd
1/8192
0x5
1/32
0xc
1/4096
0x4
1/16
0xb
1/2048
0x3
1/8
0xa
1/1024
0x2
1/4
0x9
1/512
0x1
1/2
0x8
1/256
0x0
1/1
(Default: 0x0)
Note: The clock should be set only while the REMC module is stopped (REMEN = 0).
D[7:2]
Reserved
D1
REMMD: REMC Mode Select Bit
Selects the transfer direction.
1 (R/W): Reception
0 (R/W): Transmission (default)
D0
REMEN: REMC Enable Bit
Enables or disables data transfer by the REMC module.
1 (R/W): Enabled
0 (R/W): Disabled (default)
Setting REMEN to 1 starts transmission or receiving in accordance with REMMD settings.
Setting REMEN to 0 disables REMC module operations.
REMC Carrier Length Setup Register (REMC_CAR)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
REMC Carrier
Length Setup
Register
(REMC_CAR)
0x301502
(16 bits)
D15–14 –
reserved
–
–
–
0 when being read.
D13–8 REMCL[5:0] Carrier L length setup
0x0 to 0x3f
0x0 R/W
D7–6 –
reserved
–
–
–
0 when being read.
D5–0 REMCH[5:0] Carrier H length setup
0x0 to 0x3f
0x0 R/W
D[15:14] Reserved
D[13:8] REMCL[5:0]: Carrier L Length Setup Bits
Sets the carrier signal L section length. (Default: 0x0)
Specify a value corresponding to the number of carrier generation clock cycles selected by CGCLK[3:0]/
REMC_CFG re 1. Calculate carrier L section length as follows:
REMCL + 1
Carrier L section length = —————— [s]
clk_in
REMCL: REMCL[5:0] setting
clk_in: Prescaler (PSC Ch.1) output clock frequency
The H section length is specified by REMCH[5:0]. The carrier signal is generated from these settings as
shown in Figure 22.7.1.
D[7:6]
Reserved
D[5:0]
REMCH[5:0]: Carrier H Length Setup Bits
Sets the carrier signal H section length. (Default: 0x0)
Specify a value corresponding to the number of carrier generation clock cycles selected by CGCLK[3:0]/
REMC_CFG re 1. Calculate carrier H section length as follows:
REMCH + 1
Carrier H section length = —————— [s]
clk_in
REMCH: REMCH[5:0] setting
clk_in: Prescaler (PSC Ch.1) output clock frequency