Datasheet
979
42023E–SAM–07/2013
ATSAM4L8/L4/L2
37.9.1 Control Register
Name:
CTRL
Access Type: Read/Write
Offset: 0x00
Reset Value: 0x00000000
• ACTEST: Analog Comparator Test Mode
0: The Analog Comparator outputs are connected to the logic in ACIFC.
1: The Analog Comparator outputs are bypassed with the AC Test Register.
• ESTART: Peripheral Event Start Single Comparison
Writing a zero to this bit has no effect.
Writing a one to this bit starts a comparison and can be used for test purposes.
This bit is cleared when comparison is done.
This bit is set when an enabled peripheral event is received.
• USTART: User Start Single Comparison
Writing a zero to this bit has no effect.
Writing a one to this bit starts a single comparison.
This bit is cleared when comparison is done.
• EVENTEN: Peripheral Event Trigger Enable
0: A peripheral event will not trigger a comparison.
1: Enable comparison triggered by a peripheral event.
• EN: ACIFC Enable
0: The ACIFC is disabled.
1: The ACIFC is enabled.
31 30 29 28 27 26 25 24
--------
23 22 21 20 19 18 17 16
--------
15 14 13 12 11 10 9 8
- -------
76543210
ACTEST - ESTART USTART - - EVENTEN EN