Added comments for Teensy Serial formats in Settings

This commit is contained in:
Adrien Fauconnet 2021-01-18 00:17:08 +00:00
parent 44b754a7b1
commit 28fd7f4273
1 changed files with 13 additions and 0 deletions

View File

@ -101,6 +101,19 @@ struct DefaultSettings
static const uint16_t SenderActiveSensingPeriodicity = 0;
#if defined(TEENSYDUINO)
/*! Teensy supports various Serial data formats.
This allows to use circuits that may require inversion of polarity on the RX, TX
or both signals
Format Name Data Bits Parity Stop Bits RX Polarity TX Polarity
SERIAL_8N1 8 None Normal Normal
SERIAL_8N1_RXINV 8 None Inverted Normal
SERIAL_8N1_TXINV 8 None Normal Inverted
SERIAL_8N1_RXINV_TXINV 8 None Inverted Inverted
Default is SERIAL_8N1
*/
static const uint8_t SerialFormat = SERIAL_8N1;
#endif
};