Software Library API naibrd 1.62
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DirectInterrupts (int32_t cardIndex, nai_intf_t intf) |
Specified to which interface the card should direct interrupts. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SetVMEInterruptLevel (int32_t cardIndex, uint8_t level) |
Sets the VME interrupt level of the card. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_GetVMEInterruptLevel (int32_t cardIndex, uint8_t *level) |
Gets the VME interrupt level of the card. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_InstallISR (int32_t cardIndex, naibrd_irq_id_t irq_id, nai_isr_t isr, void *param) |
Handles associating the Interrupt Service Routine for PCI and Ethernet communication. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_HookVector (int32_t cardIndex, uint32_t vector) |
Handles associating the interrupt vector to an interrupt driven Ethernet message. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_UninstallISR (int32_t cardIndex) |
Handles removing the interrupt associations (Interrupt Service Routine or Interrupt Driven Ethernet Messages). | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_GetOffboardInterruptVector (int32_t cardIndex, uint32_t *unVector) |
Handles retrieving the interrupt vector over the backplane. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_ClearOffboardInterrupt (int32_t cardIndex) |
Handles clearing an interrupt over the backplane. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_ClearOffboardInterrupt | ( | int32_t | cardIndex | ) |
Handles clearing an interrupt over the backplane.
cardIndex | : (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DirectInterrupts | ( | int32_t | cardIndex, |
nai_intf_t | intf ) |
Specified to which interface the card should direct interrupts.
cardIndex | : (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1). |
intf | : (Input) The interface to send interrupts. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_GetOffboardInterruptVector | ( | int32_t | cardIndex, |
uint32_t * | unVector ) |
Handles retrieving the interrupt vector over the backplane.
cardIndex | : (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1). |
unVector | : (Output) The interrupt vector. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_GetVMEInterruptLevel | ( | int32_t | cardIndex, |
uint8_t * | level ) |
Gets the VME interrupt level of the card.
cardIndex | : (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1). |
level | : (Output) The VME interrupt level. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_HookVector | ( | int32_t | cardIndex, |
uint32_t | vector ) |
Handles associating the interrupt vector to an interrupt driven Ethernet message.
cardIndex | : (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1). |
vector | : (Input) Interrupt vector. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_InstallISR | ( | int32_t | cardIndex, |
naibrd_irq_id_t | irq_id, | ||
nai_isr_t | isr, | ||
void * | param ) |
Handles associating the Interrupt Service Routine for PCI and Ethernet communication.
cardIndex | : (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1). |
irq_id | : (Input) Interrupt Request identification refer to naibrd_irq_id definition. |
isr | : (Input) Interrupt Service Routine. |
param | : (Input) parameters used by the interrupt service routine. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SetVMEInterruptLevel | ( | int32_t | cardIndex, |
uint8_t | level ) |
Sets the VME interrupt level of the card.
cardIndex | : (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1). |
level | : (Input) The VME interupt level. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_UninstallISR | ( | int32_t | cardIndex | ) |
Handles removing the interrupt associations (Interrupt Service Routine or Interrupt Driven Ethernet Messages).
cardIndex | : (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1). |