MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
mip::commands_3dm::EventTrigger::CombinationParams Struct Reference

#include <commands_3dm.hpp>

Public Member Functions

void insert (Serializer &serializer) const
 Serialization. More...
 
void extract (Serializer &serializer)
 

Public Attributes

uint16_t logic_table = 0
 Parameters. More...
 
uint8_t input_triggers [4] = {0}
 List of trigger IDs for inputs. Use 0 for unused inputs. More...
 

Static Public Attributes

static constexpr const uint16_t LOGIC_NEVER = 0x0000
 
static constexpr const uint16_t LOGIC_ALWAYS = 0xFFFF
 
static constexpr const uint16_t LOGIC_NONE = 0x0001
 
static constexpr const uint16_t LOGIC_OR = 0xFFFE
 
static constexpr const uint16_t LOGIC_NAND = 0x7FFF
 
static constexpr const uint16_t LOGIC_XOR_ONE = 0x0116
 
static constexpr const uint16_t LOGIC_ONLY_A = 0x0002
 
static constexpr const uint16_t LOGIC_ONLY_B = 0x0004
 
static constexpr const uint16_t LOGIC_ONLY_C = 0x0010
 
static constexpr const uint16_t LOGIC_ONLY_D = 0x0100
 
static constexpr const uint16_t LOGIC_AND_AB = 0x8888
 
static constexpr const uint16_t LOGIC_AB_OR_C = 0xF8F8
 
static constexpr const uint16_t LOGIC_AND = 0x8000
 

Member Function Documentation

◆ extract()

void mip::commands_3dm::EventTrigger::CombinationParams::extract ( Serializer serializer)

◆ insert()

void mip::commands_3dm::EventTrigger::CombinationParams::insert ( Serializer serializer) const

Serialization.

Member Data Documentation

◆ input_triggers

uint8_t mip::commands_3dm::EventTrigger::CombinationParams::input_triggers[4] = {0}

List of trigger IDs for inputs. Use 0 for unused inputs.

◆ LOGIC_AB_OR_C

constexpr const uint16_t mip::commands_3dm::EventTrigger::CombinationParams::LOGIC_AB_OR_C = 0xF8F8
staticconstexpr

◆ LOGIC_ALWAYS

constexpr const uint16_t mip::commands_3dm::EventTrigger::CombinationParams::LOGIC_ALWAYS = 0xFFFF
staticconstexpr

◆ LOGIC_AND

constexpr const uint16_t mip::commands_3dm::EventTrigger::CombinationParams::LOGIC_AND = 0x8000
staticconstexpr

◆ LOGIC_AND_AB

constexpr const uint16_t mip::commands_3dm::EventTrigger::CombinationParams::LOGIC_AND_AB = 0x8888
staticconstexpr

◆ LOGIC_NAND

constexpr const uint16_t mip::commands_3dm::EventTrigger::CombinationParams::LOGIC_NAND = 0x7FFF
staticconstexpr

◆ LOGIC_NEVER

constexpr const uint16_t mip::commands_3dm::EventTrigger::CombinationParams::LOGIC_NEVER = 0x0000
staticconstexpr

◆ LOGIC_NONE

constexpr const uint16_t mip::commands_3dm::EventTrigger::CombinationParams::LOGIC_NONE = 0x0001
staticconstexpr

◆ LOGIC_ONLY_A

constexpr const uint16_t mip::commands_3dm::EventTrigger::CombinationParams::LOGIC_ONLY_A = 0x0002
staticconstexpr

◆ LOGIC_ONLY_B

constexpr const uint16_t mip::commands_3dm::EventTrigger::CombinationParams::LOGIC_ONLY_B = 0x0004
staticconstexpr

◆ LOGIC_ONLY_C

constexpr const uint16_t mip::commands_3dm::EventTrigger::CombinationParams::LOGIC_ONLY_C = 0x0010
staticconstexpr

◆ LOGIC_ONLY_D

constexpr const uint16_t mip::commands_3dm::EventTrigger::CombinationParams::LOGIC_ONLY_D = 0x0100
staticconstexpr

◆ LOGIC_OR

constexpr const uint16_t mip::commands_3dm::EventTrigger::CombinationParams::LOGIC_OR = 0xFFFE
staticconstexpr

◆ logic_table

uint16_t mip::commands_3dm::EventTrigger::CombinationParams::logic_table = 0

Parameters.

The last column of a truth table describing the output given the state of each input.

◆ LOGIC_XOR_ONE

constexpr const uint16_t mip::commands_3dm::EventTrigger::CombinationParams::LOGIC_XOR_ONE = 0x0116
staticconstexpr

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