Software Library API naibrd 1.62
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_GetBITStatus (int32_t cardIndex, int32_t module, int32_t channel, nai_ser_status_access_type_t type, bool_t *outBitStatus) |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_ClearBITStatus (int32_t cardIndex, int32_t module, int32_t channel) |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_SetBITInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t intEnable) |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_GetBITInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t *outIntEnable) |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_SetBITInterruptEdgeLevel (int32_t cardIndex, int32_t module, int32_t channel, bool_t edgeLevel) |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_GetBITInterruptEdgeLevel (int32_t cardIndex, int32_t module, int32_t channel, bool_t *outEdgeLevel) |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_SetBITInterruptVector (int32_t cardIndex, int32_t module, uint32_t vector) |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_GetBITInterruptVector (int32_t cardIndex, int32_t module, uint32_t *outvector) |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_SetBITInterruptSteering (int32_t cardIndex, int32_t module, naibrd_int_steering_t steering) |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_GetBITInterruptSteering (int32_t cardIndex, int32_t module, naibrd_int_steering_t *outsteering) |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_ClearBITStatus | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel ) |
Clears the latched BIT status of the channel specified.
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]). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_GetBITInterruptEdgeLevel | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
bool_t * | outEdgeLevel ) |
Retrieves the BIT Interrupt Edge/Level register value for the specified Serial 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]). |
outEdgeLevel | : (Output) 0 = EDGE, 1 = LEVEL. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_GetBITInterruptEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
bool_t * | outIntEnable ) |
Retrieves the BIT Interrupt Enable register value for the specified Serial channel. Setting the bits to 1 enabled interrupts. Status is reported in the BIT 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]). |
outIntEnable | : (Output) enable(1) or disable(0). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_GetBITInterruptSteering | ( | int32_t | cardIndex, |
int32_t | module, | ||
naibrd_int_steering_t * | outsteering ) |
Retrieves the BIT 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]). |
outsteering | : (Output) Interrupt Steering: refer to naibrd_int_steering_t definition. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_GetBITInterruptVector | ( | int32_t | cardIndex, |
int32_t | module, | ||
uint32_t * | outvector ) |
Retrieves the BIT interrupt vector for the specified Serial 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]). |
outvector | : (Output) Interrupt vector. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_GetBITStatus | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_ser_status_access_type_t | type, | ||
bool_t * | outBitStatus ) |
Retrieves the BIT status of the channel specified.
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]). |
type | : (Input) The status access type to read. |
outBitStatus | : (Output) Channel BIT Status (0 = pass, 1 = fail). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_SetBITInterruptEdgeLevel | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
bool_t | edgeLevel ) |
Sets the BIT Interrupt Edge/Level register value for the specified Serial 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) 0 = EDGE, 1 = LEVEL. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_SetBITInterruptEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
bool_t | intEnable ) |
Sets the BIT Interrupt Enable register value for the specified Serial channel. Setting the bits to 1 enabled interrupts. Status is reported in the BIT 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) enable(1) or disable(0). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_SetBITInterruptSteering | ( | int32_t | cardIndex, |
int32_t | module, | ||
naibrd_int_steering_t | steering ) |
Sets the BIT 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]). |
steering | : (Input) Interrupt Steering: refer to naibrd_int_steering_t definition. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_SetBITInterruptVector | ( | int32_t | cardIndex, |
int32_t | module, | ||
uint32_t | vector ) |
Sets the BIT interrupt vector for the specified Serial 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]). |
vector | : (Input) Interrupt vector. |