MAV'RIC
Public Member Functions
Satellite Class Reference
Inheritance diagram for Satellite:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool init (void)=0
 Virtual function to intialize a satellite receiver.
virtual void bind (const radio_protocol_t radio_protocol)=0
 Virtual function to bind a satellite with a remote.
virtual int16_t channel (const uint8_t channel_number) const =0
 Return a channels' value.
virtual uint32_t last_update (void) const =0
 Return the last update time in microseconds.
virtual uint32_t dt (void) const =0
 Return the time difference between the last 2 updates in microseconds.

Member Function Documentation

virtual void Satellite::bind ( const radio_protocol_t  radio_protocol) [pure virtual]

Virtual function to bind a satellite with a remote.

Parameters:
radio_protocolDefine in which protocol the remote has to be binded

Implemented in Spektrum_satellite.

virtual int16_t Satellite::channel ( const uint8_t  channel_number) const [pure virtual]

Return a channels' value.

Parameters:
channel_numberThe channel ID
Returns:
Value for channel channel_number

Implemented in Spektrum_satellite.

virtual uint32_t Satellite::dt ( void  ) const [pure virtual]

Return the time difference between the last 2 updates in microseconds.

Returns:
dt

Implemented in Spektrum_satellite.

virtual uint32_t Satellite::last_update ( void  ) const [pure virtual]

Return the last update time in microseconds.

Returns:
Last update time

Implemented in Spektrum_satellite.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines