System-Protect Function; Control Registers; Misc System Protect Register - Epson S1C17W12 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

Peripheral circuit
Sound generator (SNDA)
IR remote controller (REMC2)
LCD driver (LCD4A)
R/F converter (RFC) Ch.0
*1 Not available in the S1C17W12 SQFN7-48PIN package
*2 Not available in the S1C17W13 SQFN7-48PIN package
*3 Not available in the S1C17W13 TQFP12-48PIN package

4.6.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.

4.7 Control Registers

MISC System Protect Register

Register name
Bit
MSCPROT
15–0 PROT[15:0]
Bits 15–0 PROT[15:0]
These bits protect the control registers related to the system against writings.
0x0096 (R/W):
Other than 0x0096 (R/W): Enable system protection
S1C17W12/W13 TECHNICAL MANUAL
(Rev. 1.2)
Address
0x5300 SNDCLK
SNDA Clock Control Register
0x5302 SNDSEL
SNDA Select Register
0x5304 SNDCTL
SNDA Control Register
0x5306 SNDDAT
SNDA Data Register
0x5308 SNDINTF
SNDA Interrupt Flag Register
0x530a SNDINTE
SNDA Interrupt Enable Register
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
0x5400 LCD4CLK
LCD4A Clock Control Register
0x5402 LCD4CTL
LCD4A Control Register
0x5404 LCD4TIM1
LCD4A Timing Control Register 1
0x5406 LCD4TIM2
LCD4A Timing Control Register 2
0x5408 LCD4PWR
LCD4A Power Control Register
0x540a LCD4DSP
LCD4A Display Control Register
0x540c LCD4COMC0
LCD4A COM Pin Control Register 0
0x5410 LCD4INTF
LCD4A Interrupt Flag Register
0x5412 LCD4INTE
LCD4A Interrupt Enable Register
0x5440 RFC0CLK
RFC Ch.0 Clock Control Register
0x5442 RFC0CTL
RFC Ch.0 Control Register
0x5444 RFC0TRG
RFC Ch.0 Oscillation Trigger Register
0x5446 RFC0MCL
RFC Ch.0 Measurement Counter Low Register
0x5448 RFC0MCH
RFC Ch.0 Measurement Counter High Register
0x544a RFC0TCL
RFC Ch.0 Time Base Counter Low Register
0x544c RFC0TCH
RFC Ch.0 Time Base Counter High Register
0x544e RFC0INTF
RFC Ch.0 Interrupt Flag Register
0x5450 RFC0INTE
RFC Ch.0 Interrupt Enable Register
Bit name
Initial
0x0000
Disable system protection
Seiko Epson Corporation
Register name
*3
Reset
R/W
H0
R/W
4 MEMORY AND BUS
*3
*3
*3
*3
*3
*3
*3
*3
Remarks
4-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c17w13

Table of Contents