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

90USB82-16MU 参数 Datasheet PDF下载

90USB82-16MU图片预览
型号: 90USB82-16MU
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器具有ISP功能的Flash 8 / 16K字节 [8-bit Microcontroller with 8/16K Bytes of ISP Flash]
分类和应用: 微控制器和处理器外围集成电路异步传输模式ATM时钟
文件页数/大小: 306 页 / 2299 K
品牌: ATMEL [ ATMEL ]
 浏览型号90USB82-16MU的Datasheet PDF文件第139页浏览型号90USB82-16MU的Datasheet PDF文件第140页浏览型号90USB82-16MU的Datasheet PDF文件第141页浏览型号90USB82-16MU的Datasheet PDF文件第142页浏览型号90USB82-16MU的Datasheet PDF文件第144页浏览型号90USB82-16MU的Datasheet PDF文件第145页浏览型号90USB82-16MU的Datasheet PDF文件第146页浏览型号90USB82-16MU的Datasheet PDF文件第147页  
AT90USB82/162  
and SPIF in SPSR will become set. The user will then have to set MSTR to re-enable SPI Mas-  
ter mode.  
• Bit 3 – CPOL: Clock Polarity  
When this bit is written to one, SCK is high when idle. When CPOL is written to zero, SCK is low  
when idle. Refer to Figure 16-3 and Figure 16-4 for an example. The CPOL functionality is sum-  
marized below:  
Table 16-2. CPOL Functionality  
CPOL  
Leading Edge  
Rising  
Trailing Edge  
Falling  
0
1
Falling  
Rising  
• Bit 2 – CPHA: Clock Phase  
The settings of the Clock Phase bit (CPHA) determine if data is sampled on the leading (first) or  
trailing (last) edge of SCK. Refer to Figure 16-3 and Figure 16-4 for an example. The CPOL  
functionality is summarized below:  
Table 16-3. CPHA Functionality  
CPHA  
Leading Edge  
Sample  
Trailing Edge  
Setup  
0
1
Setup  
Sample  
• Bits 1, 0 – SPR1, SPR0: SPI Clock Rate Select 1 and 0  
These two bits control the SCK rate of the device configured as a Master. SPR1 and SPR0 have  
no effect on the Slave. The relationship between SCK and the Oscillator Clock frequency fosc is  
shown in the following table:  
Table 16-4. Relationship Between SCK and the Oscillator Frequency  
SPI2X  
SPR1  
SPR0  
SCK Frequency  
fosc/4  
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
fosc/16  
fosc/64  
fosc/128  
fosc/2  
fosc/8  
fosc/32  
fosc/64  
16.1.4  
SPI Status Register – SPSR  
Bit  
7
6
5
R
0
4
R
0
3
R
0
2
R
0
1
R
0
0
SPIF  
R
WCOL  
SPI2X  
R/W  
0
SPSR  
Read/Write  
Initial Value  
R
0
0
• Bit 7 – SPIF: SPI Interrupt Flag  
143  
7707D–AVR–07/08  
 复制成功!