at90pwm81-16se ATMEL Corporation, at90pwm81-16se Datasheet - Page 227

no-image

at90pwm81-16se

Manufacturer Part Number
at90pwm81-16se
Description
8-bit Avr Microcontroller With 8k Bytes In- System Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
19.2
19.3
7734M–AVR–03/10
Operation
Starting a Conversion
Figure 19-1.
The Digital to Analog Converter generates an analog signal proportional to the value of the DAC registers
value.
In order to have an accurate sampling frequency control, there is the possibility to update the DAC input
values through different trigger events.
The DAC is configured thanks to the DACON register. As soon as the DAEN bit in DACON register is
set, the DAC converts the value present on the DACH and DACL registers in accordance with the register
DACON setting.
Alternatively, a conversion can be triggered automatically by various sources. Auto Triggering is enabled
by setting the DAC Auto Trigger Enable bit, DAATE in DACON. The trigger source is selected by setting
the DAC Trigger Select bits, DATS in DACON (See description of the DATS bits for a list of the trigger
sources). When a positive edge occurs on the selected trigger signal, the DAC converts the value present
on the DACH and DACL registers in accordance with the register DACON setting. This provides a
method of starting conversions at fixed intervals. If the trigger signal is still set when the conversion com-
pletes, a new conversion will not be started. If another positive edge occurs on the trigger signal during
conversion, the edge will be ignored. Note that an interrupt flag will be set even if the specific interrupt is
Digital to Analog Converter Block Schematic
Detector
Edge
DAA TE
DAC High bits
VRef
DACH
DATS2
10
DATS1
Update D AC
1
T rigger
DAC
10
0
DATS0
10
DACON
DACL
DAC Lo w bits
-
DALA
Result
DAC
AT90PWM81
DAEN
227

Related parts for at90pwm81-16se