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

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

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

Inheritance diagram for imt::base::core::util::ReadOnlyPolicy:
imt::base::core::util::ReadWritePolicy

Static Public Member Functions

static unsigned read (volatile uint32_t *device, uint32_t offset, uint32_t mask)
 Read bit field from a read-only address. More...
 

Detailed Description

A read-only mutability policy for use with reg_t.

Member Function Documentation

◆ read()

static unsigned imt::base::core::util::ReadOnlyPolicy::read ( volatile uint32_t device,
uint32_t  offset,
uint32_t  mask 
)
inlinestatic

Read bit field from a read-only address.

Parameters
devicePointer to the address to read from.
offsetOffset of the bit field to be read.
maskMask which represents the bit field to be read.
Returns
Value of the bit field.

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