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

C8051F530-IM 参数 Datasheet PDF下载

C8051F530-IM图片预览
型号: C8051F530-IM
PDF下载: 下载PDF文件 查看货源
内容描述: 8/4/2 KB ISP功能的Flash MCU系列 [8/4/2 kB ISP Flash MCU Family]
分类和应用:
文件页数/大小: 220 页 / 2701 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F530-IM的Datasheet PDF文件第148页浏览型号C8051F530-IM的Datasheet PDF文件第149页浏览型号C8051F530-IM的Datasheet PDF文件第150页浏览型号C8051F530-IM的Datasheet PDF文件第151页浏览型号C8051F530-IM的Datasheet PDF文件第153页浏览型号C8051F530-IM的Datasheet PDF文件第154页浏览型号C8051F530-IM的Datasheet PDF文件第155页浏览型号C8051F530-IM的Datasheet PDF文件第156页  
C8051F52x-53x  
The LIN peripheral is made of four major logic groups:  
LIN Interface Registers - Provide the interface between the microcontroller core and the peripheral.  
Data Buffer - Contains the registers where transmitted and received message data bytes are placed  
Registers Block - Contain all registers used to control the functionality of the interface  
Control State Machine and Bit Streaming Logic - Contains the hardware the serializes messages and  
the timing control of the peripheral.  
The LIN module does not directly support LIN Version 1.3 Extended Frames. In the case of a slave config-  
uration if the application detects an extended frame it has to write a ‘1’ to the STOP bit (LINCTRL) instead  
of setting the DTACK bit (steps 1b...1e can then be skipped). In that case the LIN peripheral stops the pro-  
cessing of the LIN communication until the next SYNC BREAK is received.  
17.2. Software Interface with the LIN Peripheral  
The communication with the LIN interface is done indirectly through a pair of registers called LINADDR  
and LINDATA and the Selection of the mode (Master or Slave) and the automatic baud rate feature are  
done though the LINCF register. To write into a specific register other than these three ones require the  
user to first load the LINADDR register with the address of the required LIN register and then load the data  
to be transferred to the register using LINDATA.  
In the following example the program reads the value of the LIN ERR Register into an auxiliary variable.  
LINADDR = 0x0A;  
aux = LINDATA;  
//Address of LINERR  
//Read content of LINERR into aux  
152  
Rev. 0.3  
 复制成功!