Samsung KS57C2308 Manual page 161

Single-chip cmos microcontroller
Table of Contents

Advertisement

KS57C2308/P2308/C2316/P2316
STOP
— Stop Operation
STOP
Operation:
Operand
Description:
The STOP instruction stops the system clock by setting bit 3 of the power control register
(PCON) to logic one. When STOP executes, all system operations are halted with the exception
of some peripheral hardware with special power-down mode operating conditions.
In application programs, a STOP instruction must be immediately followed by at least three NOP
instructions. This ensures an adequate time interval for the clock to stabilize before the next
instruction is executed. If more than three NOP instructions are not used after STOP instruction,
leakage current could be flown because of the floating state in the internal bus.
Operand
Example:
Given that bit 3 of the PCON register is cleared to logic zero, and all systems are operational, the
instruction sequence
STOP
NOP
NOP
NOP
sets bit 3 of the PCON register to logic one, stopping all controller operations (with the exception
of some peripheral hardware). The three NOP instructions provide the necessary timing delay for
clock stabilization before the next instruction in the program sequence is executed.
Engage CPU stop mode
1
1
1
1
0
1
Operation Summary
Binary Code
1
1
1
1
1
0
0
1
SAM47 INSTRUCTION SET
Bytes
2
Operation Notation
1
PCON.3
1
1
Cycles
2
5-87

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

P2308C2316P2316Ks57p2308Ks57c2316Ks57p2316

Table of Contents