38.5 Peripheral Dependencies

Peripheral nameBase addressNVIC IRQ IndexAHB/APB ClocksGCLK Peripheral

Channel Index

(GCLK.PCHCTRL)

PAC Peripheral

Identifier Index

(PAC.WRCTRL)

Events (EVSYS)DMA Trigger

Source Index

(CHCTRLB.TRIGSRC)

Users (USERm)Generators

(CHANNELn.EVGEN)

AC0x42004C0027: COMP0-3CLK_AC_APB

Disabled at reset

4283 Not protected at reset32-35: SOC0-372-75: COMP0-3-
27: WIN0-176-77: WIN0-1

Each comparator has up to four I/O pins that can be used as analog inputs. Each pair of comparators shares the same four pins. These pins must be configured for analog operation before using them as comparator inputs.

Internal reference sources (DAC, INTREF supplied by the bandgap or VSCALE) must be configured and enabled prior to their use as a comparator input. Allow 10 µs for the bandgap to stabilize before enabling the AC interrupt or EVSYS event channel.