Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
ar429_common_utils.h
Go to the documentation of this file.
1/****** NAI ARINC Common Sample Program Utility Functions ******/
2#ifndef NAI_AR_UTILS_H
3#define NAI_AR_UTILS_H
4
5/* Common Sample Program include files */
6#include "nai_sample_apps/naiapp_common/include/naiapp_boardaccess_menu.h"
7#include "nai_sample_apps/naiapp_common/include/naiapp_boardaccess_query.h"
8#include "nai_sample_apps/naiapp_common/include/naiapp_boardaccess_access.h"
9#include "nai_sample_apps/naiapp_common/include/naiapp_boardaccess_display.h"
10#include "nai_sample_apps/naiapp_common/include/naiapp_boardaccess_utils.h"
11
12#include "nai_libs/naibrd/include/functions/naibrd_ar.h"
13
14#define MAX_AR_SDI_LABELS 1024
15
16bool_t IsARINC(uint32_t moduleID);
17bool_t GetARCfg(int32_t defcard, int32_t defmod, int32_t defchan, int32_t *cardIndex, int32_t *module, int32_t *archan);
18bool_t GetARINCDataRate(int32_t defdatarate, naibrd_ar_datarate_t *datarate);
19bool_t GetARTxMode(int32_t deftxmode, naibrd_ar_tx_mode_t *txmode);
20bool_t GetARRxMode(int32_t defrxmode, naibrd_ar_rx_mode_t *rxmode);
21bool_t GetARScheduleTransmitModeEnabled(bool_t defSchedEnabled, bool_t* outenable);
22bool_t GetARTransmitDataCount(int32_t defDataCount, int32_t* outdatacount);
23bool_t GetARReceiverTimestampEnabled(bool_t defTimestampEnabled, bool_t* outenable);
24bool_t GetInterruptOrPoll(bool_t defUseInterrupt, bool_t* outuseInterrupt);
25
26#endif
bool_t GetARScheduleTransmitModeEnabled(bool_t defSchedEnabled, bool_t *outenable)
Definition ar429_common_utils.c:194
bool_t GetARReceiverTimestampEnabled(bool_t defTimestampEnabled, bool_t *outenable)
Definition ar429_common_utils.c:232
bool_t IsARINC(uint32_t moduleID)
Definition ar429_common_utils.c:21
bool_t GetARRxMode(int32_t defrxmode, naibrd_ar_rx_mode_t *rxmode)
Definition ar429_common_utils.c:155
bool_t GetInterruptOrPoll(bool_t defUseInterrupt, bool_t *outuseInterrupt)
Definition ar429_common_utils.c:239
bool_t GetARTxMode(int32_t deftxmode, naibrd_ar_tx_mode_t *txmode)
Definition ar429_common_utils.c:117
bool_t GetARCfg(int32_t defcard, int32_t defmod, int32_t defchan, int32_t *cardIndex, int32_t *module, int32_t *archan)
Definition ar429_common_utils.c:37
bool_t GetARTransmitDataCount(int32_t defDataCount, int32_t *outdatacount)
Definition ar429_common_utils.c:201
bool_t GetARINCDataRate(int32_t defdatarate, naibrd_ar_datarate_t *datarate)
Definition ar429_common_utils.c:81
enum naibrd_ar_tx_mode naibrd_ar_tx_mode_t
enum naibrd_ar_datarate naibrd_ar_datarate_t
enum naibrd_ar_rx_mode naibrd_ar_rx_mode_t