Crate microbit

source ·

Re-exports

pub extern crate cortex_m;
pub extern crate nrf51_hal as hal;
pub extern crate nb;
pub use hal::nrf51;

Modules

Accelerated Address Resolver.
Analog to digital converter.
AHB Multi-Layer Interface.
AES CCM Mode Encryption.
Clock control.
AES ECB Mode Encryption.
Factory Information Configuration.
General purpose input and output.
GPIO tasks and events.
On-board user LEDs
Low power comparator.
Non Volatile Memory Controller.
Power Control.
PPI controller.
Rotary decoder.
The radio.
Random Number Generator.
Real time counter 0.
SPI master 0.
SPI master with easyDMA 1.
SPI slave 1.
SW Interrupts.
Temperature Sensor.
Timer 0.
Two-wire interface master 0.
Universal Asynchronous Receiver/Transmitter.
User Information Configuration.
Watchdog Timer.

Macros

Await operation (won’t work until the language gains support for generators)
Turns the non-blocking expression $e into a blocking operation.
Macro to override a device specific interrupt handler
Future adapter

Structs

Accelerated Address Resolver.
Analog to digital converter.
AHB Multi-Layer Interface.
Cache and branch predictor maintenance operations
AES CCM Mode Encryption.
Clock control.
CPUID
Core peripherals
Debug Control Block
Data Watchpoint and Trace unit
AES ECB Mode Encryption.
Registers stacked (pushed onto the stack) during an exception.
Factory Information Configuration.
Flash Patch and Breakpoint unit
Floating Point Unit
General purpose input and output.
GPIO tasks and events.
Instrumentation Trace Macrocell
Low power comparator.
Memory Protection Unit
Nested Vector Interrupt Controller
Non Volatile Memory Controller.
Power Control.
PPI controller.
All the peripherals
Rotary decoder.
The radio.
Random Number Generator.
Real time counter 0.
Real time counter 1.
System Control Block
SPI master 0.
SPI master 1.
SPI master with easyDMA 1.
SPI slave 1.
SW Interrupts.
SysTick: System Timer
Temperature Sensor.
Timer 0.
Timer 1.
Timer 2.
Trace Port Interface Unit
Two-wire interface master 0.
Two-wire interface master 1.
Universal Asynchronous Receiver/Transmitter.
User Information Configuration.
Watchdog Timer.

Enums

A non-blocking error
Enumeration of all the interrupts

Constants

Number available in the NVIC for configuring priority

Functions

Returns a pointer to the start of the heap

Type Definitions

A non-blocking result

Attribute Macros

Attribute to declare the entry point of the program
Attribute to declare an exception handler
Attribute to declare an interrupt (AKA device-specific exception) handler
Attribute to mark which function will be called at the beginning of the reset handler.