欢迎访问ic37.com |
会员登录 免费注册
发布采购

ATMEGA16M1-15MZ 参数 Datasheet PDF下载

ATMEGA16M1-15MZ图片预览
型号: ATMEGA16M1-15MZ
PDF下载: 下载PDF文件 查看货源
内容描述: [IC MCU 8BIT 16KB FLASH 32QFN]
分类和应用: 微控制器
文件页数/大小: 318 页 / 7595 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第231页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第232页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第233页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第234页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第236页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第237页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第238页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第239页  
In accordance with the Table 18-7 on page 213, these 3 bits select the interrupt event which will generate 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.  
Table 21-1. DAC Auto Trigger Source Selection  
DATS2  
DATS1  
DATS0  
Description  
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
Analog comparator 0  
Analog comparator 1  
External interrupt request 0  
Timer/Counter0 compare match  
Timer/Counter0 overflow  
Timer/Counter1 compare match B  
Timer/Counter1 overflow  
Timer/Counter1 capture event  
• 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 D2A,  
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.  
21.4.2 Digital to Analog Converter input Register – DACH and DACL  
When the DAC is used with a 10-bit output value, the value is written into the 16-bit register pair DACH:DACL as two  
separate 8-bit writes. As such the DAC value should be written first the low byte to DACL followed by the high byte value to  
DACH. Only when the DACH register is written is the DAC value updated.  
If you choose to use the DAC in left-adjust 8-bit mode then a single write to the DACH register with the 8-bit value will suffice  
to update the DAC.  
21.4.2.1 DALA = 0  
Bit  
7
-
6
-
5
-
4
-
3
-
2
-
1
DAC9  
DAC1  
R/W  
R/W  
0
0
DAC8  
DAC0  
R/W  
R/W  
0
DACH  
DACL  
DAC7  
R/W  
R/W  
0
DAC6  
R/W  
R/W  
0
DAC5  
R/W  
R/W  
0
DAC4  
R/W  
R/W  
0
DAC3  
R/W  
R/W  
0
DAC2  
R/W  
R/W  
0
Read/Write  
Initial Value  
0
0
0
0
0
0
0
0
ATmega16/32/64/M1/C1 [DATASHEET]  
235  
7647O–AVR–01/15  
 
 复制成功!