![]() |
RTEMS 6.1
|
This header file provides support for the device tree. More...
#include <stdint.h>Go to the source code of this file.
Functions | |
| uint32_t | try_get_prop_from_device_tree (const char *compatible, const char *prop_name, uint32_t default_value) |
| Get the value of a property from a compatible node in the device tree. | |
This header file provides support for the device tree.
| uint32_t try_get_prop_from_device_tree | ( | const char * | compatible, |
| const char * | prop_name, | ||
| uint32_t | default_value | ||
| ) |
Get the value of a property from a compatible node in the device tree.
| [in] | compatible | The 'compatible' string to match against. |
| [in] | prop_name | The property name. |
| [in] | default_value | The default value to return if no compatible node was found or the property was not found. |