Software Library API naibrd 1.62
See all documentation at naii.docs.com
Module Properties Functions

Functions

NAIBRDFUNC int32_t NAIAPI naibrd_CAN_GetChannelCount (uint32_t modid)
 Returns the number of channels for the specified CAN Module ID.
 
NAIBRDFUNC int32_t NAIAPI naibrd_CAN_GetChannelCountByModIndex (uint32_t cardIndex, uint32_t module)
 Returns the number of channels for the specified card and CAN Module Index.
 
NAIBRDFUNC int32_t NAIAPI naibrd_CAN_GetMaxFifoCount (uint32_t modid)
 Returns the max Fifo count for the specified CAN Module ID.
 
NAIBRDFUNC int32_t NAIAPI naibrd_CAN_GetFrameSize (uint32_t modid)
 Returns the frame size for the specified CAN Module ID.
 

Detailed Description


Function Documentation

◆ naibrd_CAN_GetChannelCount()

NAIBRDFUNC int32_t NAIAPI naibrd_CAN_GetChannelCount ( uint32_t modid)

Returns the number of channels for the specified CAN Module ID.

Parameters
modid: (Input) CAN Module ID
Returns
  • Number of channels for the Module ID.

◆ naibrd_CAN_GetChannelCountByModIndex()

NAIBRDFUNC int32_t NAIAPI naibrd_CAN_GetChannelCountByModIndex ( uint32_t cardIndex,
uint32_t module )

Returns the number of channels for the specified card and CAN Module Index.

Parameters
cardIndex: (Input) Logical Card Index assigned to connect with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
module: (Input) Module Number of the module to access (1 - [max modules for board]).
Returns
  • Number of channels for the Module Index.

◆ naibrd_CAN_GetFrameSize()

NAIBRDFUNC int32_t NAIAPI naibrd_CAN_GetFrameSize ( uint32_t modid)

Returns the frame size for the specified CAN Module ID.

Parameters
modid: (Input) CAN Module ID
Returns
  • Frame size for the Module ID.

◆ naibrd_CAN_GetMaxFifoCount()

NAIBRDFUNC int32_t NAIAPI naibrd_CAN_GetMaxFifoCount ( uint32_t modid)

Returns the max Fifo count for the specified CAN Module ID.

Parameters
modid: (Input) CAN Module ID
Returns
  • Max Fifo count for the Module ID.