Skip to content

Instantly share code, notes, and snippets.

@eliaskanelis
Created May 26, 2024 22:31
Show Gist options
  • Save eliaskanelis/bcbcdd9444874d69fab048daeacc604e to your computer and use it in GitHub Desktop.
Save eliaskanelis/bcbcdd9444874d69fab048daeacc604e to your computer and use it in GitHub Desktop.
#ifndef CDDTEMPLATE_H
#define CDDTEMPLATE_H
#include "Std_Types.h"
/** \brief Driver Initialization. */
extern void CddTemplate_Init( void );
/** \brief Driver De-initialization. */
extern void CddTemplate_Deinit( void );
/** \brief Driver cyclic function. */
extern void CddTemplate_MainFunction( void );
/**
* \brief Enable the APIX PHY.
* \retval E_OK Success
* \retval E_NOT_OK Error
*/
extern Std_ReturnType CddTemplate_EnablePhy( void );
/**
* \brief Disable the APIX PHY.
* \retval E_OK Success
* \retval E_NOT_OK Error
*/
extern Std_ReturnType CddTemplate_DisablePhy( void );
/**
* \brief Get the status of APIX Link
* \retval E_OK Success
* \retval E_NOT_OK Error
*/
extern Std_ReturnType CddTemplate_GetLinkStatus( boolean *isLinkUp );
#endif /* CDDTEMPLATE_H */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment