161
Chapter 10 Standby
6.Settings
6. Settings
*:For the setting procedure, refer to the section indicated by the number.
*: For the setting procedure, refer to the section indicated by the number.
7. Q&A
7.1 How do I change to sleep mode?
Before you can change to sleep mode, you must first set the synchronous standby operation enable bit
(TBCR.SYNCS).
Note: Setting (SYSNCS=“0”) is prohibited.
Set using the sleep mode bit (STCR.SLEEP).
Note: Some restrictions apply when changing to sleep mode. See “8. Caution (Page No.165)” for details.
Table 6-1 Settings Required to Change to Sleep Mode
Setting Setting register
Setting
procedure*
Interrupt settings (See the chapter for each peripheral function.) —
Synchronous standby settings Timebase timer control register (TBCR) See 7.1
Change to sleep mode Standby control register (STCR) See 7.1
Operational restrictions (See “8. Caution (Page No.165)”.) —
Table 6-2 Settings Required to Change to Stop Mode
Setting Setting register
Setting
procedure*
Selects the oscillation stabilization
wait time
(See “Chapter 18 Timebase Counter (Page No.249)”.) —
Interrupt settings (See the chapter for each peripheral function.) —
Synchronous standby settings Timebase timer control register (TBCR) See 7.2
Change to stop mode Standby control register (STCR) See 7.2
Operational restrictions (See “8. Caution (Page No.165)”.) —
Operation Synchronous standby operation enable bit (SYNCS)
To enable synchronous standby operation Set to “1”.
Operation Sleep mode bit (SLEEP)
When you do not want to change to sleep mode Set to “0”.
To change to sleep mode Set to “1”.