Implement MxTransitionManager ctor/dtor/rest of StartTransition (#153)

This commit is contained in:
MattKC
2023-10-01 17:18:16 -07:00
committed by GitHub
parent 592ede1c7b
commit 56f3d12096
4 changed files with 116 additions and 39 deletions

View File

@@ -44,4 +44,19 @@ typedef MxU8 MxBool;
#define TWOCC(a, b) (((a) << 0) | ((b) << 8))
#define FOURCC(a, b, c, d) (((a) << 0) | ((b) << 8) | ((c) << 16) | ((d) << 24))
// Must be union with struct for match.
typedef union {
struct {
MxU8 bit0: 1;
MxU8 bit1: 1;
MxU8 bit2: 1;
MxU8 bit3: 1;
MxU8 bit4: 1;
MxU8 bit5: 1;
MxU8 bit6: 1;
MxU8 bit7: 1;
};
// BYTE all; // ?
} flag_bitfield;
#endif // MXTYPE_H