Closed Dirbaio closed 3 years ago
Turns out this is because there's both erasepcr1
and erasepage
at that offset, so svd2rust generates erasepcr1()
and erasepage()
functions instead of fields. Seems this is intended behavior, though confusing :shrug:
NVMC.ERASEPAGE (offset 0x508) is missing. It's shown as
_reserved_3_erasepage
for some reason.https://github.com/nrf-rs/nrf52840-pac/blob/9558a3ed032b2aec7e57c2f42330f1dee0000a04/src/nvmc.rs#L13