Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
ar568_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
14bool_t IsARINC568( uint32_t moduleID );
15bool_t GetAR568Cfg( int32_t defcard, int32_t defmod, int32_t defchan, int32_t *cardIndex, int32_t *module, int32_t *archan );
16bool_t GetAR568TxMode( int32_t deftxmode, naibrd_ar568_tx_mode_t *txmode );
17
18bool_t GetAR568TransmitDataCount( int32_t defDataCount, int32_t* outdatacount );
19
20bool_t GetAR568ReceiverTimestampEnabled( bool_t defTimestampEnabled, bool_t* outenable );
21
22bool_t GetAR568RxBoundedFIFOEnabled( bool_t defBoundedFIFOEnabled, bool_t* outenable );
23
24#endif
bool_t GetAR568Cfg(int32_t defcard, int32_t defmod, int32_t defchan, int32_t *cardIndex, int32_t *module, int32_t *archan)
Definition ar568_common_utils.c:37
bool_t GetAR568TxMode(int32_t deftxmode, naibrd_ar568_tx_mode_t *txmode)
Definition ar568_common_utils.c:81
bool_t GetAR568RxBoundedFIFOEnabled(bool_t defBoundedFIFOEnabled, bool_t *outenable)
Definition ar568_common_utils.c:156
bool_t GetAR568TransmitDataCount(int32_t defDataCount, int32_t *outdatacount)
Definition ar568_common_utils.c:117
bool_t GetAR568ReceiverTimestampEnabled(bool_t defTimestampEnabled, bool_t *outenable)
Definition ar568_common_utils.c:148
bool_t IsARINC568(uint32_t moduleID)
Definition ar568_common_utils.c:22
enum naibrd_ar568_tx_mode naibrd_ar568_tx_mode_t