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

ATMEGA16U2-MUR 参数 Datasheet PDF下载

ATMEGA16U2-MUR图片预览
型号: ATMEGA16U2-MUR
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器具有ISP功能的Flash 8/16 / 32K Butes [8-bit Microcontroller with 8/16/32K Butes of ISP Flash]
分类和应用: 微控制器异步传输模式PCATM
文件页数/大小: 310 页 / 4432 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第136页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第137页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第138页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第139页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第141页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第142页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第143页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第144页  
ATmega8U2/16U2/32U2  
Functions” on page 72.  
Table 17-1. SPI Pin Overrides(1)  
Pin  
MOSI  
MISO  
SCK  
SS  
Direction, Master SPI  
User Defined  
Input  
Direction, Slave SPI  
Input  
User Defined  
Input  
User Defined  
User Defined  
Input  
Note:  
1. See “Alternate Functions of Port B” on page 74 for a detailed description of how to define the  
direction of the user defined SPI pins.  
The following code examples show how to initialize the SPI as a Master and how to perform a  
simple transmission. DDR_SPI in the examples must be replaced by the actual Data Direction  
Register controlling the SPI pins. DD_MOSI, DD_MISO and DD_SCK must be replaced by the  
actual data direction bits for these pins. E.g. if MOSI is placed on pin PB5, replace DD_MOSI  
with DDB5 and DDR_SPI with DDRB.  
140  
7799D–AVR–11/10  
 复制成功!