RT_MONITOR_TRIGGER_CONTROL Structure

RT_MONITOR_TRIGGER_CONTROL transiently associates trigger values to monitoring event types.

Syntax

Copy
typedef struct _RT_MONITOR_TRIGGER_CONTROL {
   size_t size;
   MF_TRIGGERS triggers;
   MF_EVENT_KIND monitorEvent;
} RT_MONITOR_TRIGGER_CONTROL, *PRT_MONITOR_TRIGGER_CONTROL;

Members

size

Must be set to sizeof(RT_MONITOR_TRIGGER_CONTROL).

triggers

Represents a set of triggers for a single event kind. Each bit in this type represents one kind of trigger.

These macros define bit flags that represent the trigger kinds for use in instances of type MF_TRIGGERS.

Trigger kind Meaning

MF_TRIGGER_NONE

No event triggers.

MF_TRIGGER_START_MONITORING

Start monitoring.

MF_TRIGGER_STOP_MONITORING

Stop monitoring.

monitorEvent

Specifies the event for which the triggers are set.

Requirements

Minimum supported version Header

wRTOS 1.0 SDK

RtApi.h

See Also: