MIP_SDK  latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
Classes | Functions
(0x0C,0x2B) Event Control

Enables or disables event triggers. More...

Classes

struct  mip::commands_3dm::EventControl
 

Functions

TypedResult< EventControlmip::commands_3dm::writeEventControl (C::mip_interface &device, uint8_t instance, EventControl::Mode mode)
 
TypedResult< EventControlmip::commands_3dm::readEventControl (C::mip_interface &device, uint8_t instance, EventControl::Mode *modeOut)
 
TypedResult< EventControlmip::commands_3dm::saveEventControl (C::mip_interface &device, uint8_t instance)
 
TypedResult< EventControlmip::commands_3dm::loadEventControl (C::mip_interface &device, uint8_t instance)
 
TypedResult< EventControlmip::commands_3dm::defaultEventControl (C::mip_interface &device, uint8_t instance)
 

Detailed Description

Enables or disables event triggers.

Triggers can be disabled, enabled, and tested. While disabled, a trigger will not evaluate its logic and effective behave like no trigger is configured. A disabled trigger will not activate any actions. Triggers are disabled by default.

Use this command to enable (or disable) a trigger, or to place it into a test mode. When in test mode, the trigger logic is disabled but the output is forced to the active state, meaning that it will behave as if the trigger logic is satisfied and any associated actions will execute.

Function Documentation

◆ defaultEventControl()

TypedResult< EventControl > mip::commands_3dm::defaultEventControl ( C::mip_interface device,
uint8_t  instance 
)

◆ loadEventControl()

TypedResult< EventControl > mip::commands_3dm::loadEventControl ( C::mip_interface device,
uint8_t  instance 
)

◆ readEventControl()

TypedResult< EventControl > mip::commands_3dm::readEventControl ( C::mip_interface device,
uint8_t  instance,
EventControl::Mode modeOut 
)

◆ saveEventControl()

TypedResult< EventControl > mip::commands_3dm::saveEventControl ( C::mip_interface device,
uint8_t  instance 
)

◆ writeEventControl()

TypedResult< EventControl > mip::commands_3dm::writeEventControl ( C::mip_interface device,
uint8_t  instance,
EventControl::Mode  mode 
)