LIN_master  0.1
Arduino LIN master emulation with preemptive background operation
LIN_master1.h
Go to the documentation of this file.
1 
11 /*-----------------------------------------------------------------------------
12  MODULE DEFINITION FOR MULTIPLE INCLUSION
13 -----------------------------------------------------------------------------*/
14 #ifndef _LIN_MASTER1_H_
15 #define _LIN_MASTER1_H_
16 
17 // only compile if controller supports Serial1
18 #if defined(HAVE_HWSERIAL1) || defined(SERIAL_PORT_HARDWARE1)
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_1 : public LIN_Master
39 {
40  public:
41 
42  // public methods
43  LIN_Master_1();
44 };
45 
46 // external reference to LIN_master1
48 
50 void LIN_master1_send(void);
51 
53 void LIN_master1_receive(void);
54 
56 void LIN_master1_copy(uint8_t numData, uint8_t *data);
57 
58 #endif // HAVE_HWSERIAL1 || SERIAL_PORT_HARDWARE1
59 
60 /*-----------------------------------------------------------------------------
61  END OF MODULE DEFINITION FOR MULTIPLE INLUSION
62 -----------------------------------------------------------------------------*/
63 #endif // _LIN_MASTER1_H_
LIN_Master_1()
class constructor
Definition: LIN_master1.cpp:24
LIN_Master_1 LIN_master1
instance of LIN master via Serial1
Definition: LIN_master1.cpp:17
void LIN_master1_receive(void)
Wrapper for LIN_master1 reception handler.
Definition: LIN_master1.cpp:65
Base class for LIN master emulation.
LIN master node base class.
Definition: LIN_master.h:104
void LIN_master1_send(void)
Wrapper for LIN_master1 transmission handler.
Definition: LIN_master1.cpp:51
void LIN_master1_copy(uint8_t numData, uint8_t *data)
Wrapper for LIN_master1 default receive callback function.
Definition: LIN_master1.cpp:79
LIN master node class.
Definition: LIN_master1.h:38