AGHAF  4.5.1
Annecy electronique Generic Hardware Access Framework
aghaf_lin_enums.h
Go to the documentation of this file.
1 
5 #ifndef AGHAF_LIN_ENUMS_H
6 #define AGHAF_LIN_ENUMS_H
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
14 
18 #define AGHAF_LIN_PUBLISH_AUTO_PID (1<<0)
21 #define AGHAF_LIN_PUBLISH_EVT_TRIG (1<<1)
25 
27 typedef enum {
36 
38 typedef enum
39 {
43 
45 typedef enum {
53 
55 typedef enum {
59 
61 typedef enum {
65 
67 typedef enum {
72 
74 typedef enum {
78 
80 typedef enum {
85 
90 
95 
101 
108 
115 
123 
125 
126 #ifdef __cplusplus
127 }
128 #endif
129 
130 #endif
AGHAF_LIN_Event
Possible event reporting.
Definition: aghaf_lin_enums.h:45
@ AGHAF_LIN_EVENT_SPY
Report events for configured and unconfigured frame identifiers. TX events contain the transmitted da...
Definition: aghaf_lin_enums.h:51
@ AGHAF_LIN_EVENT_TXDATA
Report events for configured frame identifiers. TX events contain the transmitted data.
Definition: aghaf_lin_enums.h:50
@ AGHAF_LIN_EVENT_STANDARD
Report events for configured frame identifiers. TX events do not contain the transmitted data.
Definition: aghaf_lin_enums.h:49
@ AGHAF_LIN_EVENT_NONE
Definition: aghaf_lin_enums.h:46
AGHAF_LIN_BusState
Enumeration of the bus states.
Definition: aghaf_lin_enums.h:39
@ AGHAF_LIN_BUSSTATE_SLEEP
Bus sleep.
Definition: aghaf_lin_enums.h:40
@ AGHAF_LIN_BUSSTATE_OPER
Operational.
Definition: aghaf_lin_enums.h:41
AGHAF_LIN_Error
enumerator to describe the error on the bus
Definition: aghaf_lin_enums.h:27
@ AGHAF_LIN_ERROR_BIT
Readback not correct when transmitting header or data.
Definition: aghaf_lin_enums.h:28
@ AGHAF_LIN_ERROR_HDR_PARITY
Parity error in received identifier.
Definition: aghaf_lin_enums.h:32
@ AGHAF_LIN_ERROR_HDR_SYNC_TOL
Recieved synch field is out of tolerance (Baudrate +/-15%)
Definition: aghaf_lin_enums.h:33
@ AGHAF_LIN_ERROR_HDR_SYNCH
Inconsistent Synch Field received.
Definition: aghaf_lin_enums.h:31
@ AGHAF_LIN_ERROR_HDR_TIMEOUT
Timeout for header reception (No synch and ident byte received before HEADER_MAX timeout.
Definition: aghaf_lin_enums.h:34
@ AGHAF_LIN_ERROR_RTS
Response too short (Not all data received before FRAME_MAX timeout or Framing error)
Definition: aghaf_lin_enums.h:30
@ AGHAF_LIN_ERROR_CHKSUM
Received checksum is invalid.
Definition: aghaf_lin_enums.h:29
AGHAF_LIN_Version
Possible version for LIN.
Definition: aghaf_lin_enums.h:55
@ AGHAF_LIN_VERSION_2
LIN version 2.x.
Definition: aghaf_lin_enums.h:57
@ AGHAF_LIN_VERSION_1
LIN version 1.3.
Definition: aghaf_lin_enums.h:56
AGHAF_LIN_Mode
Possible modes for LIN.
Definition: aghaf_lin_enums.h:61
@ AGHAF_LIN_MODE_MASTER
LIN master.
Definition: aghaf_lin_enums.h:63
@ AGHAF_LIN_MODE_SLAVE
LIN slave.
Definition: aghaf_lin_enums.h:62
AGHAF_LIN_FrameKind
Frame kind.
Definition: aghaf_lin_enums.h:67
@ AGHAF_LIN_FRAME_KIND_SUBSCRIBE
Receive the response.
Definition: aghaf_lin_enums.h:70
@ AGHAF_LIN_FRAME_KIND_PUBLISH
Transmits the response.
Definition: aghaf_lin_enums.h:69
@ AGHAF_LIN_FRAME_KIND_IGNORE
Doesn't transmit and doesn't receive the response.
Definition: aghaf_lin_enums.h:68
AGHAF_LIN_ScheduleKind
Schedule kind.
Definition: aghaf_lin_enums.h:74
@ AGHAF_LIN_SCHEDULE_KIND_LOOP
Schedule table run in loop.
Definition: aghaf_lin_enums.h:76
@ AGHAF_LIN_SCHEDULE_KIND_ONCE
Schedule table run once.
Definition: aghaf_lin_enums.h:75
AGHAF_LIN_Param
List of parameters used to configure a KLINE bus.
Definition: aghaf_lin_enums.h:80
@ AGHAF_LIN_PARAM_BAUDRATE
Definition: aghaf_lin_enums.h:100
@ AGHAF_LIN_PARAM_WAKEUP_COUNT
Definition: aghaf_lin_enums.h:107
@ AGHAF_LIN_PARAM_EVENT
Definition: aghaf_lin_enums.h:84
@ AGHAF_LIN_PARAM_TIME_BASE
Definition: aghaf_lin_enums.h:121
@ AGHAF_LIN_PARAM_VERSION
Definition: aghaf_lin_enums.h:89
@ AGHAF_LIN_PARAM_WAKEUP_DELAY
Definition: aghaf_lin_enums.h:114
@ AGHAF_LIN_PARAM_MODE
Definition: aghaf_lin_enums.h:94