Expand description

Peripheral access API for NRF51 microcontrollers (generated using svd2rust v0.21.0 ( ))

You can find an overview of the generated API here.

API features to be included in the next svd2rust release can be generated by cloning the svd2rust repository, checking out the above commit, and running cargo doc --open.

Re-exports

pub use spi0 as spi1;
pub use twi0 as twi1;
pub use timer0 as timer1;
pub use timer0 as timer2;
pub use rtc0 as rtc1;

Modules

Accelerated Address Resolver.

Analog to digital converter.

AES CCM Mode Encryption.

Clock control.

AES ECB Mode Encryption.

Factory Information Configuration.

Common register and bit access and modify traits

General purpose input and output.

GPIO tasks and events.

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 slave 1.

SW Interrupts.

Temperature Sensor.

Timer 0.

Two-wire interface master 0.

Universal Asynchronous Receiver/Transmitter.

User Information Configuration.

Watchdog Timer.

Structs

Accelerated Address Resolver.

Analog to digital converter.

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.

Factory Information Configuration.

Flash Patch and Breakpoint 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 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

Enumeration of all the interrupts.

Constants

Number available in the NVIC for configuring priority