Skip to main content

Module acifc

Module acifc 

Source
Expand description

Implementation of the SAM4L ACIFC controller.

See datasheet section “37. Analog Comparator Interface (ACIFC)”.

§Overview

The SAM4L Analog Comparator Interface (ACIFC) controls a number of Analog Comparators (ACs) with identical behavior. Each Analog Comparator compares two voltages and gives an output depending on this comparison. A specific AC is referred to as ACx where x is any number from 0 to n and n is the index of last AC module.

The number of analog comparators (ACs) available depends on the board pr microcontroller used. The SAM4Lmcomes in three different versions: a 48-pin, a 64-pin and a 100-pin version. On the 48-pin version, one AC is available. On the 64-pin version, two ACs are available. On the 100-pin version, four ACs are available. The Hail is an example of a board with the 64-pin version of the SAM4L, and therefore supports two ACs. The Imix is an example of a board with the 100-pin version of the SAM4L, and therefore supports four ACs. Currently, no version of the SAM4L exists with all the 8 ACs implemented. Therefore a lot of the defined bitfields remain unused, but are initialized for a possible future scenario.

Structs§

AcChannel
Representation of an AC channel on the SAM4L.
Acifc

Enums§

Channel