Datasheet

991
42023E–SAM–07/2013
ATSAM4L8/L4/L2
37.9.12 ACx Configuration Register
Name:
CONFx
Access Type: Read/Write
Offset: 0xD0,0xD4,0xD8,0xDC,0xE0,0xE4,0xE8,0xEC
Reset Value: 0x00000000
ALWAYSON: Always On
0: AC is disabled between measurements
1: AC is always enabled
FAST: Fast Mode Enable
This bit controls whether the AC operates in fast or low-power mode, thus allowing a trade-off between its active power
dissipation and speed (i.e., startup time and propagation delay):
0: Low-power mode
1: Fast mode
Refer to
Section 42. ”Electrical Characteristics” on page 1120 for details on the current consumption, start-up time, and
propagation delay of the AC when it is in either of these modes.
HYS: Hysteresis Voltage Value.
EVENN: Peripheral Event Enable Negative
0: Do not output peripheral event when ACOUT is zero.
1: Output peripheral event when ACOUT is zero.
EVENP: Peripheral Event Enable Positive
0: Do not output peripheral event when ACOUT is one.
1: Output peripheral event when ACOUT is one.
INSELN: Negative Input Select
See
CONFx.INSELN: Negative Input Select table in Module Configuration section.
31 30 29 28 27 26 25
24
----ALWAYSON FAST HYS
23 22 21 20 19 18 17
16
- - - - - - EVENP EVENN
15 14 13 12 11 10 9
8
------ INSELN
7654321
0
-- MODE -- IS
HYS Hysteresis value
0 0 Hysteresis voltage = 0 mV
0 1 Hysteresis voltage = 25 mV
1 0 Hysteresis voltage = 50 mV
1 1 Hysteresis voltage = 75 mV