|
static nai_status_t | naibrd_REF_VerifyChannel (uint32_t modId, int32_t channel) |
|
static nai_status_t | naibrd_REF_VerifyChanMappedStatusType (naibrd_ref_chan_mapped_status_type_t statusType) |
|
static nai_status_t | naibrd_REF_VerifyEventMappedStatus (naibrd_ref_event_mapped_status_type_t statusType) |
|
static nai_status_t | naibrd_REF_VerifyEventMappedCategory (naibrd_ref_event_mapped_category_type_t categoryType) |
|
static nai_status_t | naibrd_REF_GetEventMappedCategoryInfo (naibrd_ref_event_mapped_status_type_t statusType, naibrd_ref_event_mapped_category_type_t *p_outcategoryType, uint32_t *p_outaccessIndex, uint32_t *p_outmask) |
|
NAIBRDFUNC int32_t NAIAPI | naibrd_REF_GetChannelCount (uint32_t modId) |
| Returns the number of channels for the specified Reference Module ID.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_SetData (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ref_data_type_t type, float64_t data) |
| Sets operational properties (voltage, frequencies, ect..) for the reference module. Data is specified as follows:
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_GetData (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ref_data_type_t type, float64_t *p_outdata) |
| Retrieves operational properties (voltage, frequencies, ect..) for the reference module. Data is reported as follows:
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_GetMeasuredData (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ref_measured_type_t type, float64_t *p_outdata) |
| Retrieves the measured operational values from the reference module. Measurements are reported as follows:
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_SetChannelEnable (int32_t cardIndex, int32_t module, int32_t channel, uint32_t value) |
| Sets the control of a specific channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_GetChannelEnable (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outvalue) |
| Retrieves the control of a specific channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_SetChanStatusEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable) |
| Enables/disables status reporting for the specified REF channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_GetChanStatusEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t *outenable) |
| Retrieves the enabled/disabled state of status reporting for the specified REF channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_GetChanMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ref_chan_mapped_status_type_t statusType, nai_status_bit_t *p_outstatusBit) |
| Retrieves the status for the specified Reference channel with the output specified as follows:
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_ClearChanMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ref_chan_mapped_status_type_t statusType) |
| Clears the latched or realtime status for the specified REF channel and status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_GetEventMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ref_event_mapped_status_type_t statusType, nai_status_bit_t *p_outstatusBit) |
| Retrieves the status for the specified Reference channel with the output specified as follows:
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_ClearEventMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ref_event_mapped_status_type_t statusType) |
| Clears the latched status for the specified REF channel and status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_CheckPowerOnBITComplete (int32_t cardIndex, int32_t module, bool_t *p_outpbitComplete) |
| Retrieves the Power-On BIT (PBIT) status (complete or incomplete) for the specified channel. The PBIT result will be in the BIT status register.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_SetWatchdogQuietTime (int32_t cardIndex, int32_t module, uint32_t quietTime) |
| Sets the quiet time duration for the watchdog timer. The watchdog timer is comprised of two parts: quiet time, and window. The quiet time is the time where a strobe is NOT expected to occur, and the window is the time where a SINGLE strobe is expected. A strobe is made by the application by calling naibrd_REF_WatchdogStrobe().
|
|
nai_status_t NAIAPI | naibrd_REF_GetWatchdogQuietTime (int32_t cardIndex, int32_t module, uint32_t *p_outquietTime) |
| Retrieves the quiet time duration for the watchdog timer. The watchdog timer is comprised of two parts: quiet time, and window. The quiet time is the time where a strobe is NOT expected to occur, and the window is the time where a SINGLE strobe is expected. A strobe is made by the application by calling naibrd_REF_WatchdogStrobe().
|
|
nai_status_t NAIAPI | naibrd_REF_SetWatchdogWindow (int32_t cardIndex, int32_t module, uint32_t window) |
| Sets the window that a call to naibrd_REF_WatchdogStrobe() will be made in. If a call to naibrd_REF_WatchdogStrobe() is not made by the application within the 'window' ('quiet time' + 'window'), the Watchdog Timer Fault will occur.
|
|
nai_status_t NAIAPI | naibrd_REF_GetWatchdogWindow (int32_t cardIndex, int32_t module, uint32_t *p_outwindow) |
| Retrieves the window that a call to naibrd_REF_WatchdogStrobe() will be made in. If a call to naibrd_REF_WatchdogStrobe() is not made by the application within the 'window' ('quiet time' + 'window'), the Watchdog Timer Fault will occur.
|
|
nai_status_t NAIAPI | naibrd_REF_WatchdogStrobe (int32_t cardIndex, int32_t module) |
| Strobes the Watchdog Timer. A SINGLE call to this function MUST be made by the application within the 'window' or a Watchdog Timer Fault will occur.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_SetReset (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ref_reset_type_t type) |
| Resets the channel depending on the type received.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_SetResetAll (int32_t cardIndex, int32_t module, naibrd_ref_reset_type_t type) |
| Resets all of the channel depending on the type received.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_GetModulePowerResetStatus (int32_t cardIndex, int32_t module, naibrd_ref_module_power_reset_status_type_t modulePowerResetStatusType, bool_t *p_outmodulePowerResetStatusBit) |
| Retrieves the bit specified by the module power reset status type from the module power reset status register for the specified Reference module. Feature supported in Motherboard FPGA Version >= X.X.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_ClearModulePowerResetStatus (int32_t cardIndex, int32_t module, naibrd_ref_module_power_reset_status_type_t modulePowerResetStatusType) |
| Clears the bit specified by the module power reset status type in the module power reset status register for the specified Reference module. Feature supported in Motherboard FPGA Version >= X.X.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_SetModulePowerReset (int32_t cardIndex, int32_t module, naibrd_ref_module_power_reset_type_t modulePowerResetType, bool_t modulePowerResetBit) |
| Sets the bit specified by the module power reset type in the module power reset register for the specified Reference module. If the bit was set, the hardware will acknowledge it by setting the corresponding bit back to 0. Feature supported in Motherboard FPGA Version >= X.X.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_GetModulePowerReset (int32_t cardIndex, int32_t module, naibrd_ref_module_power_reset_type_t modulePowerResetType, bool_t *p_outmodulePowerResetBit) |
| Retrieves the bit specified by the module power reset type from the module power reset register for the specified Reference module. Feature supported in Motherboard FPGA Version >= X.X.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_GetChannelRaw (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ref_register_type_t type, uint32_t *p_outrawData) |
| Retrieves the raw register data of the type and channel specified.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_SetChannelRaw (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ref_register_type_t type, uint32_t rawData) |
| Sets the raw register data of the type and channel specified.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_GetChanMappedStatusRaw (int32_t cardIndex, int32_t module, naibrd_ref_chan_mapped_status_type_t statusType, uint32_t *p_outstatusRaw) |
| Retrieves the raw data value in the status register associated with the status type specified.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_ClearChanMappedStatusRaw (int32_t cardIndex, int32_t module, naibrd_ref_chan_mapped_status_type_t statusType, uint32_t clearStatusRaw) |
| Retrieves the raw data value in the status register associated with the status type specified. Note: The result of attempting to clear a realtime status may be unpredictable.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_GetEventMappedStatusRaw (int32_t cardIndex, int32_t module, int32_t channel, nai_status_access_type_t accessType, naibrd_ref_event_mapped_category_type_t categoryType, uint32_t *p_outstatusRaw) |
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_REF_ClearEventMappedStatusRaw (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ref_event_mapped_category_type_t categoryType, uint32_t statusRaw) |
|