mirror of
https://github.com/hathach/tinyusb.git
synced 2025-05-09 07:11:16 +08:00
fix(RA): static assert RUSB2 register
This commit is contained in:
parent
268ab5863a
commit
8bb012e50b
@ -1599,6 +1599,7 @@ TU_ATTR_BIT_FIELD_ORDER_END
|
||||
//--------------------------------------------------------------------+
|
||||
|
||||
TU_VERIFY_STATIC(sizeof(RUSB2_PIPE_TR_t) == 4, "incorrect size");
|
||||
TU_VERIFY_STATIC(sizeof(RUSB2_REG_t) == 1032, "incorrect size");
|
||||
|
||||
TU_VERIFY_STATIC(offsetof(RUSB2_REG_t, SYSCFG ) == 0x00000000, "incorrect offset");
|
||||
TU_VERIFY_STATIC(offsetof(RUSB2_REG_t, BUSWAIT ) == 0x00000002, "incorrect offset");
|
||||
|
Loading…
x
Reference in New Issue
Block a user