Module drone_cortexm::reg[][src]

The Memory-Mapped Registers module.

NOTE This module documentation should be viewed as a continuation of the drone_core documentation.

API

These API tables extend the drone_core API tables.

Field Token

Field WidthField ModeRegister ModeTag
modifywriteread-writeSrt, Crt
set_bitone-bitwriteread-writeSrt, Crt
clear_bitone-bitwriteread-writeSrt, Crt
toggle_bitone-bitwriteread-writeSrt, Crt
write_bitsmulti-bitwriteread-writeSrt, Crt
to_bit_band_ptrone-bitreadread
read_bit_bandone-bitreadread
to_bit_band_mut_ptrone-bitwritewrite-only
orone-bitwritewriteUrt
set_bit_bandone-bitwritewrite-only
orone-bitwritewriteUrt
clear_bit_bandone-bitwritewrite-only
orone-bitwritewriteUrt

Register Token

ModeTag
modifyread-writeSrt, Crt
modify_regread-writeSrt, Crt

Re-exports

pub use drone_core::reg::*;

Modules

field

Memory-mapped register fields module.

marker

Marker traits representing properties of memory-mapped registers.

prelude

The Memory-Mapped Registers prelude.

Constants

BIT_BAND_BASE

The peripheral bit-band alias start.

BIT_BAND_WIDTH

The peripheral bit-band region width.

Traits

RegBitBand

Register located in the peripheral bit-band region.

RwRegAtomic

Atomic operations for read-write register.