AT89C4051_01 ATMEL [ATMEL Corporation], AT89C4051_01 Datasheet - Page 7

no-image

AT89C4051_01

Manufacturer Part Number
AT89C4051_01
Description
8-bit Microcontroller with 4K Bytes Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Idle Mode
Power-down Mode
Brown-out Detection
1001D–06/01
In idle mode, the CPU puts itself to sleep while all the on-chip peripherals remain active.
The mode is invoked by software. The content of the on-chip RAM and all the special
functions registers remain unchanged during this mode. The idle mode can be termi-
nated by any enabled interrupt or by a hardware reset.
P1.0 and P1.1 should be set to “0” if no external pullups are used, or set to “1” if external
pullups are used.
It should be noted that when idle is terminated by a hardware reset, the device normally
resumes program execution, from where it left off, up to two machine cycles before the
internal reset algorithm takes control. On-chip hardware inhibits access to internal RAM
in this event, but access to the port pins is not inhibited. To eliminate the possibility of an
unexpected write to a port pin when Idle is terminated by reset, the instruction following
the one that invokes Idle should not be one that writes to a port pin or to external
memory.
In the power-down mode the oscillator is stopped and the instruction that invokes
power-down is the last instruction executed. The on-chip RAM and Special Function
Registers retain their values until the power-down mode is terminated. The only exit
from power-down is a hardware reset. Reset redefines the SFRs but does not change
the on-chip RAM. The reset should not be activated before V
operating level and must be held active long enough to allow the oscillator to restart and
stabilize.
P1.0 and P1.1 should be set to “0” if no external pullups are used, or set to “1” if external
pullups are used.
When V
weakly pulled high. When V
generated after a delay of typically 15 msec. The nominal brown-out detection threshold
is 2.1V ± 10%.
CC
INTERNAL RESET
drops below the detection threshold, all port pins (except P1.0 and P1.1) are
PORT PIN
V
CC
CC
goes back up again, an internal Reset is automatically
2.1V
2.1V
15 msec.
CC
is restored to its normal
AT89C4051
7

Related parts for AT89C4051_01