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
 
uint8_t state
 
uint8_t priority
 

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

◆ shared

const struct device* shared_device_dt_spec::shared

◆ state

uint8_t shared_device_dt_spec::state

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