Index: firmware/App/Drivers/CPLD.c =================================================================== diff -u -ra1daba982e3117ce45437384e770b50cfda7b7a7 -re003dea1ff697744317ca7ee8397a57d6aeaf8fc --- firmware/App/Drivers/CPLD.c (.../CPLD.c) (revision a1daba982e3117ce45437384e770b50cfda7b7a7) +++ firmware/App/Drivers/CPLD.c (.../CPLD.c) (revision e003dea1ff697744317ca7ee8397a57d6aeaf8fc) @@ -89,7 +89,8 @@ /*********************************************************************//** * @brief - * The initCPLD function initializes the CPLD module. + * The initCPLD function initializes the CPLD module. All outputs to CPLD + * (watchdog pet, off request, and alarm lamp LEDs) are set to low. * @details * Inputs : none * Outputs : CPLD module signal outputs set to initial states. @@ -206,7 +207,10 @@ /*********************************************************************//** * @brief - * The toggleCPLDOffRequest function toggles the off request signal to CPLD. + * The toggleCPLDOffRequest function toggles the off request signal to CPLD. + * The off request signal must be toggled 4 times, once every 50 ms, in order + * for the CPLD to accept the off request sequence and initiate system power + * down. * @details * Inputs : none * Outputs : off request signal toggled.