Atmel ARM-Based Evaluation Kit AT91SAM9N12-EK AT91SAM9N12-EK Data Sheet

Product codes
AT91SAM9N12-EK
Page of 1104
160
SAM9N12/SAM9CN11/SAM9CN12 [DATASHEET]
11063K–ATARM–05-Nov-13
18.7.2 Shutdown 
Mode 
Register
Name:
SHDW_MR
Address:
0xFFFFFE14
Access:
Read/Write 
• WKMODE0: Wake-up Mode 0 
• CPTWK0: Debounce Counter on Wake-up 0
Defines the minimum duration of the WKUP1 pin after the occurence of the selected triggering edge (WKMODE0).
The SHDN pin is released if the WKUP0 holds the selected level for (CPTWK * 16 + 1) consecutive Slow Clock cycles after the 
occurence of the selected triggering edge on WKUP0.
• RTCWKEN: Real-time Clock Wake-up Enable
0: The RTC Alarm signal has no effect on the Shutdown Controller.
1: The RTC Alarm signal forces the de-assertion of the SHDN pin.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
RTCWKEN
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
CPTWK0
WKMODE0
Value Name 
Description
0
NO_DETECTION
No detection is performed on the wake-up input
1
RISING_EDGE
Low to high transition triggers the detection process
2
FALLING_EDGE
High to low level transition triggers the detection process
3
ANY_EDGE
Any edge on the wake-up input triggers the detection process