Module tock_registers::registers
source · Expand description
Implementation of included register types.
This module provides a standard set of register types, which can describe different access levels:
ReadWrite
for registers which can be read and written toReadOnly
for registers which can only be readWriteOnly
for registers which can only be written toAliased
for registers which can be both read and written, but represent different registers depending on the operationInMemoryRegister
provide a register-type in RAM using volatile operations
These types can be disabled by removing the register_types
crate
feature (part of the default features). This is useful if this
crate should be used only as an interface library, or if all
unsafe code should be disabled.
Structs§
- Read-only and write-only registers aliased to the same address.
- In memory volatile register.
- Read-only registers.
- Read/Write registers.
- Write-only registers.