class RegPropertyElement
Defined at line 318 of file ../../zircon/kernel/lib/devicetree/include/lib/devicetree/devicetree.h
Represents a `reg` property, which usually encodes mmio mapped registers for a device.
This property usually encodes series or memory-mapped registers as pairs of [address, size] where
each entry in the pair is defined by a sequence of cells. For the address the number of cells is
determined by |num_address_cells| and for the size the number of cells is determined by
`num_size_cells`.
See
https://devicetree-specification.readthedocs.io/en/v0.3/devicetree-basics.html#reg
for property description.
Public Methods
std::optional<uint64_t> address ()
Defined at line 322 of file ../../zircon/kernel/lib/devicetree/include/lib/devicetree/devicetree.h
std::optional<uint64_t> size ()
Defined at line 323 of file ../../zircon/kernel/lib/devicetree/include/lib/devicetree/devicetree.h