/*********************************************************************** * * Copyright Diality, Inc. 2019-2020. All Rights Reserved. * 181 Technology, Ste. 150 * Irvine, CA 92618 * * Project Denali * * @file CPLD.h * * @brief header file for CPLD driver . * * @date 20-Sep-2019 * *************************************************************************/ #ifndef __CPLD_H__ #define __CPLD_H__ // ********** public function prototypes ********** void initCPLD( void ); void setCPLDWatchdog( PIN_SIGNAL_STATE_T level ); PIN_SIGNAL_STATE_T getCPLDWatchdogExpired( void ); void setCPLDLampGreen( PIN_SIGNAL_STATE_T level ); void setCPLDLampYellow( PIN_SIGNAL_STATE_T level ); void setCPLDLampRed( PIN_SIGNAL_STATE_T level ); void setCPLDOffRequest( PIN_SIGNAL_STATE_T level ); PIN_SIGNAL_STATE_T getCPLDOffButton( void ); PIN_SIGNAL_STATE_T getCPLDStopButton( void ); #endif