class StatusProperty

Defined at line 408 of file ../../zircon/kernel/lib/devicetree/include/lib/devicetree/devicetree.h

Represents a `status` property, which indicates if the containing device node

is in a usable state.

See

https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#status

for more details.

Public Methods

void StatusProperty ()

Defined at line 412 of file ../../zircon/kernel/lib/devicetree/include/lib/devicetree/devicetree.h

bool is_okay ()

Defined at line 414 of file ../../zircon/kernel/lib/devicetree/include/lib/devicetree/devicetree.h

bool is_disabled ()

Defined at line 415 of file ../../zircon/kernel/lib/devicetree/include/lib/devicetree/devicetree.h

bool is_fail ()

Defined at line 417 of file ../../zircon/kernel/lib/devicetree/include/lib/devicetree/devicetree.h

std::optional<std::string_view> fail_code ()

Defined at line 421 of file ../../zircon/kernel/lib/devicetree/include/lib/devicetree/devicetree.h

std::optional<StatusProperty> Create (std::optional<std::string_view> prop_value)

Defined at line 448 of file ../../zircon/kernel/lib/devicetree/devicetree.cc

std::optional<StatusProperty> Create (std::optional<std::string_view> prop_value)

Defined at line 448 of file ../../zircon/kernel/lib/devicetree/devicetree.cc