std1.0.0-beta-7 SafeC docs

Module interrupt::mmio

#include <std/interrupt/mmio.h> source

MMIO Helpers Memory-mapped I/O read/write primitives. Freestanding-safe.

Structs

MmioReg

Functions

mmio_read32
mmio_write32
mmio_read168/16-bit registers get 8/16-bit accesses: a 32-bit store would also write the neighbouring registers (and a 32-bit load can fault or have read side effects on them).
mmio_write16
mmio_read8
mmio_write8
mmio_set_bits32
mmio_clear_bits32
mmio_read_field32
mmio_write_field32