MatrixMiniR4 1.1.5
Matrix Mini R4 Arduino Library API Documentation
Loading...
Searching...
No Matches
BitConverter.h
Go to the documentation of this file.
1
6#ifndef BITCONVERTER_H
7#define BITCONVERTER_H
8
9#include <stdint.h>
10
15{
16public:
17 static uint32_t ToUInt32(uint8_t* value, int startIdx);
18 static uint16_t ToUInt16(uint8_t* value, int startIdx);
19
20 static int32_t ToInt32(uint8_t* value, int startIdx);
21 static int16_t ToInt16(uint8_t* value, int startIdx);
22 static void GetBytes(uint8_t* buff, uint32_t value);
23 static void GetBytes(uint8_t* buff, int32_t value);
24 static void GetBytes(uint8_t* buff, uint16_t value);
25 static void GetBytes(uint8_t* buff, int16_t value);
26
27private:
28};
29
30#endif // BITCONVERTER_H
MiniR4 low level functions.
static uint32_t ToUInt32(uint8_t *value, int startIdx)
static int16_t ToInt16(uint8_t *value, int startIdx)
static void GetBytes(uint8_t *buff, uint32_t value)
static int32_t ToInt32(uint8_t *value, int startIdx)
static uint16_t ToUInt16(uint8_t *value, int startIdx)