53
CPUSleep
Type
Subroutine
Invocation
CPUSleep()
Discussion
This routine puts the processor into a special sleep mode in which activity and power consumption are
reduced. The nature of the sleep mode is controlled by certain bits in one of the CPU registers (see table
below). For more information about the sleep mode, consult the Atmel documentation for the ATmega
processor on your ZX device is based.
Register Containing the Sleep Mode Bits
ZX Model
Register
ZX-24, ZX-40, ZX-44, ZX-24e
Register.MCUCR
ZX-24a, ZX-40a, ZX-44a, ZX-24ae
Register.SMCR
ZX-24p, ZX-40p, ZX-44p
Register.SMCR
ZX-24n, ZX-40n, ZX-44n
Register.SMCR
ZX-1281, ZX-1281n, ZX-1280, ZX-1280n, ZX-1281e
Register.SMCR
ZX-128e
Register.MCUCR