35.8.1. Control A
Name:
CTRLA
Offset:
0x00
Reset:
0x00000000
Property:
PAC Write-Protection, Write-Synchronized, Enable-Protected
Bit
31
30
29
28
27
26
25
24
Access
Reset
Bit
23
22
21
20
19
18
17
16
COPEN1
COPEN0
CAPTEN1
CAPTEN0
Access
R/W
R/W
R/W
R/W
Reset
0
0
0
0
Bit
15
14
13
12
11
10
9
8
ALOCK
PRESCALER[2:0]
Access
R/W
R/W
R/W
R/W
Reset
0
0
0
0
Bit
7
6
5
4
3
2
1
0
ONDEMAND
RUNSTDBY
PRESCSYNC[1:0]
MODE[1:0]
ENABLE
SWRST
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
Bit 11 – ALOCK: Auto Lock
When this bit is set, Lock bit update (LUPD) is set to '1' on each overflow/underflow or re-trigger event.
This bit is not synchronized.
Value
Description
0
The LUPD bit is not affected on overflow/underflow, and re-trigger event.
1
The LUPD bit is set on each overflow/underflow or re-trigger event.
Bits 10:8 – PRESCALER[2:0]: Prescaler
These bits select the counter prescaler factor.
These bits are not synchronized.
Value
Name
Description
0x0
DIV1
Prescaler: GCLK_TC
0x1
DIV2
Prescaler: GCLK_TC/2
0x2
DIV4
Prescaler: GCLK_TC/4
0x3
DIV8
Prescaler: GCLK_TC/8
0x4
DIV16
Prescaler: GCLK_TC/16
Atmel SAM L22G / L22J / L22N [DATASHEET]
Atmel-42402E-SAM L22G / L22J / L22N_Datasheet_Complete-07/2016
766