Dataflow Runtime API  3.1.1.0
Static Public Member Functions | List of all members
imt::base::core::util::WriteOnlyPolicy Struct Reference

A write-only mutability policy for use with reg_t. More...

#include <Imt.Base.Core.Util/WriteOnlyPolicy.h>

Static Public Member Functions

static void write (volatile uint32_t *device, uint32_t offset, uint32_t mask, uint32_t value)
 Write bit field to a write-only address. More...
 
static void set (volatile uint32_t *device, uint32_t mask)
 Set bits of a write-only address. More...
 

Detailed Description

A write-only mutability policy for use with reg_t.

Member Function Documentation

◆ set()

static void imt::base::core::util::WriteOnlyPolicy::set ( volatile uint32_t device,
uint32_t  mask 
)
inlinestatic

Set bits of a write-only address.

Parameters
devicePointer to the address to write to.
maskMask which represents the bits to be set.

◆ write()

static void imt::base::core::util::WriteOnlyPolicy::write ( volatile uint32_t device,
uint32_t  offset,
uint32_t  mask,
uint32_t  value 
)
inlinestatic

Write bit field to a write-only address.

Parameters
devicePointer to the address to write to.
offsetOffset of the bit field to be written.
maskMask which represents the bit field to be written.
valueValue of the bit field to be written.

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