MIP SDK  0.0.1
MicroStrain Communications Library for embedded systems
Public Attributes | Static Public Attributes | List of all members
mip::data_system::GpioState Struct Reference

#include <data_system.hpp>

Public Attributes

uint8_t states = 0
 Bitfield containing the states for each GPIO pin.
Bit 0 (0x01): pin 1
Bit 1 (0x02): pin 2
Bit 2 (0x04): pin 3
Bit 3 (0x08): pin 4
Bits for pins that don't exist will read as 0. More...
 

Static Public Attributes

static const uint8_t DESCRIPTOR_SET = ::mip::data_system::DESCRIPTOR_SET
 
static const uint8_t FIELD_DESCRIPTOR = ::mip::data_system::DATA_GPIO_STATE
 
static const bool HAS_FUNCTION_SELECTOR = false
 

Member Data Documentation

◆ DESCRIPTOR_SET

const uint8_t mip::data_system::GpioState::DESCRIPTOR_SET = ::mip::data_system::DESCRIPTOR_SET
static

◆ FIELD_DESCRIPTOR

const uint8_t mip::data_system::GpioState::FIELD_DESCRIPTOR = ::mip::data_system::DATA_GPIO_STATE
static

◆ HAS_FUNCTION_SELECTOR

const bool mip::data_system::GpioState::HAS_FUNCTION_SELECTOR = false
static

◆ states

uint8_t mip::data_system::GpioState::states = 0

Bitfield containing the states for each GPIO pin.
Bit 0 (0x01): pin 1
Bit 1 (0x02): pin 2
Bit 2 (0x04): pin 3
Bit 3 (0x08): pin 4
Bits for pins that don't exist will read as 0.


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