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

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.4.2
19.4.2.1
19.4.2.2
7734M–AVR–03/10
Digital to Analog Converter input Register – DACH and DACL
DALA = 0
DALA = 1
Table 19-1.
• Bit 2 – DALA: Digital to Analog Left Adjust
Set this bit to left adjust the DAC input data.
Clear it to right adjust the DAC input data.
The DALA bit affects the configuration of the DAC data registers. Changing this bit affects the DAC out-
put on the next DACH writing.
• Bit 1 – Reserved
.
• Bit 0 – DAEN: Digital to Analog Enable bit
Set this bit to enable the DAC,
Clear it to disable the DAC.
DACH and DACL registers contain the value to be converted into analog voltage.
Writing the DACL register forbid the update of the input value until DACH has not been written too. So
the normal way to write a 10-bit value in the DAC register is firstly to write DACL the DACH.
In order to work easily with only 8 bits, there is the possibility to left adjust the input value. Like this it is
sufficient to write DACH to update the DAC value.
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
DATS2
1
1
1
1
DATS1
0
0
1
1
7
-
DAC7
R/W
R/W
0
0
7
DAC9
DAC1
R/W
R/W
0
0
DAC Auto Trigger source selection (Continued)
6
-
DAC6
R/W
R/W
0
0
6
DAC8
DAC0
R/W
R/W
0
0
DATS0
0
1
0
1
5
-
DAC5
R/W
R/W
0
0
5
DAC7
-
R/W
R/W
0
0
Description
Reserved
Reserved
Timer/Counter1 Overflow
Timer/Counter1 Capture Event
4
-
DAC4
R/W
R/W
0
0
4
DAC6
-
R/W
R/W
0
0
R/W
R/W
3
-
DAC3
R/W
0
0
3
DAC5
-
R/W
0
0
DAC2
R/W
R/W
DAC4
R/W
R/W
2
-
0
0
2
-
0
0
1
DAC9
DAC1
R/W
R/W
0
0
1
DAC3
-
R/W
R/W
0
0
AT90PWM81
0
DAC8
DAC0
R/W
R/W
0
0
0
DAC2
-
R/W
R/W
0
0
DACH
DACL
DACH
DACL
229

Related parts for at90pwm81-16se