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 Width | Field Mode | Register Mode | Tag | |
---|---|---|---|---|
modify | write | read-write | Srt, Crt | |
set_bit | one-bit | write | read-write | Srt, Crt |
clear_bit | one-bit | write | read-write | Srt, Crt |
toggle_bit | one-bit | write | read-write | Srt, Crt |
write_bits | multi-bit | write | read-write | Srt, Crt |
to_bit_band_ptr | one-bit | read | read | |
read_bit_band | one-bit | read | read | |
to_bit_band_mut_ptr | one-bit | write | write-only | |
or | one-bit | write | write | Urt |
set_bit_band | one-bit | write | write-only | |
or | one-bit | write | write | Urt |
clear_bit_band | one-bit | write | write-only | |
or | one-bit | write | write | Urt |
Register Token
Mode | Tag | |
---|---|---|
modify | read-write | Srt, Crt |
modify_reg | read-write | Srt, 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. |