Expand description
§rktk-driver-nrf
rktk drivers for nrf chip
For more detail, see RKTK project README
§Dependencies
‘libclang’ must be installed to use sdc
feature.
§Note about sdc
feature
The sdc
feature is not available in the crates.io version of rktk-drivers-nrf.
It fails to compile when the feature is enabled. If you want to use the sdc
feature, use the git version of this crate.
This crate provides the rktk drivers for the nRF series microcontrollers. Currently, only nRF52840 is enabled, but it should be easy to add support for other nRF series microcontrollers.
Many drivers is in this crate are just convenient wrappers over [rktk_drivers_common
], but
implements some original drivers like BLE and Uart split driver.
NOTE: This crate uses unreleased version of nrf-softdevice
and such dependency is not accepted by crates.io.
So if you want to use softdevice
feature (needed for BLE), use git version of this crate.
§Feature flags
nightly
— Use this feature to use embassy-executor’s nightly features.power
(enabled by default) — Enables system power off feature. This is supported only on some chips like nRF52840.esb
— Enables wireless dongle driver using esb(Enhanced Shockburst) protocol. This feature is not compatible with softdevice.
§Softdevice
softdevice
— Enables softdevice. If this feature is enabled, the softdevice will be included in the build.softdevice-ble
— Enables BLE split and reporter driver using softdevice
§Logging
defmt
— Enables defmt logginglog
— Enables log logging
Modules§
- display
- esb
esb
- keyscan
- mouse
- rgb
- sdc
sdc
- softdevice
softdevice
- Drivers that needs softdevice instance.
- split
- system
Macros§
- init_
sdc sdc