English
Language : 

SAM4L Datasheet, PDF (1071/1185 Pages) ATMEL Corporation – ATSAM ARM-based Flash MCU
40.7.1 Configuration Register
Name:
CFG
Access Type:
Read/Write
Offset:
0x00
Reset Value:
0x00000000
31
30
29
28
27
26
-
-
-
-
-
-
23
22
21
20
19
18
-
-
-
-
-
-
15
14
13
12
11
10
-
-
-
-
-
-
7
ODD
6
HALF
5
EDGE
4
EMODE
3
2
SMODE
To avoid unexpected behavior CFG must be written when PARC is disabled.
• ODD: Odd Capture
0: only bytes with even index are captured.
1: only bytes with odd index are captured.
• HALF: Half Capture
0: all bytes are captured.
1: one out of two bytes are captured.
• EDGE: Sampling Edge Select
0: rising edge.
1: falling edge.
• EMODE: Events Mode
0: Events mode disabled.
1: Events mode enabled. Peripheral events start/stop data capture.
• SMODE: Sampling Mode
SMODE
0
0
0
1
1
0
1
1
Capture data if PCEN1 is high
Capture data if PCEN1 and PCEN2 are high
Capture data if PCEN1 or PCEN2 is high
Always capture data
Mode
ATSAM4L4/L2
25
24
-
-
17
16
-
-
9
8
-
-
1
0
DSIZE
42023C–SAM–02/2013
1071