![]() |
Imt.Base C++ API V4.1.1.0
|
A write-only mutability policy for use with Register template. More...
#include <Imt.Base.Core.Util/inc/Imt.Base.Core.Util/WriteOnlyPolicy.h>
Static Public Member Functions | |
static void | write (uint32_t volatile *device, uint32_t offset, uint32_t mask, uint32_t value) |
Write bit field to a write-only address. | |
static void | set (uint32_t volatile *device, uint32_t mask) |
Set bits of a write-only address. | |
A write-only mutability policy for use with Register template.
Definition at line 49 of file WriteOnlyPolicy.h.
|
inlinestatic |
Set bits of a write-only address.
device | Pointer to the address to write to. |
mask | Mask which represents the bits to be set. |
Definition at line 67 of file WriteOnlyPolicy.h.
|
inlinestatic |
Write bit field to a write-only address.
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. |
Definition at line 58 of file WriteOnlyPolicy.h.