Software Library API naibrd 1.62
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AD_SetFIFOInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_ad_fifo_status_t mask) |
Sets the A/D Interrupt Enable setting for the specified A/D channel's FIFO Buffer. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AD_GetFIFOInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_ad_fifo_status_t *p_outmask) |
Retrieves the A/D Interrupt Enable setting for the specified A/D channel's FIFO Buffer. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AD_GetFIFOInterruptEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_ad_fifo_status_t * | p_outmask ) |
Retrieves the A/D Interrupt Enable setting for the specified A/D channel's FIFO Buffer.
FIFO Buffer Interrupt Bit Format: (LSB) B0 - Empty Interrupt when the A/D channel's FIFO counter is zero. B1 - Low Limit Interrupt when the A/D channel's FIFO counter is less than or equal to the Low Threshold. B2 - High Limit Interrupt when the A/D channel's FIFO counter is greater than or equal to the High Threshold. B3 - Full Interrupt when the A/D channel's FIFO counter is equal to 26,213. B4 - Sample Done Interrupt when the A/D channel's FIFO counter is equal to the FIFO size after the trigger occurs. B5 - Reserved B6 - Reserved (MSB) B7 - Reserved
cardIndex | : (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1). |
module | : (Input) Module Number of the module to access (1 - [max modules for board]). |
channel | : (Input) Channel Number of the channel to access (1 - [max channels for module]). |
p_outmask | : (Output) A/D FIFO Buffer Interrupt Enable Settings. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AD_SetFIFOInterruptEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_ad_fifo_status_t | mask ) |
Sets the A/D Interrupt Enable setting for the specified A/D channel's FIFO Buffer.
FIFO Buffer Interrupt Bit Format: (LSB) B0 - Empty Interrupt when the A/D channel's FIFO counter is zero. B1 - Low Limit Interrupt when the A/D channel's FIFO counter is less than or equal to the Low Threshold. B2 - High Limit Interrupt when the A/D channel's FIFO counter is greater than or equal to the High Threshold. B3 - Full Interrupt when the A/D channel's FIFO counter is equal to 26,213. B4 - Sample Done Interrupt when the A/D channel's FIFO counter is equal to the FIFO size after the trigger occurs. B5 - Reserved B6 - Reserved (MSB) B7 - Reserved
cardIndex | : (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1). |
module | : (Input) Module Number of the module to access (1 - [max modules for board]). |
channel | : (Input) Channel Number of the channel to access (1 - [max channels for module]). |
mask | : (Input) A/D FIFO Buffer Interrupt Enable Settings. |