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

Device control state and thresholds. More...

#include <soc_device_control.h>

Data Fields

const struct device * device
 Device that is being controlled based on charge state.
uint8_t soc_enable
 Enable device when charge state reaches at least this value (%)
uint8_t soc_disable
 Disable device when charge state falls below this value (%)

Detailed Description

Device control state and thresholds.

Field Documentation

◆ device

const struct device* soc_device_control_state::device

Device that is being controlled based on charge state.

◆ soc_disable

uint8_t soc_device_control_state::soc_disable

Disable device when charge state falls below this value (%)

◆ soc_enable

uint8_t soc_device_control_state::soc_enable

Enable device when charge state reaches at least this value (%)


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