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

LIN master emulation library for Serial1. More...

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

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
 

Detailed Description

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

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

Definition in file LIN_master1.h.

Function Documentation

◆ LIN_master1_copy()

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.

◆ LIN_master1_receive()

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.

◆ LIN_master1_send()

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.