Shut Down Controller Interface Peripheral

SHDWC (AT91S_SHDWC) 0xFFFFFD10 (AT91C_BASE_SHDWC)
Periph ID AICSymbolDescription
1 (AT91C_ID_SYS)System Interrupt

FunctionDescription
AT91F_SHDWC_CfgPMCEnable Peripheral clock in PMC for SHDWC


SHDWC Software API (AT91S_SHDWC)

OffsetFieldDescription
0x0SHDWC_SHCRShut Down Control Register
0x4SHDWC_SHMRShut Down Mode Register
0x8SHDWC_SHSRShut Down Status Register

SHDWC Register Description

SHDWC: AT91_REG SHDWC_SHCR Shut Down Control Register

OffsetNameDescription
0SHDWC_SHDW
AT91C_SHDWC_SHDW
Processor Reset
0 = No effect.
1 = If KEY is correct, asserts the SHDW pin.
31..24SHDWC_KEY
AT91C_SHDWC_KEY
Shut down KEY Password
Should be written at value 0xA5.

SHDWC: AT91_REG SHDWC_SHMR Shut Down Mode Register

OffsetNameDescription
1..0SHDWC_WKMODE0
AT91C_SHDWC_WKMODE0
Wake Up 0 Mode Selection
ValueLabelDescription
0SHDWC_WKMODE0_NONE
AT91C_SHDWC_WKMODE0_NONE

None. No detection is performed on the wake up input.
1SHDWC_WKMODE0_HIGH
AT91C_SHDWC_WKMODE0_HIGH

High Level.
2SHDWC_WKMODE0_LOW
AT91C_SHDWC_WKMODE0_LOW

Low Level.
3SHDWC_WKMODE0_ANYLEVEL
AT91C_SHDWC_WKMODE0_ANYLEVEL

Any level change.
7..4SHDWC_CPTWK0
AT91C_SHDWC_CPTWK0
Counter On Wake Up 0
Defines the number of 16 slow clock cycles, the level detection on the corresponding input pin shall last before the wake up event occurs.
16SHDWC_RTTWKEN
AT91C_SHDWC_RTTWKEN
Real Time Timer Wake Up Enable
0 = The RTT alarm signal has no effect on the shut down controller.
1 = The RTT alarm signal forces the de-assertion of the SHDW pin.

SHDWC: AT91_REG SHDWC_SHSR Shut Down Status Register

OffsetNameDescription
0SHDWC_WAKEUP0
AT91C_SHDWC_WAKEUP0
Wake Up 0 Status
0 = No Wake Up event occured on the corresponding Wake Up input since the last read of SHDWC_SR.
1 = At least one Wake Up event occured on the corresponding Wake Up input since the last read of SHDWC_SR.
16SHDWC_RTTWK
AT91C_SHDWC_RTTWK
Real Time Timer wake Up
0 = No Wake Up alarm from the RTT occured since the last read of SHDWC_SR.
1 = At least one Wake Up alarm from the RTT occured since the last read of SHDWC_SR.