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

AN2961 参数 Datasheet PDF下载

AN2961图片预览
型号: AN2961
PDF下载: 下载PDF文件 查看货源
内容描述: []
分类和应用:
文件页数/大小: 50 页 / 706 K
品牌: FREESCALE [ Freescale ]
 浏览型号AN2961的Datasheet PDF文件第16页浏览型号AN2961的Datasheet PDF文件第17页浏览型号AN2961的Datasheet PDF文件第18页浏览型号AN2961的Datasheet PDF文件第19页浏览型号AN2961的Datasheet PDF文件第21页浏览型号AN2961的Datasheet PDF文件第22页浏览型号AN2961的Datasheet PDF文件第23页浏览型号AN2961的Datasheet PDF文件第24页  
Function Headers and Description  
10.2 Status Functions  
10.2.1 Echo_DriverStatus  
tECHO_STATUS Echo_DriverStatus(void);  
Syntax:  
Parameters: None  
Return:  
16-bit flag word indicating the status of the driver.  
Description: Indicates the status of the device driver via the bit flags returned. The format of the status  
word is detailed in Section 8, “Status Word.”  
Notes:  
This service must be called before attempting to read from the Rx buffer to ensure there is  
valid data in the buffer at echoNextMessage(if a message has been received).  
10.2.2 Echo_ClearError  
void Echo_ClearError(void);  
Syntax:  
Parameters: None  
Return:  
None  
Description: Clears the error and timeout bits.  
10.3 Message Sending Functions  
10.3.1 Echo_SendPreambleID  
void Echo_SendPreambleID(void);  
Syntax:  
Parameters: None  
Return:  
None  
Description: Switches to transmit mode and initiates sending a message consisting of a preamble  
sequence followed by the target device ID. The ID is read from the ID byte in the Tx buffer,  
with the number of bits defined by the ECHO_ID_LENGTHconfiguration option. During  
transmission, the status flag BusyTx is set.  
Notes:  
If ECHO_ID_LENGTHis less than eight, the ID should reside in the bottom ECHO_ID_LENGTH  
bits of the ID byte. This service does not switch back to receive mode and should be used  
with the Echo_SendData() service to send complete messages and return to receive mode  
(see Figure 8). Before using this function to switch driver mode (both banks are enabled),  
the right bank of registers must be set by Echo_ChangeBank(ECHO_BANK_x).  
Software Drivers for MC33696, Rev. 1  
20  
Freescale Semiconductor  
 复制成功!