dsvensson / cc1101

A platform agnostic driver to interface with the CC1101 (Sub-1GHz RF Transceiver)
Apache License 2.0
33 stars 18 forks source link

Create a lowlevel module that the cc1101 module uses #21

Closed dsvensson closed 6 years ago

dsvensson commented 6 years ago

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.