GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > RAD750 / V1-3-0
Constituent: rad750_reboot     Tag: rad750
#include "BootDiagnostics.h"
Include dependency graph for RAD750_reboot.h:
This graph shows which files directly or indirectly include this file:
Defines | |
#define | RAD750_REBOOT_N_APP_WORDS BOOT_DIAGS_APP_NUM_WORD |
Typedefs | |
typedef enum _RAD750_Reboot_Type | RAD750_Reboot_Type |
Enumerations | |
enum | _RAD750_Reboot_Type { RAD750_REBOOT_TYPE_VXWORKS = BOOT_START_VXW, RAD750_REBOOT_TYPE_COLD = BOOT_START_COLD, RAD750_REBOOT_TYPE_WATCHDOG = BOOT_START_WDOG, RAD750_REBOOT_TYPE_PANIC = BOOT_START_PANIC, RAD750_REBOOT_TYPE_EXCEPTION = BOOT_START_EXCEPTION, RAD750_REBOOT_TYPE_COMMAND = BOOT_START_COMMAND } |
Functions | |
void | RAD750_rebootGo (RAD750_Reboot_Type bootType, const unsigned int *appInfo, unsigned int options) |
Reboot the processor from the application level. | |
void | RAD750_rebootGet (RAD750_Reboot_Type *bootType, unsigned int *appInfo) |
Get the application reboot information. |
|
The number of application information words to store or get. |
|
The typedef for _RAD750_Reboot_Type. |
|
|
Get the application reboot information. Returns the information in the boot diagnosics area. This may be used to diagnose the cause of a reboot when applications are starting up. The returned bootType value should be one of the RAD750_Reboot_Type values,indicating the reboot cause. The application reboot information words are copied into the user buffer appInfo. These should be the same values as from the last call to RAD750_rebootGo(), if the reboot was peformed in that manner.
|
|
Reboot the processor from the application level. Performs a reboot of the processor. The relevant information is stored in the boot diagnostics area in RAM for the primary boot code and is eventually available after the reboot is complete using RAD750_rebootGet(). The bit BOOT_DIAGS_PBF_APP_RESET is set in the primary boot flags to indicate a reboot from the application level. The bootType parameter is also passed in to the primary boot code. In general, users of this function should only implement types RAD750_REBOOT_TYPE_PANIC or RAD750_REBOOT_TYPE_COMMAND.
|