14 8-BIT OSC1 TIMER (T8OSC1)
162
EPSON
S1C17001 TECHNICAL MANUAL
14.2 8-bit OSC1 Timer Count Mode
The 8-bit OSC1 timer features two count modes: Repeat mode and One-shot mode. These modes are selected using
the T8ORMD bit (D1/T8OSC1_CT register).
∗
T8ORMD
: Count Mode Select Bit in the 8-bit OSC1 Timer Control (T8OSC1_CTL) Register (D1/0x50c0)
Repeat mode (T8ORMD = 0, default)
Setting T8ORMD to 0 sets the 8-bit OSC1 timer to Repeat mode.
In this mode, once the count starts, the 8-bit OSC1 timer continues running until stopped by the application
program. If the counter matches the compare data, the timer resets the counter and continues counting. Since
the interrupt signsl is output at the same time, the 8-bit OSC1 timer should be set to this mode to generate
periodic interrupts at desired intervals.
One-shot mode (T8ORMD = 1)
Setting T8ORMD to 1 sets the 8-bit OSC1 timer to One-shot mode.
In this mode, the 8-bit OSC1 timer stops automatically as soon as the counter matches the compare data.
This means only one interrupt can be generated after the timer starts. Note that the timer resets the counter, then
stops after a complete match has occurred. The 8-bit OSC1 timer should be set to this mode to set a specific
wait time.
Note: Make sure the 8-bit OSC1 timer count is halted before changing count mode settings.
Содержание S1C17001
Страница 1: ...Technical Manual S1C17001 CMOS 16 BIT SINGLE CHIP MICROCONTROLLER ...
Страница 31: ...3 MEMORY MAP AND BUS CONTROL 22 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 33: ...4 POWER SUPPLY VOLTAGE 24 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 63: ...6 INITERRUPT CONTROLLER 54 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 87: ...8 CLOCK GENERATOR CLG 78 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 91: ...9 PRESCALER PSC 82 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 133: ...11 16 BIT TIMER T16 124 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 185: ...14 8 BIT OSC1 TIMER T8OSC1 176 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 211: ...16 STOPWATCH TIMER SWT 202 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 219: ...17 WATCHDOG TIMER WDT 210 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 241: ...18 UART 232 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 277: ...20 I2 C 268 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 297: ...21 REMOTE CONTROLLER REMC 288 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 303: ...22 ON CHIP DEBUGGER DBG 294 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 313: ...25 PACKAGE 304 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...