Veethree D7 SDK
Loading...
Searching...
No Matches
io_rpmsg_protocol.h File Reference

Detailed Description

Shared protocol definitions for RPMsg communication between Linux and M4.

#include <cstdint>
#include <string>
#include <variant>
Include dependency graph for io_rpmsg_protocol.h:

Go to the source code of this file.

Classes

struct  field
 Structure representing a field in a message. More...
struct  message_header
 Common header for all RPMsg messages. More...

Enumerations

enum class  field_type : uint8_t {
  int8 = 1 , uint8 = 2 , int16 = 3 , uint16 = 4 ,
  int32 = 5 , uint32 = 6 , float_type = 7 , int64 = 8 ,
  uint64 = 9
}
 Field types for RPMsg communication.
enum  command_type {
  pwm_in_config = 0 , pwm_in_get = 1 , pwm_in_start = 2 , pwm_in_stop = 3 ,
  max = 20
}
 Command types for RPMsg communication.
enum  status_code { none = 0 , success = 1 , invalid_command = 2 , invalid_parameter = 3 }
 Result codes returned from M4.

Detailed Description

Shared protocol definitions for RPMsg communication between Linux and M4.