Module kernel::utilities

source ·
Expand description

Utility functions and macros provided by the kernel crate.

Modules§

  • Basic binary write interface and supporting structs.
  • Create a “fake” module inside of common for all of the Tock Cell types.
  • Helper macros.
  • Defines a SubSlice type to implement leasable buffers.
  • Helper functions for common mathematical operations.
  • An enum that can contain a reference to either a mutable or an immutable buffer.
  • Peripheral Management
  • Re-export the tock-register-interface library.
  • Support for statically initializing objects in memory.
  • Utility for creating non-volatile storage regions.

Structs§

  • A pointer to statically allocated mutable data such as memory mapped I/O registers.