4 MEMORY AND BUS
4-6
Seiko Epson Corporation
S1C17M12/M13 TECHNICAL MANUAL
(Rev. 1.2)
Peripheral circuit
Address
Register name
16-bit timer (T16) Ch.2
0x5260 T16_2CLK
T16 Ch.2 Clock Control Register
0x5262 T16_2MOD
T16 Ch.2 Mode Register
0x5264 T16_2CTL
T16 Ch.2 Control Register
0x5266 T16_2TR
T16 Ch.2 Reload Data Register
0x5268 T16_2TC
T16 Ch.2 Counter Data Register
0x526a T16_2INTF
T16 Ch.2 Interrupt Flag Register
0x526c T16_2INTE
T16 Ch.2 Interrupt Enable Register
Synchronous serial interface
(SPIA) Ch.1
0x5270 SPI1MOD
SPIA Ch.1 Mode Register
0x5272 SPI1CTL
SPIA Ch.1 Control Register
0x5274 SPI1TXD
SPIA Ch.1 Transmit Data Register
0x5276 SPI1RXD
SPIA Ch.1 Receive Data Register
0x5278 SPI1INTF
SPIA Ch.1 Interrupt Flag Register
0x527a SPI1INTE
SPIA Ch.1 Interrupt Enable Register
IR remote controller (REMC2)
0x5320 REMCLK
REMC2 Clock Control Register
0x5322 REMDBCTL
REMC2 Data Bit Counter Control Register
0x5324 REMDBCNT
REMC2 Data Bit Counter Register
0x5326 REMAPLEN
REMC2 Data Bit Active Pulse Length Register
0x5328 REMDBLEN
REMC2 Data Bit Length Register
0x532a REMINTF
REMC2 Status and Interrupt Flag Register
0x532c REMINTE
REMC2 Interrupt Enable Register
0x5330 REMCARR
REMC2 Carrier Waveform Register
0x5332 REMCCTL
REMC2 Carrier Modulation Control Register
Seven-segment LED controller
(LEDC)
0x5400 LEDCCLK
LEDC Clock Control Register
0x5402 LEDCCTL
LEDC Control Register
0x5404 LEDCLPSET
LEDC Lighting Period Setting Register
0x5406 LEDCINTF
LEDC Interrupt Flag Register
0x5408 LEDCINTE
LEDC Interrupt Enable Register
0x5410 LEDCDAT10
LEDC COM1/0 Data Register
0x5412 LEDCDAT32
LEDC COM3/2 Data Register
0x5414 LEDCDAT4
LEDC COM4 Data Register
16-bit timer (T16) Ch.3
0x5480 T16_3CLK
T16 Ch.3 Clock Control Register
0x5482 T16_3MOD
T16 Ch.3 Mode Register
0x5484 T16_3CTL
T16 Ch.3 Control Register
0x5486 T16_3TR
T16 Ch.3 Reload Data Register
0x5488 T16_3TC
T16 Ch.3 Counter Data Register
0x548a T16_3INTF
T16 Ch.3 Interrupt Flag Register
0x548c T16_3INTE
T16 Ch.3 Interrupt Enable Register
12-bit A/D converter (ADC12A) 0x54a2 ADC12_0CTL ADC12A Ch.0 Control Register
*
0x54a4 ADC12_0TRG ADC12A Ch.0 Trigger/Analog Input Select Register
*
0x54a6 ADC12_0CFG ADC12A Ch.0 Configuration Register
*
0x54a8 ADC12_0INTF ADC12A Ch.0 Interrupt Flag Register
*
0x54aa ADC12_0INTE ADC12A Ch.0 Interrupt Enable Register
*
0x54ac ADC12_0AD0D ADC12A Ch.0 Result Register 0
*
0x54ae ADC12_0AD1D ADC12A Ch.0 Result Register 1
*
0x54b0 ADC12_0AD2D ADC12A Ch.0 Result Register 2
*
0x54b2 ADC12_0AD3D ADC12A Ch.0 Result Register 3
*
0x54b4 ADC12_0AD4D ADC12A Ch.0 Result Register 4
*
0x54b6 ADC12_0AD5D ADC12A Ch.0 Result Register 5
*
0x54b8 ADC12_0AD6D ADC12A Ch.0 Result Register 6
*
0x54ba ADC12_0AD7D ADC12A Ch.0 Result Register 7
*
*
Available only in the S1C17M13
4.5.1 System-Protect Function
The system-protect function protects control registers and bits from writings. They cannot be rewritten unless write
protection is removed by writing 0x0096 to the MSCPROT.PROT[15:0] bits. This function is provided to prevent
deadlock that may occur when a system-related register is altered by a runaway CPU. See “Control Registers” in
each peripheral circuit to identify the registers and bits with write protection.
Note: Once write protection is removed using the MSCPROT.PROT[15:0] bits, write enabled status is
maintained until write protection is applied again. After the registers/bits required have been al-
tered, apply write protection.