Electronic Components Datasheet Search
  English  ▼

X  

AN1278 Datasheet(PDF) 20 Page - STMicroelectronics

Part # AN1278
Description  Many mechanical components in the automotive sector have been replaced
PDF  44 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1278 Datasheet(HTML) 20 Page - STMicroelectronics

Back Button AN1278 Datasheet HTML 16Page - STMicroelectronics AN1278 Datasheet HTML 17Page - STMicroelectronics AN1278 Datasheet HTML 18Page - STMicroelectronics AN1278 Datasheet HTML 19Page - STMicroelectronics AN1278 Datasheet HTML 20Page - STMicroelectronics AN1278 Datasheet HTML 21Page - STMicroelectronics AN1278 Datasheet HTML 22Page - STMicroelectronics AN1278 Datasheet HTML 23Page - STMicroelectronics AN1278 Datasheet HTML 24Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 20 / 44 page
background image
20/44
LIN (LOCAL INTERCONNECT NETWORK) SOLUTIONS
#define RESYNCH
3.4 APPLICATION INTERFACE: LIN_AI.C
This file is the application interface and should be filled by the user. In this way the user can
define the LIN communication of his application.
The lin_ai.c file consists of:
The ID_Table variable
You fill this variable to define the identifiers of the LIN frames that the application has to
handle.
Each member of this list corresponds to a LIN frame and its corresponding identifier. Each
member is of type
t_id_list (See 3.2.1 Type definition) and has to be defined in the following
way:
{
identifier, direction, data length}
identifier represents the whole identifier byte including the parity bits.
direction represents the data flow direction, is of type t_message_direction and should there-
fore be set to
ID_DATAREQUEST for data being requested by the master and to be sent by
the application/slave or to
ID_DATASENT for data being sent by the master to the application/
slave.
data length represents the number of data bytes of the corresponding frame. It can be set be-
tween 0 to 8.
Note: The LIN protocol specification gives some advice concerning the coding of the data
length through the ID5 and ID4 bits in the identifier byte. But this coding is no longer manda-
tory since revision 1.2 of the specification.
The number of members has to be entered in the lin_config.h file (See 3.3 LIN Configuration
File: lin_config.h).
3 Notification functions
The LIN software is interrupt driven which means you do not have to poll any variables to
handle LIN communication. When activity appears on the LIN bus, the LIN interrupt service
routine is entered and starts decoding the LIN frame. Once the LIN software is able to notify an
#define
RESYNCH
description
Can only be defined if UART_TIMERA or
UART_TIMERB has been defined.
If the application is working with an inaccurate clock
the LIN software is able to resynchronize to the
master clock (refer to the LIN protocol). Define this
symbol to activate this feature.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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