RKTK API Docs RKTK Home Repo

Crate rktk_drivers_common

Source
Expand description

§rktk-drivers-common

rktk-drivers-common is a collection of drivers for rktk, which is common to all platforms.

This library is the basis of rktk-drivers-nrf and nrf-drivers-rp, and by utilizing traits defined by embassy etc., you can create drivers with only a very thin wrapper for MCUs that have embassy hal.

§Feature flags

  • defmt-usb — Enables defmt-over-usb logger. You cannot use this feature with other defmt logger.
  • defmt-timestamp — Enables defmt timestamp support using embassy-time
  • defmt — Enables defmt logging
  • log — Enables logging using the log crate.
  • usb-remote-wakeup — Enables remote wakeup feature of USB. NOTE: Usually, this is automatically enabled by each platform’s driver crate and you should not enable this feature manually.

Modules§

debounce
Debounce driver implementations.
display
Display drivers
encoder
Encoder driver implementations.
keyscan
Key scanning driver implementations.
mouse
Mouse driver implementations.
panic_utils
Panic message handling utilities.
storage
Storage driver implementations.
troubletrouble
usb
USB reporter implementation using embassy_usb.