| Electronic Components Datasheet Search |
|
AN1278 Datasheet(PDF) 21 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1278 Datasheet(HTML) 21 Page - STMicroelectronics |
|
21 / 44 page ![]() 21/44 LIN (LOCAL INTERCONNECT NETWORK) SOLUTIONS event to the application, one of the 3 notification functions is called. These functions are deliv- ered empty and by expanding them the user is able to fully define his application LIN commu- nication. The 3 functions correspond to the 3 kinds of events: Function uByte * DataRequest_Notification(@tiny t_header *header) Parameters pointer to a variable of type t_header Return value pointer to an array Description This function is called on reception of a LIN header which requests data i.e. which is defined in the ID_Table with the qualifier “ID_DATAREQUEST”. The function passes the received header as a pointer. The user has to complete this function and return a pointer to the array containing the data to be sent. Note: The data bytes are buffered by the LIN software just after this func- tion call so that the user does not have to handle data sharing between the application and the LIN software. Function void DataReceived_Notification(@tiny t_header *header, @tiny t_response *response) Parameters pointer to a variable of type t_header, pointer to a variable of type t_response Return value none Description This function is called upon the reception of a LIN header and response which was sent by the master to the application i.e. which is defined in the ID_Table with the qualifier“ID_DATASENT”. The function passes the re- ceived header and response as a pointer. The user has to complete this function to handle the received data. Function void Error_Notification(t_error error_code) Parameters variable of type t_error Return value none Description This function is called upon the detection of an error. The function passes the type of error (See t_error type definition in 3.2.1 Type definition). The user has to complete this function if special action has to be taken in case of errors. |
|
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 |