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

Functions

NAIBRDFUNC nai_status_t NAIAPI naibrd_IsModuleReady (int32_t cardIndex, int32_t module)
 Determines whether the module is fully booted. For Gen5, this feature is added in MBCore(Rev 4.123) and above. The user can read the MBCore revision at mother board address 0x100. The revsion is encoded as (0x007B0004)minor(123) major(4).
 

Detailed Description


Function Documentation

◆ naibrd_IsModuleReady()

NAIBRDFUNC nai_status_t NAIAPI naibrd_IsModuleReady ( int32_t cardIndex,
int32_t module )

Determines whether the module is fully booted. For Gen5, this feature is added in MBCore(Rev 4.123) and above. The user can read the MBCore revision at mother board address 0x100. The revsion is encoded as (0x007B0004)minor(123) major(4).

Parameters
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]).
Returns
  • NAI_SUCCESS when the module is ready.
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_NOT_READY when the module is not ready.
  • An error returned by naibrd_ReadReg32