Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN1278 Datasheet(PDF) 14 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) 14 Page - STMicroelectronics

Back Button AN1278 Datasheet HTML 10Page - STMicroelectronics AN1278 Datasheet HTML 11Page - STMicroelectronics AN1278 Datasheet HTML 12Page - STMicroelectronics AN1278 Datasheet HTML 13Page - STMicroelectronics AN1278 Datasheet HTML 14Page - STMicroelectronics AN1278 Datasheet HTML 15Page - STMicroelectronics AN1278 Datasheet HTML 16Page - STMicroelectronics AN1278 Datasheet HTML 17Page - STMicroelectronics AN1278 Datasheet HTML 18Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 44 page
background image
14/44
LIN (LOCAL INTERCONNECT NETWORK) SOLUTIONS
3.2.1 Type definition
t_error
typedef enum {NO_ERROR,BIT_ERROR,ID_PARITY_ERROR,CHECKSUM_ERROR,
NO_ID_MATCH,TIMEOUT_ERROR,DATA_RECEIVED,DATA_REQUEST,
WAKE_UP,UART_ERROR,SYNCH_BREAK_ERROR}t_error;
defines the different error code values that the software functions are able to return.
t_message_direction
typedef enum {ID_DATAREQUEST,ID_DATASENT}t_message_direction;
This type is used internally in lin.c and in lin_drv.c.
t_id_list
typedef struct{
uByte id;
t_message_direction dir;
uByte length;} t_id_list;
defines the type of an identifier list.
t_one_databyte_output
typedef struct{
t_error error_code;
uByte data_byte;} t_one_databyte_output;
defines a type of function return value consisting of an error code made up of error type and a
data byte.
t_header
typedef struct
{
uByte identifier;
uByte length;} t_header;
A LIN frame consists of a header and a response. This typedef defines the header part type.
t_response
typedef struct
{
uByte data[8];
uByte checksum;} t_response;
A LIN frame consists of a header and a response. This typedef defines the response part type.
3.2.2 User interface functions
To integrate this software into your application software you have to link 3 or 4 functions de-
fined in lin.c to your project.



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