#include "target.h"
Go to the source code of this file.
|
enum | serialPortIdentifier_e {
SERIAL_PORT_NONE = -1,
SERIAL_PORT_UART1 = 0,
SERIAL_PORT_UART2,
SERIAL_PORT_UART3,
SERIAL_PORT_UART4,
SERIAL_PORT_UART5,
SERIAL_PORT_USB_VCP = 20,
SERIAL_PORT_SOFTSERIAL1 = 30,
SERIAL_PORT_SOFTSERIAL2,
SERIAL_PORT_IDENTIFIER_MAX = SERIAL_PORT_SOFTSERIAL2
} |
| serial port identifiers More...
|
|
enum | portSharing_e { PORTSHARING_UNUSED = 0,
PORTSHARING_NOT_SHARED,
PORTSHARING_SHARED
} |
|
enum | serialPortFunction_e {
FUNCTION_NONE = 0,
FUNCTION_MSP = (1 << 0),
FUNCTION_GPS = (1 << 1),
FUNCTION_TELEMETRY_FRSKY = (1 << 2),
FUNCTION_TELEMETRY_HOTT = (1 << 3),
FUNCTION_TELEMETRY_LTM = (1 << 4),
FUNCTION_TELEMETRY_SMARTPORT = (1 << 5),
FUNCTION_RX_SERIAL = (1 << 6),
FUNCTION_BLACKBOX = (1 << 7),
FUNCTION_TELEMETRY_MAVLINK = (1 << 8)
} |
|
enum | baudRate_e {
BAUD_AUTO = 0,
BAUD_9600,
BAUD_19200,
BAUD_38400,
BAUD_57600,
BAUD_115200,
BAUD_230400,
BAUD_250000
} |
|
Enumerator |
---|
BAUD_AUTO |
|
BAUD_9600 |
|
BAUD_19200 |
|
BAUD_38400 |
|
BAUD_57600 |
|
BAUD_115200 |
|
BAUD_230400 |
|
BAUD_250000 |
|
Enumerator |
---|
PORTSHARING_UNUSED |
|
PORTSHARING_NOT_SHARED |
|
PORTSHARING_SHARED |
|
Enumerator |
---|
FUNCTION_NONE |
|
FUNCTION_MSP |
|
FUNCTION_GPS |
|
FUNCTION_TELEMETRY_FRSKY |
|
FUNCTION_TELEMETRY_HOTT |
|
FUNCTION_TELEMETRY_LTM |
|
FUNCTION_TELEMETRY_SMARTPORT |
|
FUNCTION_RX_SERIAL |
|
FUNCTION_BLACKBOX |
|
FUNCTION_TELEMETRY_MAVLINK |
|
serial port identifiers
Enumerator |
---|
SERIAL_PORT_NONE |
|
SERIAL_PORT_UART1 |
|
SERIAL_PORT_UART2 |
|
SERIAL_PORT_UART3 |
|
SERIAL_PORT_UART4 |
|
SERIAL_PORT_UART5 |
|
SERIAL_PORT_USB_VCP |
|
SERIAL_PORT_SOFTSERIAL1 |
|
SERIAL_PORT_SOFTSERIAL2 |
|
SERIAL_PORT_IDENTIFIER_MAX |
|
uint8_t blackbox_baudrateIndex |
uint8_t gps_baudrateIndex |
uint8_t msp_baudrateIndex |
uint8_t telemetry_baudrateIndex |