theCore C++ embedded framework
ecl::mmio::rw_mut Struct Reference

Read-write mutability trait. More...

#include </home/travis/build/forGGe/theCore/platform/common/export/common/mmio.hpp>

Inheritance diagram for ecl::mmio::rw_mut:
Collaboration diagram for ecl::mmio::rw_mut:

Static Public Member Functions

static void write (volatile uint32_t *device, uint32_t offset, uint32_t mask, uint32_t value)
 Writes value to a memory-mapped register that support reading. More...
 
- Static Public Member Functions inherited from ecl::mmio::ro_mut
static uint32_t read (volatile const uint32_t *device, uint32_t offset, uint32_t mask)
 Reads value from a memory-mapped register. More...
 

Detailed Description

Read-write mutability trait.

Member Function Documentation

◆ write()

static void ecl::mmio::rw_mut::write ( volatile uint32_t *  device,
uint32_t  offset,
uint32_t  mask,
uint32_t  value 
)
inlinestatic

Writes value to a memory-mapped register that support reading.

Parameters
[in]deviceRegister address.
[in]offsetOffset of the data inside register.
[in]maskMask to extract data from the register.
[in]valueValue to write into the register.
Here is the call graph for this function:

The documentation for this struct was generated from the following file: