Software Library API naibrd 1.62
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IOCT_SetInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_ioct_group_type_t grouptype, nai_ioct_group_interrupt_t intenable) |
Sets the IOCT Interrupt Enable state for the specified IOCT channel. By default, interrupts are disabled. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IOCT_GetInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_ioct_group_type_t grouptype, nai_ioct_group_interrupt_t *outintenable) |
Retrieves the IOCT Interrupt Enable state for the specified IOCT channel. By default, interrupts are disabled. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IOCT_SetEdgeLevelInterrupt (int32_t cardIndex, int32_t module, int32_t channel, nai_ioct_interrupt_t interruptType) |
Sets the Interrupt Edge/Level property for the specified IOCT channel and interrupt status type. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IOCT_GetEdgeLevelInterrupt (int32_t cardIndex, int32_t module, int32_t channel, nai_ioct_interrupt_t *outinterruptType) |
Retrieves the Interrupt Edge/Level property for the specified IOCT channel and interrupt status type. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IOCT_SetInterruptVector (int32_t cardIndex, int32_t module, int32_t channel, nai_ioct_group_type_t grouptype, uint32_t vector) |
Sets the IOCT Interrupt Vector for the specified IOCT module. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IOCT_GetInterruptVector (int32_t cardIndex, int32_t module, int32_t channel, nai_ioct_group_type_t grouptype, uint32_t *outvector) |
Retrieves the IOCT Interrupt Vector for the specified IOCT module. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IOCT_SetInterruptSteering (int32_t cardIndex, int32_t module, int32_t channel, naibrd_int_steering_t steering) |
Sets the Interrupt Steering which indicates the interrupt direction for the specified channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IOCT_GetInterruptSteering (int32_t cardIndex, int32_t module, int32_t channel, naibrd_int_steering_t *outsteering) |
Retrieves the Interrupt Steering which indicates the interrupt direction for the specified channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IOCT_GetInterruptStatus (int32_t cardIndex, int32_t module, int32_t channel, nai_ioct_group_type_t grouptype, nai_ioct_interrupt_status_type_t type, nai_ioct_group_interrupt_t *outstatus) |
Retrieves the IOCT channel's interrupt status. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IOCT_ClearInterruptStatus (int32_t cardIndex, int32_t module, int32_t channel, nai_ioct_group_type_t grouptype, nai_ioct_group_interrupt_t intstatus) |
Clears the latched status for the specified IOCT channel and status type. (Applicable for latched status types only) | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IOCT_ClearInterruptStatus | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_ioct_group_type_t | grouptype, | ||
nai_ioct_group_interrupt_t | intstatus ) |
Clears the latched status for the specified IOCT channel and status type. (Applicable for latched status types only)
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]). |
grouptype | : (Input) Specify which Interrupt Group to access, refer to nai_ioct_group_type_t definition |
intstatus | : (Output) Interrupt status, refer to nai_ioct_group_interrupt_t definition. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IOCT_GetEdgeLevelInterrupt | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_ioct_interrupt_t * | outinterruptType ) |
Retrieves the Interrupt Edge/Level property for the specified IOCT channel and interrupt status type.
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]). |
outinterruptType | : (Output) Interrupt Type: refer to nai_ioct_interrupt_t definition. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IOCT_GetInterruptEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_ioct_group_type_t | grouptype, | ||
nai_ioct_group_interrupt_t * | outintenable ) |
Retrieves the IOCT Interrupt Enable state for the specified IOCT channel. By default, interrupts are disabled.
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]). |
grouptype | : (Input) Specify which Interrupt Group to access, refer to nai_ioct_group_type_t definition |
outintenable | : (Output) Specify which interrupts to enable and disable, refer to nai_ioct_group_interrupt_t definition. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IOCT_GetInterruptStatus | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_ioct_group_type_t | grouptype, | ||
nai_ioct_interrupt_status_type_t | type, | ||
nai_ioct_group_interrupt_t * | outstatus ) |
Retrieves the IOCT channel's interrupt status.
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]). |
grouptype | : (Input) Specify which Interrupt Group to access, refer to nai_ioct_group_type_t definition |
type | : (Input) Interrupt Status Type: refer to nai_ioct_interrupt_status_type_t definition. |
outstatus | : (Output) Interrupt status, refer to nai_ioct_group_interrupt_t definition. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IOCT_GetInterruptSteering | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_int_steering_t * | outsteering ) |
Retrieves the Interrupt Steering which indicates the interrupt direction for the specified channel.
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]). |
outsteering | : (Output) Interrupt Steering: refer to naibrd_int_steering_t definition. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IOCT_GetInterruptVector | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_ioct_group_type_t | grouptype, | ||
uint32_t * | outvector ) |
Retrieves the IOCT Interrupt Vector for the specified IOCT module.
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]). |
grouptype | : (Input) Specify which Interrupt Group to access, refer to nai_ioct_group_type_t definition |
outvector | : (Output) Interrupt Vector. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IOCT_SetEdgeLevelInterrupt | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_ioct_interrupt_t | interruptType ) |
Sets the Interrupt Edge/Level property for the specified IOCT channel and interrupt status type.
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]). |
interruptType | : (Input) Interrupt Type: refer to nai_ioct_interrupt_t definition. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IOCT_SetInterruptEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_ioct_group_type_t | grouptype, | ||
nai_ioct_group_interrupt_t | intenable ) |
Sets the IOCT Interrupt Enable state for the specified IOCT channel. By default, interrupts are disabled.
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]). |
grouptype | : (Input) Specify which Interrupt Group to access, refer to nai_ioct_group_type_t definition |
intenable | : (Input) Specify which interrupts to enable and disable, refer to nai_ioct_group_interrupt_t definition. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IOCT_SetInterruptSteering | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_int_steering_t | steering ) |
Sets the Interrupt Steering which indicates the interrupt direction for the specified channel.
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]). |
steering | : (Input) Interrupt Steering: refer to naibrd_int_steering_t definition. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IOCT_SetInterruptVector | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_ioct_group_type_t | grouptype, | ||
uint32_t | vector ) |
Sets the IOCT Interrupt Vector for the specified IOCT module.
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]). |
grouptype | : (Input) Specify which Interrupt Group to access, refer to nai_ioct_group_type_t definition |
vector | : (Input) Interrupt Vector. |