![]() |
LIN_master
0.1
Arduino LIN master emulation with preemptive background operation
|
LIN master emulation library for Serial1. More...
Go to the source code of this file.
Data Structures | |
class | LIN_Master_1 |
LIN master node class. More... | |
Functions | |
void | LIN_master1_send (void) |
Wrapper for LIN_master1 transmission handler. More... | |
void | LIN_master1_receive (void) |
Wrapper for LIN_master1 reception handler. More... | |
void | LIN_master1_copy (uint8_t numData, uint8_t *data) |
Wrapper for LIN_master1 default receive callback function. More... | |
Variables | |
LIN_Master_1 | LIN_master1 |
instance of LIN master via Serial1 | |
LIN master emulation library for Serial1.
This library provides a master node emulation for a LIN bus via Serial1. For an explanation of the LIN bus and protocol e.g. see https://en.wikipedia.org/wiki/Local_Interconnect_Network
Definition in file LIN_master1.h.
void LIN_master1_copy | ( | uint8_t | numData, |
uint8_t * | data | ||
) |
Wrapper for LIN_master1 default receive callback function.
Wrapper for LIN_master1 default receive callback function for receiveSlaveResponse(). Just copies data to a specified buffer.
Definition at line 79 of file LIN_master1.cpp.
void LIN_master1_receive | ( | void | ) |
Wrapper for LIN_master1 reception handler.
Wrapper for LIN_master1 reception handler. This is required for task scheduler access to non-static member functions.
Definition at line 65 of file LIN_master1.cpp.
void LIN_master1_send | ( | void | ) |
Wrapper for LIN_master1 transmission handler.
Wrapper for LIN_master1 transmission handler. This is required for task scheduler access to non-static member functions.
Definition at line 51 of file LIN_master1.cpp.