10#if defined(ARDUINO_ARCH_ESP8266)
15#ifndef _LIN_MASTER_HW_SERIAL_ESP8266_H_
16#define _LIN_MASTER_HW_SERIAL_ESP8266_H_
64 void begin(uint16_t Baudrate = 19200);
Base class for LIN master emulation (non-functional)
LIN master node base class.
state_t
state of LIN master state machine. Use bitmasks for fast checking multiple states
LIN master node class via ESP8266 HardwareSerial.
void end(void)
Close serial interface.
LIN_Master_Base::state_t _sendFrame(void)
Send LIN bytes (request frame: SYNC+ID+DATA[]+CHK; response frame: SYNC+ID)
void begin(uint16_t Baudrate=19200)
Open serial interface.
bool swapPins
use alternate pins for Serial0
LIN_Master_Base::state_t _receiveFrame(void)
Read and check LIN frame.
HardwareSerial * pSerial
serial interface used for LIN
LIN_Master_Base::state_t _sendBreak(void)
Send LIN break.