SerialIO
Loading...
Searching...
No Matches
fport Class Reference
Inheritance diagram for fport:
[legend]
Collaboration diagram for fport:
[legend]

Public Member Functions

 fport (Stream *rxPort, int rxPin=-1, int txPin=-1, bool inverted=true)
 
void begin () override
 Initialises the pins and setup serial port.
 
void processIncoming () override
 decode the incoming serial data.
 
void getChannel (rc_channels_t *channelData) override
 Get the ChannelData.
 
void crc ()
 
- Public Member Functions inherited from SerialIO
 SerialIO (Stream *rxPort, int rxPin, int txPin, bool inverted)
 Constructor for the SerialIO class.
 

Additional Inherited Members

- Protected Member Functions inherited from SerialIO
void leftShift (uint8_t arr[], size_t size)
 
void rightShift (uint8_t arr[], size_t size)
 
- Protected Attributes inherited from SerialIO
Stream * _rxPort
 
bool _inverted
 
int _rxPin
 
int _txPin
 

Member Function Documentation

◆ begin()

void fport::begin ( )
overridevirtual

Initialises the pins and setup serial port.

Implements SerialIO.

◆ getChannel()

void fport::getChannel ( rc_channels_t * channelData)
overridevirtual

Get the ChannelData.

Implements SerialIO.

◆ processIncoming()

void fport::processIncoming ( )
overridevirtual

decode the incoming serial data.

Implements SerialIO.


The documentation for this class was generated from the following files: