LIN_master  0.1
Arduino LIN master emulation with preemptive background operation
LIN_master0.h
Go to the documentation of this file.
1 
11 /*-----------------------------------------------------------------------------
12  MODULE DEFINITION FOR MULTIPLE INCLUSION
13 -----------------------------------------------------------------------------*/
14 #ifndef _LIN_MASTER0_H_
15 #define _LIN_MASTER0_H_
16 
17 // only compile if controller supports Serial
18 #if defined(HAVE_HWSERIAL0) || defined(SERIAL_PORT_HARDWARE)
19 
20 
21 /*-----------------------------------------------------------------------------
22  INCLUDE FILES
23 -----------------------------------------------------------------------------*/
24 
25 // include required libraries
26 #include "Arduino.h"
27 #include "LIN_master.h"
28 
29 
30 /*-----------------------------------------------------------------------------
31  GLOBAL CLASS
32 -----------------------------------------------------------------------------*/
38 class LIN_Master_0 : public LIN_Master
39 {
40  public:
41 
42  // public methods
43  LIN_Master_0();
44 };
45 
46 // external reference to LIN_master0
48 
50 void LIN_master0_send(void);
51 
53 void LIN_master0_receive(void);
54 
56 void LIN_master0_copy(uint8_t numData, uint8_t *data);
57 
58 #endif // HAVE_HWSERIAL0 || SERIAL_PORT_HARDWARE
59 
60 /*-----------------------------------------------------------------------------
61  END OF MODULE DEFINITION FOR MULTIPLE INLUSION
62 -----------------------------------------------------------------------------*/
63 #endif // _LIN_MASTER0_H_
LIN_Master_0()
class constructor
Definition: LIN_master0.cpp:24
void LIN_master0_receive(void)
Wrapper for LIN_master0 reception handler.
Definition: LIN_master0.cpp:65
LIN_Master_0 LIN_master0
instance of LIN master via Serial
Definition: LIN_master0.cpp:17
Base class for LIN master emulation.
void LIN_master0_copy(uint8_t numData, uint8_t *data)
Wrapper for LIN_master0 default receive callback function.
Definition: LIN_master0.cpp:79
LIN master node class.
Definition: LIN_master0.h:38
LIN master node base class.
Definition: LIN_master.h:104
void LIN_master0_send(void)
Wrapper for LIN_master0 transmission handler.
Definition: LIN_master0.cpp:51