Changed bitmask to offset in peripheral struct to support different register patterns
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
struct SHAL_Peripheral {
|
||||
volatile uint32_t* reg;
|
||||
uint32_t bitmask;
|
||||
unsigned long offset;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user