Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SD_SetEventMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_sd_event_mapped_status_type_t type, bool_t enable) |
Sets the Event Mapped Interrupt Enable for the specified SD channel and event mapped interrupt status type. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SD_GetEventMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_sd_event_mapped_status_type_t type, bool_t *p_outEnable) |
Retrieves the Event Mapped Interrupt Enable for the specified SD channel and event mapped interrupt status type. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SD_SetEventMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_sd_event_mapped_status_type_t type, naibrd_int_trigger_type_t triggerType) |
Sets the Event Mapped Interrupt Edge/Level property for the specified SD channel and event mapped interrupt status type. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SD_GetEventMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_sd_event_mapped_status_type_t type, naibrd_int_trigger_type_t *p_outTriggerType) |
Retrieves the Event Mapped Interrupt Edge/Level property for the specified SD channel and event mapped interrupt status type. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SD_SetEventMappedInterruptVector (int32_t cardIndex, int32_t module, int32_t channel, naibrd_sd_event_mapped_category_type_t type, uint32_t vector) |
Sets the Event Mapped Interrupt Vector for the specified SD channel and event mapped interrupt status category type. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SD_GetEventMappedInterruptVector (int32_t cardIndex, int32_t module, int32_t channel, naibrd_sd_event_mapped_category_type_t type, uint32_t *p_outVector) |
Retrieves the Event Mapped Interrupt Vector for the specified SD channel and event mapped interrupt status category type. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SD_SetEventMappedInterruptSteering (int32_t cardIndex, int32_t module, int32_t channel, naibrd_sd_event_mapped_category_type_t type, naibrd_int_steering_t steering) |
Sets the Event Mapped Interrupt Steering, which indicates the interrupt direction, for the specified SD channel and event mapped interrupt status category type. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SD_GetEventMappedInterruptSteering (int32_t cardIndex, int32_t module, int32_t channel, naibrd_sd_event_mapped_category_type_t type, naibrd_int_steering_t *p_outSteering) |
Retrieves the Event Mapped Interrupt Steering, which indicates the interrupt direction, for the specified SD channel and event mapped interrupt status category type. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SD_SetFIFOInterruptVector (int32_t cardIndex, int32_t module, int32_t channel, uint32_t vector32) |
Sets the FIFO Interrupt Vector for the specified SD channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SD_GetFIFOInterruptVector (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outVector32) |
Retrieves the FIFO Interrupt Vector for the specified SD channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SD_SetFIFOInterruptEdgeLevel (int32_t cardIndex, int32_t module, int32_t channel, nai_sd_fifo_status_t edgeLevelMask) |
Sets the edge or level triggered interrupt event mapped (e.g. hi-watermark, full, etc) mask for the specified SD channel's FIFO Buffer. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SD_GetFIFOInterruptEdgeLevel (int32_t cardIndex, int32_t module, int32_t channel, nai_sd_fifo_status_t *p_outEdgeLevelMask) |
Retrieves the edge or level triggered interrupt event mapped (e.g. hi-watermark, full, etc) mask for the specified SD channel's FIFO Buffer. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SD_SetFIFOInterruptSteering (int32_t cardIndex, int32_t module, int32_t channel, naibrd_int_steering_t steering) |
Sets the FIFO Interrupt Steering, which indicates the interrupt direction, for the specified SD channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SD_GetFIFOInterruptSteering (int32_t cardIndex, int32_t module, int32_t channel, naibrd_int_steering_t *p_outSteering) |
Retrieves the FIFO Interrupt Steering, which indicates the interrupt direction, for the specified SD channel. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_GetEventMappedInterruptEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_sd_event_mapped_status_type_t | type, | ||
bool_t * | p_outEnable ) |
Retrieves the Event Mapped Interrupt Enable for the specified SD channel and event mapped 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]). |
type | : (Input) Status Type: refer to naibrd_sd_event_mapped_status_type_t definition. |
p_outEnable | : (Output) 0 for disabled, 1 for enabled interrupt. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_GetEventMappedInterruptSteering | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_sd_event_mapped_category_type_t | type, | ||
naibrd_int_steering_t * | p_outSteering ) |
Retrieves the Event Mapped Interrupt Steering, which indicates the interrupt direction, for the specified SD channel and event mapped interrupt status category 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]). |
type | : (Input) Event-Mapped Status Category Type: refer to naibrd_sd_event_mapped_category_type_t definition. |
p_outSteering | : (Output) Interrupt Steering: refer to naibrd_int_steering_t definition. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_GetEventMappedInterruptTriggerType | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_sd_event_mapped_status_type_t | type, | ||
naibrd_int_trigger_type_t * | p_outTriggerType ) |
Retrieves the Event Mapped Interrupt Edge/Level property for the specified SD channel and event mapped 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]). |
type | : (Input) Status Type: refer to naibrd_sd_event_mapped_status_type_t definition. |
p_outTriggerType | : (Output) Interrupt trigger type (NAIBRD_INT_TRIGGER_TYPE_EDGE or NAIBRD_INT_TRIGGER_TYPE_LEVEL). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_GetEventMappedInterruptVector | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_sd_event_mapped_category_type_t | type, | ||
uint32_t * | p_outVector ) |
Retrieves the Event Mapped Interrupt Vector for the specified SD channel and event mapped interrupt status category 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]). |
type | : (Input) Event-Mapped Status Category Type: refer to naibrd_sd_event_mapped_category_type_t definition. |
p_outVector | : (Output) Interrupt Vector. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_GetFIFOInterruptEdgeLevel | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_sd_fifo_status_t * | p_outEdgeLevelMask ) |
Retrieves the edge or level triggered interrupt event mapped (e.g. hi-watermark, full, etc) mask for the specified SD channel's FIFO Buffer.
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_outEdgeLevelMask | : (Output) Channel bit mapped mask of edge(0) or level(1) triggered interrupts. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_GetFIFOInterruptSteering | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_int_steering_t * | p_outSteering ) |
Retrieves the FIFO Interrupt Steering, which indicates the interrupt direction, for the specified SD 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_SD_GetFIFOInterruptVector | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
uint32_t * | p_outVector32 ) |
Retrieves the FIFO Interrupt Vector for the specified SD 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_outVector32 | : (Output) Interrupt Vector. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_SetEventMappedInterruptEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_sd_event_mapped_status_type_t | type, | ||
bool_t | enable ) |
Sets the Event Mapped Interrupt Enable for the specified SD channel and event mapped 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]). |
type | : (Input) Status Type: refer to naibrd_sd_event_mapped_status_type_t definition. |
enable | : (Input) 0 to disable, 1 to enable interrupt. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_SetEventMappedInterruptSteering | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_sd_event_mapped_category_type_t | type, | ||
naibrd_int_steering_t | steering ) |
Sets the Event Mapped Interrupt Steering, which indicates the interrupt direction, for the specified SD channel and event mapped interrupt status category 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]). |
type | : (Input) Event-Mapped Status Category Type: refer to naibrd_sd_event_mapped_category_type_t definition. |
steering | : (Input) Interrupt Steering: refer to naibrd_int_steering_t definition. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_SetEventMappedInterruptTriggerType | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_sd_event_mapped_status_type_t | type, | ||
naibrd_int_trigger_type_t | triggerType ) |
Sets the Event Mapped Interrupt Edge/Level property for the specified SD channel and event mapped 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]). |
type | : (Input) Status Type: refer to naibrd_sd_event_mapped_status_type_t definition. |
triggerType | : (Input) Interrupt trigger type (NAIBRD_INT_TRIGGER_TYPE_EDGE or NAIBRD_INT_TRIGGER_TYPE_LEVEL). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_SetEventMappedInterruptVector | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_sd_event_mapped_category_type_t | type, | ||
uint32_t | vector ) |
Sets the Event Mapped Interrupt Vector for the specified SD channel and event mapped interrupt status category 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]). |
type | : (Input) Event-Mapped Status Category Type: refer to naibrd_sd_event_mapped_category_type_t definition. |
vector | : (Input) Interrupt Vector. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_SetFIFOInterruptEdgeLevel | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_sd_fifo_status_t | edgeLevelMask ) |
Sets the edge or level triggered interrupt event mapped (e.g. hi-watermark, full, etc) mask for the specified SD channel's FIFO Buffer.
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]). |
edgeLevelMask | : (Input) Channel bit mapped mask of edge(0) or level(1) triggered interrupts. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_SetFIFOInterruptSteering | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_int_steering_t | steering ) |
Sets the FIFO Interrupt Steering, which indicates the interrupt direction, for the specified SD 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_SD_SetFIFOInterruptVector | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
uint32_t | vector32 ) |
Sets the FIFO Interrupt Vector for the specified SD 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]). |
vector32 | : (Input) Interrupt Vector. |