Software Library API naibrd 1.62
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SCG_SetInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_scg_status_t intEnable) |
Sets the Interrupt Enable register value for the specified SCG channel. Setting the bits to 1 enables interrupts. Status is reported in the Interrupt Status register. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SCG_GetInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_scg_status_t *p_outIntEnable) |
Retrieves the Interrupt Enable register value for the specified SCG channel. Setting the bits to 1 enabled interrupts. Status is reported in the Interrupt Status register. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SCG_SetInterruptEdgeLevel (int32_t cardIndex, int32_t module, int32_t channel, uint32_t edgeLevel) |
Sets the Interrupt Edge/Level register value for the specified SCG channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SCG_GetInterruptEdgeLevel (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outEdgeLevel) |
Retrieves the Interrupt Edge/Level register value for the specified SCG channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SCG_SetInterruptVector (int32_t cardIndex, int32_t module, int32_t channel, uint32_t vector) |
Sets the interrupt vector for the specified SCG channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SCG_GetInterruptVector (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outvector) |
Retrieves the interrupt vector for the specified SCG channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SCG_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_SCG_GetInterruptSteering (int32_t cardIndex, int32_t module, int32_t channel, naibrd_int_steering_t *p_outsteering) |
Retrieves the Interrupt Steering which indicates the interrupt direction for the specified channel. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SCG_GetInterruptEdgeLevel | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
uint32_t * | p_outEdgeLevel ) |
Retrieves the Interrupt Edge/Level register value for the specified SCG 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]). |
p_outEdgeLevel | : (Output)Bitmask of the trigger Mode of interrupts (0 = EDGE, 1 = LEVEL). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SCG_GetInterruptEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_scg_status_t * | p_outIntEnable ) |
Retrieves the Interrupt Enable register value for the specified SCG channel. Setting the bits to 1 enabled interrupts. Status is reported in the Interrupt Status register.
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_outIntEnable | : (Output) Bitmask of interrupts to enable(1) and/or disable(0). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SCG_GetInterruptSteering | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_int_steering_t * | p_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]). |
p_outsteering | : (Output) Interrupt Steering: refer to naibrd_int_steering_t definition. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SCG_GetInterruptVector | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
uint32_t * | p_outvector ) |
Retrieves the interrupt vector for the specified SCG 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]). |
p_outvector | : (Output) Interrupt vector. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SCG_SetInterruptEdgeLevel | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
uint32_t | edgeLevel ) |
Sets the Interrupt Edge/Level register value for the specified SCG 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]). |
edgeLevel | : (Input) Bitmask of the trigger Mode of interrupts (0 = EDGE, 1 = LEVEL). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SCG_SetInterruptEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_scg_status_t | intEnable ) |
Sets the Interrupt Enable register value for the specified SCG channel. Setting the bits to 1 enables interrupts. Status is reported in the Interrupt Status register.
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]). |
intEnable | : (Input) Bitmask of interrupts to enable(1) and/or disable(0). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SCG_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_SCG_SetInterruptVector | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
uint32_t | vector ) |
Sets the interrupt vector for the specified SCG 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]). |
vector | : (Input) Interrupt vector. |