Software Library API naibrd 2.24.0
See all documentation at naii.docs.com

Functions

NAIBRDFUNC int32_t NAIAPI naibrd_SER_GetChannelCount (uint32_t modId)
 Returns the number of channels for the specified Serial Module ID.
 
NAIBRDFUNC uint32_t NAIAPI naibrd_SER_GetFifoSize (uint32_t modId)
 Returns the size of the FIFO buffer for the specified Serial Module ID.
 
NAIBRDFUNC uint32_t NAIAPI naibrd_SER_GetMaxBaudRate (uint32_t modId, bool_t sync)
 Returns the maximum baud rate for the Serial channels for the specified Serial Module ID and sync mode.
 

Detailed Description

Function Documentation

◆ naibrd_SER_GetChannelCount()

NAIBRDFUNC int32_t NAIAPI naibrd_SER_GetChannelCount ( uint32_t modId)

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

Parameters
modId: (Input) Serial Module ID
Returns
  • Number of channels for the Module ID.

◆ naibrd_SER_GetFifoSize()

NAIBRDFUNC uint32_t NAIAPI naibrd_SER_GetFifoSize ( uint32_t modId)

Returns the size of the FIFO buffer for the specified Serial Module ID.

Parameters
modId: (Input) Serial Module ID
Returns
  • Fifo size for the Module ID.

◆ naibrd_SER_GetMaxBaudRate()

NAIBRDFUNC uint32_t NAIAPI naibrd_SER_GetMaxBaudRate ( uint32_t modId,
bool_t sync )

Returns the maximum baud rate for the Serial channels for the specified Serial Module ID and sync mode.

Note
SC3 modules with FPGA revision >= 1.0 supports synchronous communications.
Parameters
modId: (Input) Serial Module ID
sync: (Input) 1 for sync, 0 for async.
Returns
  • Maximum serial channel baud rate and sync mode for the Module ID.