Prusa MINI Firmware overview
|
Go to the documentation of this file.
8 #define VARIANT8_EMPTY 0x00 // empty - no data
9 #define VARIANT8_I8 0x01 // signed char - 1byte
10 #define VARIANT8_UI8 0x02 // unsigned char - 1byte
11 #define VARIANT8_I16 0x03 // signed short - 2byte
12 #define VARIANT8_UI16 0x04 // unsigned short - 2byte
13 #define VARIANT8_I32 0x05 // signed long - 4byte
14 #define VARIANT8_UI32 0x06 // unsigned long - 4byte
15 #define VARIANT8_FLT 0x07 // float - 4byte
16 #define VARIANT8_USER 0x3f // user - up to 7 bytes
17 #define VARIANT8_PTR 0x40 // pointer - 4 bytes
18 #define VARIANT8_ARRAY 0x80 // array
19 #define VARIANT8_ERROR 0xff // error
variant8_t variant8_i32(int32_t i32)
Definition: variant8.c:36
char * pc
Definition: variant8.h:29
#define VARIANT8_UI8
Definition: variant8.h:10
variant8_t variant8_ui8(uint8_t ui8)
Definition: variant8.c:18
variant8_t variant8_i8(int8_t i8)
Definition: variant8.c:12
uint16_t ui16
Definition: variant8.h:34
#define VARIANT8_I16
Definition: variant8.h:11
uint8_t type
Definition: UsbCore.h:184
uint8_t ui8
Definition: variant8.h:36
variant8_t variant8_user(uint32_t usr32)
Definition: variant8.c:54
#define VARIANT8_I8
Definition: variant8.h:9
variant8_t variant8_ui32(uint32_t ui32)
Definition: variant8.c:42
#define VARIANT8_USER
Definition: variant8.h:16
uint8_t type
Definition: variant8.h:25
uint16_t usr16
Definition: variant8.h:27
variant8_t variant8_user(uint32_t usr32)
Definition: variant8.c:54
variant8_t variant8_ui8(uint8_t ui8)
Definition: variant8.c:18
variant8_t variant8_ui16(uint16_t ui16)
Definition: variant8.c:30
Definition: variant8.h:24
struct _variant8_t variant8_t
float flt
Definition: variant8.h:31
variant8_t variant8_empty(void)
Definition: variant8.c:10
variant8_t variant8_ui16(uint16_t ui16)
Definition: variant8.c:30
variant8_t variant8_(uint8_t type)
Definition: variant8.c:5
variant8_t variant8_empty(void)
Definition: variant8.c:10
variant8_t variant8_i16(int16_t i16)
Definition: variant8.c:24
const uint8_t[]
Definition: 404_html.c:3
#define VARIANT8_EMPTY
Definition: variant8.h:8
int16_t i16
Definition: variant8.h:35
variant8_t variant8_ui32(uint32_t ui32)
Definition: variant8.c:42
#define VARIANT8_UI16
Definition: variant8.h:12
#define VARIANT8_FLT
Definition: variant8.h:15
variant8_t variant8_i32(int32_t i32)
Definition: variant8.c:36
uint8_t usr8
Definition: variant8.h:26
uint32_t usr32
Definition: variant8.h:30
#define VARIANT8_UI32
Definition: variant8.h:14
int8_t i8
Definition: variant8.h:37
uint32_t ui32
Definition: variant8.h:32
#define VARIANT8_I32
Definition: variant8.h:13
variant8_t variant8_i16(int16_t i16)
Definition: variant8.c:24
variant8_t variant8_flt(float flt)
Definition: variant8.c:48
variant8_t variant8_flt(float flt)
Definition: variant8.c:48
variant8_t variant8_i8(int8_t i8)
Definition: variant8.c:12
int32_t i32
Definition: variant8.h:33