| Electronic Components Datasheet Search |
|
AN2038 Datasheet(PDF) 20 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2038 Datasheet(HTML) 20 Page - STMicroelectronics |
|
20 / 23 page ![]() Function description AN2038 20/23 Function Name Input Parameter Return Value Test_STX_Presence void True or False Description This function returns true if STX byte is present in the read buffer, otherwise it returns false. Function Name Input Parameter Return Value Fill_Data_In void void Description This function fills the Data_In buffer with the byte present in the read buffer I2C_Datas_R and test the ETX presence. Function Name Input Parameter Return Value Fill_Data_valid void void Description This function extracts the D1, D2, Dn byte from Data_In buffer and put them into Valid_Data_In buffer. Function Name Input Parameter Return Value LINK_protocol void void Description This function performs the dispatching of the commands. This function should be called inside the main loop of the application. If new data is received it tests the presence of STX calling "Test_ETX_Presence", if STX is present the Checksum is tested calling "Test_Check_sum()", if the Checksum is correct the following calling will be performed: "ACK_Function" is called "Fill_Data_valid" is called "New_Cde_Detected" is called and if "Master_Querry" calls return true: "Querries_of_Master" is called. |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |