Function mem_write32

Function Documentation

static inline status_t mem_write32(size_t addr, uint32_t wval)

Write a 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 write

  • wval – The value to write

Returns:

status_t