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

ATMEGA169PV 参数 Datasheet PDF下载

ATMEGA169PV图片预览
型号: ATMEGA169PV
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器,带有16K字节的系统内可编程闪存 [Microcontroller with 16K Bytes In-System Programmable Flash]
分类和应用: 闪存微控制器
文件页数/大小: 390 页 / 3485 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA169PV的Datasheet PDF文件第206页浏览型号ATMEGA169PV的Datasheet PDF文件第207页浏览型号ATMEGA169PV的Datasheet PDF文件第208页浏览型号ATMEGA169PV的Datasheet PDF文件第209页浏览型号ATMEGA169PV的Datasheet PDF文件第211页浏览型号ATMEGA169PV的Datasheet PDF文件第212页浏览型号ATMEGA169PV的Datasheet PDF文件第213页浏览型号ATMEGA169PV的Datasheet PDF文件第214页  
Table 19-2 shows the relationship between the USICS1:0 and USICLK setting and clock source  
used for the Shift Register and the 4-bit counter.  
Table 19-2. Relations between the USICS1:0 and USICLK Setting  
USICS1  
USICS0  
USICLK  
Shift Register Clock Source  
4-bit Counter Clock Source  
0
0
0
No Clock  
No Clock  
Software clock strobe  
(USICLK)  
Software clock strobe  
(USICLK)  
0
0
0
1
1
Timer/Counter0 Compare  
Match  
Timer/Counter0 Compare  
Match  
X
1
1
1
1
0
1
0
1
0
0
1
1
External, positive edge  
External, negative edge  
External, positive edge  
External, negative edge  
External, both edges  
External, both edges  
Software clock strobe (USITC)  
Software clock strobe (USITC)  
• Bit 1 – USICLK: Clock Strobe  
Writing a one to this bit location strobes the Shift Register to shift one step and the counter to  
increment by one, provided that the USICS1..0 bits are set to zero and by doing so the software  
clock strobe option is selected. The output will change immediately when the clock strobe is exe-  
cuted, i.e., in the same instruction cycle. The value shifted into the Shift Register is sampled the  
previous instruction cycle. The bit will be read as zero.  
When an external clock source is selected (USICS1 = 1), the USICLK function is changed from  
a clock strobe to a Clock Select Register. Setting the USICLK bit in this case will select the  
USITC strobe bit as clock source for the 4-bit counter (see Table 19-2).  
• Bit 0 – USITC: Toggle Clock Port Pin  
Writing a one to this bit location toggles the USCK/SCL value either from 0 to 1, or from 1 to 0.  
The toggling is independent of the setting in the Data Direction Register, but if the PORT value is  
to be shown on the pin the DDRE4 must be set as output (to one). This feature allows easy clock  
generation when implementing master devices. The bit will be read as zero.  
When an external clock source is selected (USICS1 = 1) and the USICLK bit is set to one, writ-  
ing to the USITC strobe bit will directly clock the 4-bit counter. This allows an early detection of  
when the transfer is done when operating as a master device.  
210  
ATmega169P  
8018A–AVR–03/06  
 复制成功!