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

C8051F502-IM 参数 Datasheet PDF下载

C8051F502-IM图片预览
型号: C8051F502-IM
PDF下载: 下载PDF文件 查看货源
内容描述: 混合信号ISP功能的Flash MCU系列 [Mixed Signal ISP Flash MCU Family]
分类和应用: 微控制器和处理器外围集成电路PC时钟
文件页数/大小: 312 页 / 2813 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F502-IM的Datasheet PDF文件第257页浏览型号C8051F502-IM的Datasheet PDF文件第258页浏览型号C8051F502-IM的Datasheet PDF文件第259页浏览型号C8051F502-IM的Datasheet PDF文件第260页浏览型号C8051F502-IM的Datasheet PDF文件第262页浏览型号C8051F502-IM的Datasheet PDF文件第263页浏览型号C8051F502-IM的Datasheet PDF文件第264页浏览型号C8051F502-IM的Datasheet PDF文件第265页  
C8051F50x-F51x  
SFR Definition 25.3. SPI0CKR: SPI0 Clock Rate  
Bit  
7
6
5
4
3
2
1
0
SCR[7:0]  
R/W  
Name  
Type  
Reset  
0
0
0
0
0
0
0
0
SFR Address = 0xA2; SFR Page = 0x00  
Bit  
Name  
Function  
7:0  
SCR[7:0]  
SPI0 Clock Rate.  
These bits determine the frequency of the SCK output when the SPI0 module is  
configured for master mode operation. The SCK clock frequency is a divided ver-  
sion of the system clock, and is given in the following equation, where SYSCLK is  
the system clock frequency and SPI0CKR is the 8-bit value held in the SPI0CKR  
register.  
SYSCLK  
f
= ---------------------------------------------------------------  
SCK  
2 x SPI0CKR[7:0] + 1  
for 0 <= SPI0CKR <= 255  
Example: If SYSCLK = 2 MHz and SPI0CKR = 0x04,  
2000000  
f
= -----------------------------  
SCK  
2 x 4 + 1  
f
= 200 kHz  
SCK  
SFR Definition 25.4. SPI0DAT: SPI0 Data  
Bit  
7
6
5
4
3
2
1
0
SPI0DAT[7:0]  
R/W  
Name  
Type  
Reset  
0
0
0
0
0
0
0
0
SFR Address = 0xA3; SFR Page = 0x00  
Bit Name  
7:0 SPI0DAT[7:0] SPI0 Transmit and Receive Data.  
Function  
The SPI0DAT register is used to transmit and receive SPI0 data. Writing data to  
SPI0DAT places the data into the transmit buffer and initiates a transfer when in  
Master Mode. A read of SPI0DAT returns the contents of the receive buffer.  
Rev. 1.1  
261  
 复制成功!