Expand description
Efficient #![no_std] parser for devicetree blobs compliant (hopefully)
with version 0.4 of the specification.
Re-exports§
pub use fallible_iterator;
Modules§
- alloc
- Features depending on memory allocation.
- blob
- Interface for low-level parsing of a devicetree blob.
- model
- Higher level of abstraction. This is very incomplete; consider creating your own types instead.
- prop_
value - Types representing property values.
- util
- Utility functions.
Structs§
- MemReserve
Entries - An iterator over the
MemReserveEntryfrom aDevicetreeblob’s memory reservation block. - MemReserve
Entry - An entry from a blob’s memory reservation block, obtained from
MemReserveEntries. - Node
Context - Holds information for deserialization.
Enums§
- Blob
Error - Any error related to the blob representation caused by this crate.
- Error
- Any error caused by this crate.
Traits§
- Deserialize
Node - Types that can be parsed from a devicetree node.
- Deserialize
Property - Types that can be parsed from a devicetree property.
- Path
- Absolute path of an item.
- Push
Deserialized Node - Types that can collect several devicetree nodes.
Type Aliases§
- Cells
- Number of 4-byte cells. This crate has an upper limit of 4 cells, but that is not part of the spec.
- Phandle
- Numerical identifier for a node.
- Result
Derive Macros§
- Deserialize
Node - Derive macro generating an impl of the trait
DeserializeNode.