69 of 307
ZBasic System Library 59 ZX Microcontroller Family 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, ZX-24pe Register.SMCR ZX-24n, ZX-40n, ZX-44n, ZX-24ne Register.SMCR ZX-328n, ZX-328l, ZX-32n, ZX-32l, ZX-328nu Register.SMCR ZX-1281, ZX-1281n, ZX-1280, ZX-1280n, ZX-1281e, ZX-1281ne Register.SMCR ZX-128e, ZX-128ne Register.MCUCR