9 PRESCALER (PSC)
9-2
EPSON
S1C17704 TECHNICAL MANUAL
9.2 Details of Control Register
Table 9.2.1 Prescaler Register
Address
Register name
Function
0x4020
PSC_CTL
Prescaler Control Register
Starts/stops the prescaler.
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
Name
Function
Setting
Init. R/W
Remarks
Prescaler
Control Register
(PSC_CTL)
0x4020
(8 bits)
D7–2
–
reserved
–
–
–
0 when being read.
D1
PRUND
Prescaler run/stop in debug mode 1 Run
0 Stop
0
R/W
D0
PRUN
Prescaler run/stop control
1 Run
0 Stop
0
R/W
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.
Summary of Contents for S1C17704
Page 1: ...TECHNICAL MANUAL S1C17704 CMOS 16 BIT SINGLE CHIP MICROCOMPUTER ...
Page 22: ...1 OVERVIEW 1 10 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 42: ...3 MEMORY MAP BUS CONTROL 3 12 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 82: ...6 INTERRUPT CONTROLLER ITC 6 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 108: ...8 CLOCK GENERATOR CLG 8 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 112: ...9 PRESCALER PSC 9 4 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 138: ...10 I O PORTS P 10 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 156: ...11 16 BIT TIMERS T16 11 18 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 208: ...14 8 BIT OSC1 TIMER T8OSC1 14 16 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 234: ...16 STOPWATCH TIMER SWT 16 14 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 242: ...17 WATCHDOG TIMER WDT 17 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 264: ...18 UART 18 22 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 300: ...20 I2C 20 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 320: ...21 REMOTE CONTROLLER REMC 21 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 360: ...24 ON CHIP DEBUGGER DBG 24 6 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 362: ...25 BASIC EXTERNAL WIRING DIAGRAM 25 2 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...