Expand description
§tudelft quadrupel support library
This library re-exports some crates (see below). That just makes it easy for your drone code to use those libraries. For example:
use tudelft_quadrupel::cortex_m;Re-exports§
pub extern crate nrf51_hal;
Re-exports§
pub use cortex_m;pub use cortex_m_rt;pub use fixed;pub use nrf51_pac;pub use ringbuffer;
Modules§
- barometer
- Utilities to read out the barometer
- battery
- Utilities to read out the battery voltage. You may see this referred to as the “ADC” (analog to digital converter).
- flash
- Utilities to read from and write to the flash chip
- initialize
- Initialize all the drivers
- led
- Utilities to control the leds on the board.
- motor
- Utilities to drive the drone motors (PWM control)
- mpu
- Utilities to read out the motion processing unit (mpu)
- mutex
- A
Mutexabstraction like you learned in Software Systems. Turns off interrupts - once_
cell - A
OnceCellabstraction like you learned in Software Systems - time
- Utilities to read out the current time
- uart
- Utilities to read from and write to UART
Macros§
- block
- reexport of the
nb::blockmacro. Turns the non-blocking expression$einto a blocking operation.
Attribute Macros§
- entry
- reexport of the
cortex_m_rtentry macro