Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
m1553_mt_monitor.c File Reference

Functions

static bool_t Run_m1553_mt_monitor (int32_t cardIndex, int32_t module, uint32_t modid)
 
static int32_t MonitorMessages (uint16_t DevNum, int32_t duration)
 
int32_t m1553_mt_monitor (void)
 The purpose of the m1553_mt_monitor is to illustrate the methods to call in the naibrd library to configure and run the 1553 channel as a Message Monitor. If an Rx message is detected on the bus, the Rx message data will be displayed. If a Tx message is detected, the Tx message will be displayed. This application also demonstrates message filtering using the naibrd_1553_MtMsgMonitoringDisable() function to disable monitoring for certain message types.
 

Variables

static const int8_t * DEF_CONFIG_FILE = (int8_t *)"default_1553_MTMonitor.txt"
 
static const int32_t DEF_MT_CHANNEL = 1
 
static const int16_t DEF_MT_DEV_NUM = 1
 

Function Documentation

◆ m1553_mt_monitor()

int32_t m1553_mt_monitor ( void )

The purpose of the m1553_mt_monitor is to illustrate the methods to call in the naibrd library to configure and run the 1553 channel as a Message Monitor. If an Rx message is detected on the bus, the Rx message data will be displayed. If a Tx message is detected, the Tx message will be displayed. This application also demonstrates message filtering using the naibrd_1553_MtMsgMonitoringDisable() function to disable monitoring for certain message types.

◆ MonitorMessages()

static int32_t MonitorMessages ( uint16_t DevNum,
int32_t duration )
static

◆ Run_m1553_mt_monitor()

static bool_t Run_m1553_mt_monitor ( int32_t cardIndex,
int32_t module,
uint32_t modid )
static

Variable Documentation

◆ DEF_CONFIG_FILE

const int8_t* DEF_CONFIG_FILE = (int8_t *)"default_1553_MTMonitor.txt"
static

◆ DEF_MT_CHANNEL

const int32_t DEF_MT_CHANNEL = 1
static

◆ DEF_MT_DEV_NUM

const int16_t DEF_MT_DEV_NUM = 1
static