#include <msp_msg.hpp>
Public Member Functions | |
virtual bool | decode (const ByteVector &data) override |
Decode message contents from a ByteVector. | |
virtual ID | id () const override |
get the ID of the message | |
MotorPins (FirmwareVariant v) | |
virtual std::ostream & | print (std::ostream &s) const override |
Public Attributes | |
Value< uint8_t > | pwm_pin [N_MOTOR] |
Definition at line 3425 of file msp_msg.hpp.
msp::msg::MotorPins::MotorPins | ( | FirmwareVariant | v | ) | [inline] |
Definition at line 3426 of file msp_msg.hpp.
virtual bool msp::msg::MotorPins::decode | ( | const ByteVector & | ) | [inline, override, virtual] |
Decode message contents from a ByteVector.
data | Source of data |
Reimplemented from msp::Message.
Definition at line 3432 of file msp_msg.hpp.
virtual ID msp::msg::MotorPins::id | ( | ) | const [inline, override, virtual] |
get the ID of the message
Implements msp::Message.
Definition at line 3428 of file msp_msg.hpp.
virtual std::ostream& msp::msg::MotorPins::print | ( | std::ostream & | s | ) | const [inline, override, virtual] |
Reimplemented from msp::Message.
Definition at line 3438 of file msp_msg.hpp.
Value<uint8_t> msp::msg::MotorPins::pwm_pin[N_MOTOR] |
Definition at line 3430 of file msp_msg.hpp.