English
Language : 

SAM4L Datasheet, PDF (923/1185 Pages) ATMEL Corporation – ATSAM ARM-based Flash MCU
34.7.1 Control Register
Name:
CR
Access Type:
Read/Write
Offset:
0x00
Reset Value:
0x00000000
ATSAM4L4/L2
31
30
29
28
27
26
25
24
SWRST
-
-
-
-
-
-
-
23
22
21
20
19
18
17
16
-
-
-
-
CHARGET
15
14
13
12
11
10
9
8
-
ESAMPLES
7
6
5
4
3
2
1
0
DMAEN
DIFF
CKSEL
INTRES
ETRIG
IIDLE
RUN
EN
• SWRST: Software Reset
Writing a zero to this bit has no effect.
Writing a one to this bit resets the CATB. The CATB will be disabled after the reset.
This bit always reads as zero.
• CHARGET: Charge Time
The measured capacitance is charged for 2^(CHARGET) clock cycles of the acquisition clock (selected with CKSEL) before
each discharge measurement. This field must not be changed when the CATB is operating (CR.RUN is one).
• ESAMPLES: Number of Event Samples
When the CATB is driven by the Peripheral Event System, the amount of samples per event equal ESAMPLES +1.
• DMAEN: DMA Enable
0: DMA is not used. Single sensor mode of operation.
1: DMA is being used for multi sensor operation. Sensor configuration data is rotated with data from RAM.
• DIFF: Differential Mode
0: Normal acquisition mode. One pin is used per sensor (plus the shared discharge pin (DIS) if INTRES is zero.
1: Differential mode. Two pins are used per sensor.
Note: This bit must not be changed during operation (RUN is one).
• CKSEL: Clock Select
0: The RC oscillator is selected as acquisition clock and is used as timing source for the measurements.
1: The GCLK is selected as acquisition clock and is used as the timing source for measurements.
Refer to the Module Configuration section for configuration of clocks.
Note: This bit must not be changed during operation (RUN is one).
• INTRES: Internal Resistors
0: External resistors are used between DIS and SENSE pins, or between sensor-pads if DIFF=1.
1: Internal resistors are used.
Note: This bit must not be changed during operation (RUN=1).
42023C–SAM–02/2013
923