template <class RegType, typename UnusedMarker, bool Enabled>

class RsvdZField

Defined at line 155 of file ../../zircon/system/ulib/hwreg/include/hwreg/internal.h

Used to record information about reserved-zero fields at construction time.

This enables auto-zeroing of reserved-zero fields on register write.

Represents a field that must be zeroed on write.

The UnusedMarker argument is to give each RsvdZField member its own type.

This, combined with __NO_UNIQUE_ADDRESS, allows the compiler to use no

storage for the RsvdZField members.

Public Methods

void RsvdZField<RegType, UnusedMarker, Enabled> (FieldParameters<RegType::PrinterEnabled::value, IntType> * reg, uint32_t bit_high_incl, uint32_t bit_low)

Defined at line 160 of file ../../zircon/system/ulib/hwreg/include/hwreg/internal.h