Function mem_read32
Defined in File mem.h
Function Documentation
-
static inline uint32_t mem_read32(size_t addr)
Read a 32-bit register/memory location.
Use size_t for the addr so that it compiles correctly for both Linux and embedded systems.
- Parameters:
addr – The address of register/memory location to read from
- Returns:
: The value of the register, or 0xFFFFFFFF if non word-aligned