/* * Initialization_on_Connect_Done.h * * Created on: 24-Jul-2023 * Author: vivek */ /** * @file Initialization_on_Connect_Done.h * @brief All Initialization operations on Connect Done. */ #ifndef SRC_INITIALIZATION_ON_CONNECT_DONE_H_ #define SRC_INITIALIZATION_ON_CONNECT_DONE_H_ #include "ltcusb.h" #include "ltcusb_command.h" /** * @brief Initialization on Connect Done * Implemented when a DEVT.ConnectionDone event (this event indicates * the end of the reset on the USB) occurs. * @return 0 when success, a negative value when failed. * @retval -1 DEPCFG command failed for EP0. * @retval -2 DEPCFG command failed for EP1. * @retval -3 GCTL register Write failed. * @retval -4 dsts_read failed. */ extern int Initialization_onConnect_Done(void); #endif /* SRC_INITIALIZATION_ON_CONNECT_DONE_H_ */