Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
shared_device_dt_spec Struct Reference

Container for shared device information specified in devicetree. More...

#include <device.h>

Data Fields

const struct device * shared
 Pointer to the shared device.
uint8_t state
 State that is being requested.
uint8_t priority
 Priority of the state request.

Detailed Description

Container for shared device information specified in devicetree.

This type contains a pointer to a shared device, the state that is requested, and the priority of that state request.

See also
SHARED_DEVICE_DT_SPEC_GET_BY_IDX
SHARED_DEVICE_DT_SPEC_GET_BY_IDX_OR
SHARED_DEVICE_DT_SPEC_GET
SHARED_DEVICE_DT_SPEC_GET_OR

Field Documentation

◆ priority

uint8_t shared_device_dt_spec::priority

Priority of the state request.

◆ shared

const struct device* shared_device_dt_spec::shared

Pointer to the shared device.

◆ state

uint8_t shared_device_dt_spec::state

State that is being requested.


The documentation for this struct was generated from the following file: