Crate tudelft_quadrupel

Crate tudelft_quadrupel 

Source
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 Mutex abstraction like you learned in Software Systems. Turns off interrupts
once_cell
A OnceCell abstraction 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::block macro. Turns the non-blocking expression $e into a blocking operation.

Attribute Macros§

entry
reexport of the cortex_m_rt entry macro