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

Functions

static bool_t Run_M1553_MT_Monitor_FIFO (int32_t cardIndex, int32_t module, uint32_t modid)
 
static int32_t MonitorMessages (uint16_t DevNum, int32_t duration)
 
int32_t m1553_mt_monitor_fifo (void)
 The purpose of the M1553_MT_Monitor_FIFO is to illustrate the methods to call in the naibrd library to configure and run the 1553 channel as a Message Monitor in Message FIFO Mode. All messages are received via the Message FIFO in this sample application. If an Rx message is detected on the bus, the Rx message will be displayed with 1553 data. If a Tx message is detected, the Tx message will be displayed but 1553 data will only be displayed if there is 1553 data and if the message contained no errors. This application also demonstrates message filtering using the naibrd_1553_MtMsgMonitoringDisable() function to disable monitoring messages sent on subaddress 3. This application demonstrates the usage of the following naibrd 1553 routines.
 

Variables

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

Function Documentation

◆ m1553_mt_monitor_fifo()

int32_t m1553_mt_monitor_fifo ( void )

The purpose of the M1553_MT_Monitor_FIFO is to illustrate the methods to call in the naibrd library to configure and run the 1553 channel as a Message Monitor in Message FIFO Mode. All messages are received via the Message FIFO in this sample application. If an Rx message is detected on the bus, the Rx message will be displayed with 1553 data. If a Tx message is detected, the Tx message will be displayed but 1553 data will only be displayed if there is 1553 data and if the message contained no errors. This application also demonstrates message filtering using the naibrd_1553_MtMsgMonitoringDisable() function to disable monitoring messages sent on subaddress 3. This application demonstrates the usage of the following naibrd 1553 routines.

  • naibrd_1553_Open
  • naibrd_1553_Init
  • naibrd_1553_MtMsgMonitoringDisable
  • naibrd_1553_MtStart
  • naibrd_1553_MtStop
  • naibrd_1553_Free
  • naibrd_1553_GetMsgFIFOCount
  • naibrd_1553_ReadMsgFIFO
  • naibrd_1553_DecodeFIFOMsg
  • naibrd_1553_GetMsgFIFOFullStatus

◆ MonitorMessages()

static int32_t MonitorMessages ( uint16_t DevNum,
int32_t duration )
static

◆ Run_M1553_MT_Monitor_FIFO()

static bool_t Run_M1553_MT_Monitor_FIFO ( 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_FIFO.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