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

ATMEGA16M1_1 参数 Datasheet PDF下载

ATMEGA16M1_1图片预览
型号: ATMEGA16M1_1
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器,带有16K / 32K / 64K字节的系统内可编程闪存 [8-bit Microcontroller with 16K/32K/64K Bytes In-System Programmable Flash]
分类和应用: 闪存微控制器
文件页数/大小: 365 页 / 6381 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA16M1_1的Datasheet PDF文件第156页浏览型号ATMEGA16M1_1的Datasheet PDF文件第157页浏览型号ATMEGA16M1_1的Datasheet PDF文件第158页浏览型号ATMEGA16M1_1的Datasheet PDF文件第159页浏览型号ATMEGA16M1_1的Datasheet PDF文件第161页浏览型号ATMEGA16M1_1的Datasheet PDF文件第162页浏览型号ATMEGA16M1_1的Datasheet PDF文件第163页浏览型号ATMEGA16M1_1的Datasheet PDF文件第164页  
When the SPI is enabled, the data direction of the MOSI, MISO, SCK, and SS pins is overridden  
according to Table 15-1. For more details on automatic port overrides, refer to “Alternate Port  
Functions” on page 67.  
Table 15-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 69 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 PB2, replace DD_MOSI with DDB2 and DDR_SPI  
with DDRB.  
160  
ATmega16/32/64/M1/C1  
7647F–AVR–04/09  
 复制成功!