0X5209: P0 Port Key-Entry Reset Configuration Register (P0_Krst) - Epson S1C17001 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

0x5209: P0 Port Key-Entry Reset Configuration Register (P0_KRST)

Register name Address
Bit
P0 Port Key-
0x5209
D7–2 –
Entry Reset
(8 bits)
D1–0 P0KRST[1:0] P0 port key-entry reset
Configuration
Register
(P0_KRST)
D[7:2]
Reserved
D[1:0]
P0KRST[1:0]: P0 Port Key-Entry Reset Configuration Bits
Select the port combination used for P0 port key entry resetting.
The key entry reset function performs an initial reset by inputting Low level simultaneously from exter-
nally to the port selected here.
For example, if P0KRST[1:0] is set to 0x3, an initial reset is performed when the four ports P00 to P03
are simultaneously set to Low level.
Set P0KRST[1:0] to 0x0 when this reset function is not used.
Note: • Make sure the specified ports are not simultaneously switched to Low during normal
operations when using the P0 port key-entry reset function.
• The P0 port key entry reset function is disabled on initial resetting and cannot be used
for resetting at power-on.
• The P0 port key-entry reset function cannot be used in SLEEP state.
S1C17001 TECHNICAL MANUAL
Name
Function
reserved
configuration
Table 10.8.3: P0 port key entry input reset settings
P0KRST[1:0]
0x3
0x2
0x1
0x0
EPSON
10 INPUT/OUTPUT PORT (P)
Setting
P0KRST[1:0]
Configuration
0x3
P0[3:0] = 0
0x2
P0[2:0] = 0
0x1
P0[1:0] = 0
0x0
Disable
Ports used
P00, P01, P02, P03
P00, P01, P02
P00, P01
Not used
(Default: 0x0)
Init. R/W
Remarks
0 when being read.
0x0 R/W
101

Advertisement

Table of Contents
loading

Table of Contents