Documentation
¶
Index ¶
Constants ¶
View Source
const ( MspAPIVersion = 1 MspFCVariant = 2 MspFCVersion = 3 MspBoardInfo = 4 MspBuildInfo = 5 MspFeature = 36 MspSetFeature = 37 MspCFSerialConfig = 54 MspSetCFSerialConfig = 55 MspRXMap = 64 MspReboot = 68 MspPID = 112 MspSetRawRC = 200 MspSetPID = 202 MspEepromWrite = 250 MspDebugMsg = 253 )
View Source
const ( SerialFunctionMSP = 1 << 0 SerialFunctionDebugTrace = 1 << 15 )
View Source
const (
MspFCFeatureDebugTrace = 1 << 31
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MSP ¶
type MSP struct {
// contains filtered or unexported fields
}
func (*MSP) Close ¶
Close closes the underlying serial port. Note that reading from or writing to a closed MSP will cause a panic.
func (*MSP) RebootIntoBootloader ¶
RebootIntoBootloader reboots the board into bootloader mode
type MSPFrame ¶
func (*MSPFrame) BytesRemaining ¶
Click to show internal directories.
Click to hide internal directories.