UIC-751-3 ground-train or train-ground decoder.
More...
#include <DataCodecs.h>
|
| | UICCodec (bool trainToGround=false) |
| void | setTrainToGround (bool flag) |
| size_t | decode (Print &out, uint64_t input, unsigned) override |
| | Decodes the data bits of a frame: returns the number of written bytes.
|
| virtual | ~DataCodec ()=default |
| virtual void | reset () |
| | resets the internal state (called when the carrier is acquired)
|
| virtual int | encode (uint32_t words[2], uint8_t ch) |
| | Converts a character into 0, 1 or 2 data words: returns the count.
|
|
| const char * | meaning (unsigned code) |
UIC-751-3 ground-train or train-ground decoder.
◆ UICCodec()
| tinymodem::UICCodec::UICCodec |
( |
bool | trainToGround = false | ) |
|
|
inline |
◆ decode()
| size_t tinymodem::UICCodec::decode |
( |
Print & | out, |
|
|
uint64_t | bits, |
|
|
unsigned | n_bits ) |
|
inlineoverridevirtual |
Decodes the data bits of a frame: returns the number of written bytes.
Implements tinymodem::DataCodec.
◆ meaning()
| const char * tinymodem::UICCodec::meaning |
( |
unsigned | code | ) |
|
|
inlineprotected |
◆ setTrainToGround()
| void tinymodem::UICCodec::setTrainToGround |
( |
bool | flag | ) |
|
|
inline |
◆ train
| bool tinymodem::UICCodec::train = false |
|
protected |
The documentation for this class was generated from the following file: