MIP SDK  0.0.1
MicroStrain Communications Library for embedded systems
Classes | Public Types | Public Attributes | Static Public Attributes | List of all members
mip::commands_3dm::EventTrigger Struct Reference

#include <commands_3dm.hpp>

Collaboration diagram for mip::commands_3dm::EventTrigger:
Collaboration graph
[legend]

Classes

struct  CombinationParams
 
struct  GpioParams
 
union  Parameters
 
struct  Response
 
struct  ThresholdParams
 

Public Types

enum class  Type : uint8_t { NONE = 0 , GPIO = 1 , THRESHOLD = 2 , COMBINATION = 3 }
 

Public Attributes

FunctionSelector function = static_cast<FunctionSelector>(0)
 
uint8_t instance = 0
 Trigger number. When function is SAVE, LOAD, or DEFAULT, this can be 0 to apply to all instances. More...
 
Type type = static_cast<Type>(0)
 Type of trigger to configure. More...
 
Parameters parameters
 

Static Public Attributes

static const uint8_t DESCRIPTOR_SET = ::mip::commands_3dm::DESCRIPTOR_SET
 
static const uint8_t FIELD_DESCRIPTOR = ::mip::commands_3dm::CMD_EVENT_TRIGGER_CONFIG
 
static const bool HAS_WRITE_FUNCTION = true
 
static const bool HAS_READ_FUNCTION = true
 
static const bool HAS_SAVE_FUNCTION = true
 
static const bool HAS_LOAD_FUNCTION = true
 
static const bool HAS_RESET_FUNCTION = true
 

Member Enumeration Documentation

◆ Type

Enumerator
NONE 

No trigger selected. The state will always be inactive.

GPIO 

Trigger based on the state of a GPIO pin. See GpioParams.

THRESHOLD 

Compare a data quantity against a high and low threshold. See ThresholdParams.

COMBINATION 

Logical combination of two or more triggers. See CombinationParams.

Member Data Documentation

◆ DESCRIPTOR_SET

const uint8_t mip::commands_3dm::EventTrigger::DESCRIPTOR_SET = ::mip::commands_3dm::DESCRIPTOR_SET
static

◆ FIELD_DESCRIPTOR

const uint8_t mip::commands_3dm::EventTrigger::FIELD_DESCRIPTOR = ::mip::commands_3dm::CMD_EVENT_TRIGGER_CONFIG
static

◆ function

FunctionSelector mip::commands_3dm::EventTrigger::function = static_cast<FunctionSelector>(0)

◆ HAS_LOAD_FUNCTION

const bool mip::commands_3dm::EventTrigger::HAS_LOAD_FUNCTION = true
static

◆ HAS_READ_FUNCTION

const bool mip::commands_3dm::EventTrigger::HAS_READ_FUNCTION = true
static

◆ HAS_RESET_FUNCTION

const bool mip::commands_3dm::EventTrigger::HAS_RESET_FUNCTION = true
static

◆ HAS_SAVE_FUNCTION

const bool mip::commands_3dm::EventTrigger::HAS_SAVE_FUNCTION = true
static

◆ HAS_WRITE_FUNCTION

const bool mip::commands_3dm::EventTrigger::HAS_WRITE_FUNCTION = true
static

◆ instance

uint8_t mip::commands_3dm::EventTrigger::instance = 0

Trigger number. When function is SAVE, LOAD, or DEFAULT, this can be 0 to apply to all instances.

◆ parameters

Parameters mip::commands_3dm::EventTrigger::parameters

◆ type

Type mip::commands_3dm::EventTrigger::type = static_cast<Type>(0)

Type of trigger to configure.


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