Move all low level types, register declarations etc to a lowlevel module, perhaps even a separate crate, that only exposes register interaction functions and the types.
The high level API will likely never be able to fully cover what the radio module is capable of, so better to have a nice high level API that fits common use cases, and then a way into the guts where API user will perform all initialization, but at least have register fields and low level types available.
Move all low level types, register declarations etc to a lowlevel module, perhaps even a separate crate, that only exposes
register interaction functions andthe types.The high level API will likely never be able to fully cover what the radio module is capable of, so better to have a nice high level API that fits common use cases, and then a way into the guts where API user will perform all initialization, but at least have register fields and low level types available.