A read-write mutability policy for use with reg_t.
More...
#include <Imt.Base.Core.Util/ReadWritePolicy.h>
A read-write mutability policy for use with reg_t.
◆ clear()
static void imt::base::core::util::ReadWritePolicy::clear |
( |
volatile uint32_t * |
device, |
|
|
uint32_t |
mask |
|
) |
| |
|
inlinestatic |
Clear bits of a read-write address.
- Parameters
-
device | Pointer to the address to read from. |
mask | Mask which represents the bits to be cleared. |
◆ set()
static void imt::base::core::util::ReadWritePolicy::set |
( |
volatile uint32_t * |
device, |
|
|
uint32_t |
mask |
|
) |
| |
|
inlinestatic |
Set bits of a read-write address.
- Parameters
-
device | Pointer to the address to write to. |
mask | Mask which represents the bits to be set. |
◆ write()
Write bit field to a read-write address.
- Parameters
-
device | Pointer to the address to write to. |
offset | Offset of the bit field to be written. |
mask | Mask which represents the bit field to be written. |
value | Value of the bit field to be written. |
The documentation for this struct was generated from the following file: