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

Functions

NAIBRDFUNC nai_status_t NAIAPI naibrd_Log_GetLastWDTExpiredStatus (int32_t cardIndex, bool_t *p_outwdtLastStatusExpired)
 Retrieve information from the platform processor if host watchdog timer has expired since it was last enabled. Note: this value gets cleared in the platform processor's FRAM when the WDT is next enabled.
 

Detailed Description

Function Documentation

◆ naibrd_Log_GetLastWDTExpiredStatus()

NAIBRDFUNC nai_status_t NAIAPI naibrd_Log_GetLastWDTExpiredStatus ( int32_t cardIndex,
bool_t * p_outwdtLastStatusExpired )

Retrieve information from the platform processor if host watchdog timer has expired since it was last enabled. Note: this value gets cleared in the platform processor's FRAM when the WDT is next enabled.

Copies information about the last host watchdog expiration from the Logging (FRAM) device that is connected to the platform processor to the Scratchpad Register area, then reads it.

Important Note - This function works in conjunction with the MBCore application running on Motherboard Processor that the Log (FRAM) device is connected to. This function can be used to retrieve the Log (FRAM) device on a Slave board when access is via the native bus (PCI/PCIe/VME) or when accessing the Log (FRAM) device for the processor (Zynq or Ultrascale) on a board that has a host processor (PPC/Intel - 68PPC2, 67PPC2, etc).

Parameters
cardIndex: (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
p_outwdtLastStatusExpired: (Output) NAI_TRUE represents that the Host Processor's last status was expired.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_VALUE when invalid parameter is specified.