Pico Core
Loading...
Searching...
No Matches
reg_types.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IS_SIGNED   ((uint8_t)0x80)
 
#define IS_FLOAT   ((uint8_t)0x40)
 
#define HAS_TIMESTAMP   ((uint8_t)0x10)
 

Enumerations

enum  reg_type_t : uint8_t {
  U8 = 1 , S8 = IS_SIGNED | U8 , U16 = 2 , S16 = IS_SIGNED | 2 ,
  U32 = 4 , S32 = IS_SIGNED | 4 , U64 = 8 , S64 = IS_SIGNED | 8 ,
  Float = IS_FLOAT | 4 , Timestamp = HAS_TIMESTAMP , TimestampedU8 = HAS_TIMESTAMP | U8 , TimestampedS8 = HAS_TIMESTAMP | S8 ,
  TimestampedU16 = HAS_TIMESTAMP | U16 , TimestampedS16 = HAS_TIMESTAMP | S16 , TimestampedU32 = HAS_TIMESTAMP | U32 , TimestampedS32 = HAS_TIMESTAMP | S32 ,
  TimestampedU64 = HAS_TIMESTAMP | U64 , TimestampedS64 = HAS_TIMESTAMP | S64 , TimestampedFloat = HAS_TIMESTAMP | Float
}
 

Macro Definition Documentation

◆ HAS_TIMESTAMP

#define HAS_TIMESTAMP   ((uint8_t)0x10)

◆ IS_FLOAT

#define IS_FLOAT   ((uint8_t)0x40)

◆ IS_SIGNED

#define IS_SIGNED   ((uint8_t)0x80)

Enumeration Type Documentation

◆ reg_type_t

enum reg_type_t : uint8_t
Enumerator
U8 
S8 
U16 
S16 
U32 
S32 
U64 
S64 
Float 
Timestamp 
TimestampedU8 
TimestampedS8 
TimestampedU16 
TimestampedS16 
TimestampedU32 
TimestampedS32 
TimestampedU64 
TimestampedS64 
TimestampedFloat