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

Cmos 16-bit single chip microcomputer
Table of Contents

Advertisement

9 PRESCALER (PSC)

9.2 Details of Control Register

Address
0x4020
PSC_CTL
Prescaler Control Register
The prescaler register is an 8-bit register.
Note: When setting the register, be sure to write a 0, and not a 1, for all "reserved bits."

0x4020: Prescaler Control Register (PSC_CTL)

Register name Address
Bit
Prescaler
0x4020
D7–2 –
Control Register
(8 bits)
D1
(PSC_CTL)
D0
D[7:2]
Reserved
D1
PRUND: Prescaler Run/Stop Setting Bit for Debug Mode
Selects the prescaler operation in debug mode.
1 (R/W): Run
0 (R/W): Stop (default)
If PRUND is set to 1, the prescaler operates in debug mode. If PRUND is set to 0, the prescaler stops
operating when the S1C17 Core enters debug mode. Set PRUND to 1 when using a timer or interface
module in debug mode.
D0
PRUN: Prescaler Run/Stop Control Bit
Runs/stops the prescaler.
1 (R/W): Run
0 (R/W): Stop (default)
Write 1 to PRUN to run the prescaler and write 0 to stop the prescaler. When the timer and interface
modules are idle, stop the prescaler to reduce current consumption.
9-2
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
Starts/stops the prescaler.
Setting
0 Stop
1 Run
0 Stop
EPSON
Function
Init. R/W
Remarks
0 when being read.
0
R/W
0
R/W
S1C17704 TECHNICAL MANUAL

Advertisement

Table of Contents
loading

Table of Contents