Nut/OS  4.10.3
API Reference
Power Saving

Power saving registers. More...

Collaboration diagram for Power Saving:

PS Control Register

#define PS_CR   (PS_BASE + 0x00)
 Register address.

Peripheral Clock Control Registers

#define PS_PCER   (PS_BASE + 0x04)
 Peripheral clock enable register address.
#define PS_PCDR   (PS_BASE + 0x08)
 Peripheral clock disable register address.
#define PS_PCSR   (PS_BASE + 0x0C)
 Peripheral clock status register address.

Detailed Description

Power saving registers.

The Power-saving feature optimizes power consumption, enabling the software to stop the CPU clock and restarting it on interrupts or on reset. Also, the on-chip peripheral clocks can be enabled or disabled individually.


Define Documentation

#define PS_CR   (PS_BASE + 0x00)

Register address.

This register allows to stop the CPU clock. The clock is automatically enabled after reset and by any interrupt.

Definition at line 65 of file at91_ps.h.

#define PS_PCER   (PS_BASE + 0x04)

Peripheral clock enable register address.

Definition at line 72 of file at91_ps.h.

#define PS_PCDR   (PS_BASE + 0x08)

Peripheral clock disable register address.

Definition at line 73 of file at91_ps.h.

#define PS_PCSR   (PS_BASE + 0x0C)

Peripheral clock status register address.

Definition at line 74 of file at91_ps.h.