Refactor 32-bit register definitions
This commit is contained in:
1 parent
c0f99fcd1c
commit
a6c7a2c57e
26 files changed
+126
-98
No files matched your search
@@ -12,6 +12,8 @@
|
||||
#define MASK2(a,b) (MASK(a) & ~MASK(b))
|
||||
#define MASK2L(a,b) (MASKL(a) & ~MASKL(b))
|
||||
|
||||
#define MAKE_REG32(a) (*(volatile uint32_t *)(a))
|
||||
|
||||
#define ALIGN(m) __attribute__((aligned(m)))
|
||||
#define PACKED __attribute__((packed))
|
||||
|
||||
|
||||
Reference in new issue
Block a user