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