Control Register Details; 0X4020: Prescaler Control Register (Psc_Ctl) - Epson S1C17001 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

9 PRESCALER (PSC)

9.2 Control Register Details

Address
0x4020
PSC_CTL
Prescaler Control Register
The prescaler register is an 8-bit register.
Note: When data is written to the registers, the "Reserved" bits must always be written as 0 and not 1.

0x4020: Prescaler Control Register (PSC_CTL)

Register name Address
Bit
Prescaler Con-
0x4020
D7–2 –
trol Register
(8 bits)
D1
(PSC_CTL)
D0
D[7:2]
Reserved
D1
PRUND: Prescaler Run/Stop Setting Bit for Debug Mode
Selects prescaler operations in Debug mode.
1 (R/W): Operate
0 (R/W): Stop (default)
Setting PRUND to 1 operates the prescaler even in Debug mode. Setting it to 0 stops the prescaler once
the S1C17 core switches to Debug mode. Set PRUND to 1 to use the timer and interface module during
debugging.
D0
PRUN: Prescaler Run/Stop Control Bit
Starts or stops prescaler operation.
1 (R/W): Start operation
0 (R/W): Stop (default)
Write 1 to PRUN to operate the prescaler. Write 0 to PRUN to stop the prescaler. To reduce current con-
sumption, stop the prescaler if the timer and interface module are already stopped.
80
Table 9.2.1: Prescaler register
Register name
Name
Function
reserved
PRUND
Prescaler run/stop in debug mode 1 Run
PRUN
Prescaler run/stop control
Prescaler start/stop control
Setting
0 Stop
1 Run
0 Stop
EPSON
Function
Init. R/W
Remarks
0 when being read.
0
R/W
0
R/W
S1C17001 TECHNICAL MANUAL

Advertisement

Table of Contents
loading

Table of Contents