MCPcopy Create free account
hub / github.com/MCUdude/MiniCore / SoftwareSerial

Method SoftwareSerial

avr/libraries/SoftwareSerial/src/SoftwareSerial.cpp:259–269  ·  view source on GitHub ↗

Constructor

Source from the content-addressed store, hash-verified

257// Constructor
258//
259SoftwareSerial::SoftwareSerial(int8_t receivePin, int8_t transmitPin, bool inverse_logic /* = false */) :
260 _rx_delay_centering(0),
261 _rx_delay_intrabit(0),
262 _rx_delay_stopbit(0),
263 _tx_delay(0),
264 _buffer_overflow(false),
265 _inverse_logic(inverse_logic)
266{
267 setTX(transmitPin);
268 setRX(receivePin);
269}
270
271//
272// Destructor

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected