Related Links
on page 538
42.5.2. Power Management
The AC will continue to operate in any sleep mode where the selected source clock is running. The AC’s
interrupts can be used to wake up the device from sleep modes. Events connected to the event system
can trigger other operations in the system without exiting sleep modes.
Related Links
42.5.3. Clocks
The AC bus clock (CLK_AC_APB) can be enabled and disabled in the Power Manager, and the default
state of CLK_AC_APB can be found in the Peripheral Clock Masking section in the Power Manager
description.
A generic clock (GCLK_AC) is required to clock the AC. This clock must be configured and enabled in the
generic clock controller before using the AC. Refer to the Generic Clock Controller chapter for details.
This generic clock is asynchronous to the bus clock (CLK_AC_APB). Due to this asynchronicity, writes to
certain registers will require synchronization between the clock domains. Refer to
for
further details.
Related Links
42.5.4. DMA
Not applicable.
42.5.5. Interrupts
The interrupt request lines are connected to the interrupt controller. Using the AC interrupts requires the
interrupt controller to be configured first. Refer to
Nested Vector Interrupt Controller
for details.
Related Links
Nested Vector Interrupt Controller
on page 44
42.5.6. Events
The events are connected to the Event System. Refer to
EVSYS – Event System
for details on how to
configure the Event System.
Related Links
42.5.7. Debug Operation
When the CPU is halted in debug mode, the AC will halt normal operation after any on-going comparison
is completed. The AC can be forced to continue normal operation during debugging. Refer to
for details. If the AC is configured in a way that requires it to be periodically serviced by the CPU through
interrupts or similar, improper operation or data loss may result during debugging.
42.5.8. Register Access Protection
All registers with write-access can be write-protected optionally by the Peripheral Access Controller
(PAC), except the following registers:
•
Control B register (CTRLB)
Atmel SAM L22G / L22J / L22N [DATASHEET]
Atmel-42402E-SAM L22G / L22J / L22N_Datasheet_Complete-07/2016
1032