LIN_master  0.1
Arduino LIN master emulation with preemptive background operation
LIN_master0.h File Reference

LIN master emulation library for Serial. More...

#include "Arduino.h"
#include "LIN_master.h"

Go to the source code of this file.

Data Structures

class  LIN_Master_0
 LIN master node class. More...
 

Functions

void LIN_master0_send (void)
 Wrapper for LIN_master0 transmission handler. More...
 
void LIN_master0_receive (void)
 Wrapper for LIN_master0 reception handler. More...
 
void LIN_master0_copy (uint8_t numData, uint8_t *data)
 Wrapper for LIN_master0 default receive callback function. More...
 

Variables

LIN_Master_0 LIN_master0
 instance of LIN master via Serial
 

Detailed Description

LIN master emulation library for Serial.

This library provides a master node emulation for a LIN bus via Serial. For an explanation of the LIN bus and protocol e.g. see https://en.wikipedia.org/wiki/Local_Interconnect_Network

Author
Georg Icking-Konert
Date
2020-03-14
Version
0.1

Definition in file LIN_master0.h.

Function Documentation

◆ LIN_master0_copy()

void LIN_master0_copy ( uint8_t  numData,
uint8_t *  data 
)

Wrapper for LIN_master0 default receive callback function.

Wrapper for LIN_master0 default receive callback function for receiveSlaveResponse(). Just copies data to a specified buffer.

Definition at line 79 of file LIN_master0.cpp.

◆ LIN_master0_receive()

void LIN_master0_receive ( void  )

Wrapper for LIN_master0 reception handler.

Wrapper for LIN_master0 reception handler. This is required for task scheduler access to non-static member functions.

Definition at line 65 of file LIN_master0.cpp.

◆ LIN_master0_send()

void LIN_master0_send ( void  )

Wrapper for LIN_master0 transmission handler.

Wrapper for LIN_master0 transmission handler. This is required for task scheduler access to non-static member functions.

Definition at line 51 of file LIN_master0.cpp.