| Electronic Components Datasheet Search |
|
AT90PWM2 Datasheet(PDF) 269 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT90PWM2 Datasheet(HTML) 269 Page - ATMEL Corporation |
|
269 / 365 page ![]() 269 AT90PWM2/3 4317B–AVR–02/05 DAC Register Description The DAC is controlled via three dedicated registers: • The DACON register which is used for DAC configuration • DACH and DACL which are used to set the value to be converted. Digital to Analog Conversion Control Register – DACON • Bit 7 – DAATE: DAC Auto Trigger Enable bit Set this bit to update the DAC input value on the positive edge of the trigger signal selected with the DACTS2-0 bit in DACON register. Clear it to automatically update the DAC input when a value is written on DACH register. • Bit 6:4 – DATS2, DATS1, DATS0: DAC Trigger Selection bits These bits are only necessary in case the DAC works in auto trigger mode. It means if DAATE bit is set. In accordance with the Table 108, these 3 bits select the interrupt event which will gen- erate the update of the DAC input values. The update will be generated by the rising edge of the selected interrupt flag whether the interrupt is enabled or not. • 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 output on the next DACH writing. • Bit 1 – DAOE: Digital to Analog Output Enable bit Set this bit to output the conversion result on AD2, Clear it to use the DAC internally. • Bit 0 – DAEN: Digital to Analog Enable bit Set this bit to enable the DAC, Clear it to disable the DAC. Bit 7 65 43 21 0 DAATE DATS2 DATS1 DATS0 - DALA DAOE DAEN DACON Read/Write R/W R/W R/W R/W - R/W R/W R/W Initial Value 0 0 0 0 0 0 0 0 Table 108. DAC Auto Trigger source selection DATS2 DATS1 DATS0 Description 0 0 0 Analog comparator 0 0 0 1 Analog comparator 1 0 1 0 External Interrupt Request 0 0 1 1 Timer/Counter0 Compare Match 1 0 0 Timer/Counter0 Overflow 1 0 1 Timer/Counter1 Compare Match B 1 1 0 Timer/Counter1 Overflow 1 1 1 Timer/Counter1 Capture Event |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |