251
32099I–01/2012
AT32UC3L016/32/64
14.3
Block Diagram
Figure 14-1. Asynchronous Timer Block Diagram
14.4
Product Dependencies
In order to use this module, other parts of the system must be configured correctly, as described
below.
14.4.1
Power Management
When the AST is enabled, it will remain clocked as long as its selected clock source is running. It
can also wake the CPU from the currently active sleep mode. Refer to the Power Manager chap-
ter for details on the different sleep modes.
14.4.2
Clocks
The clock for the AST bus interface (CLK_AST) is generated by the Power Manager. This clock
is turned on by default, and can be enabled and disabled in the Power Manager.
A number of clocks can be selected as source for the internal prescaler clock CLK_AST_PRSC.
The prescaler, counter, and interrupt will function as long as this selected clock source is active.
The selected clock must be enabled in the System Control Interface (SCIF).
The following clock sources are available:
System RC oscillator (RCSYS). This oscillator is always enabled, except in some sleep
modes. Please refer to the Electrical Characteristics chapter for the characteristic frequency
of this oscillator.
32KHz crystal oscillator (OSC32K). This oscillator must be enabled before use.
Peripheral Bus clock (PB clock). This is the clock of the peripheral bus the AST is connected
to.
32-bit
Prescaler
32-bit
Counter
Alarm
Interrupts
COUNTER
VALUE
CLK_AST_CNT
OVF
CONTROL
REGISTER
EN
CSSEL
PSEL
Periodic
Interrupts
ALARM
REGISTER
Interrupt
Status
and
Control
IRQs
PERIODIC
INTERVAL
REGISTER
Events
Wake
Control
Wake
WAKE ENABLE
REGISTER
DIGITAL
TUNER
REGISTER
RCSYS
OSC32
PB clock
GCLK
others
CLK_AST
CLK_AST_PRSC
CLK_AST