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

#include <commands_3dm.hpp>

Public Types

enum  Mode : uint8_t { Mode::DISABLED = 0, Mode::WHILE_HIGH = 1, Mode::WHILE_LOW = 2, Mode::EDGE = 4 }
 

Public Member Functions

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

Public Attributes

uint8_t pin = 0
 Parameters. More...
 
Mode mode = static_cast<Mode>(0)
 How the pin state affects the trigger. More...
 

Member Enumeration Documentation

◆ Mode

Enumerator
DISABLED 

The pin will have no effect and the trigger will never activate.

WHILE_HIGH 

The trigger will be active while the pin is high.

WHILE_LOW 

The trigger will be active while the pin is low.

EDGE 

Use if the pin is configured for timestamping via the 3DM Gpio Configuration command (0x0C41).

Member Function Documentation

◆ extract()

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

◆ insert()

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

Serialization.

Member Data Documentation

◆ mode

Mode mip::commands_3dm::EventTrigger::GpioParams::mode = static_cast<Mode>(0)

How the pin state affects the trigger.

◆ pin

uint8_t mip::commands_3dm::EventTrigger::GpioParams::pin = 0

Parameters.

GPIO pin number.


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