StdPJ/Core/Src/APP/BSP/ug96/ug96.c
/**
  * @brief  Register UG96 Tick external cb functions to be provided by application (e.g. HAL_GetTick)
  * @param  Obj: pointer to module handle
  * @param  GetTickCb: pointer to callback function that should provide a Timer Tick in ms
  * @retval Operation Status.
  */
@brief  Register UG96 Tick external cb functions to be provided by application
@param  Obj: pointer to module handle
@param  GetTickCb: pointer to callback function that should provide a Timer Tick in ms
@retval Operation Status.
@brief Register UG96 Tick external cb functions to be provided by application @param Obj : pointer to module handle @param GetTickCb : pointer to callback function that should provide a Timer Tick in ms @retval Operation Status .
UG96_Return_t  UG96_RegisterTickCb(Ug96Object_t *Obj, App_GetTickCb_Func  GetTickCb)
{
  if(!Obj || !GetTickCb)
  {
    return UG96_RETURN_ERROR;
  }
  Obj->GetTickCb = GetTickCb;
  return UG96_RETURN_OK;
}
UG96_Return_t UG96_RegisterTickCb ( Ug96Object_t * Obj , App_GetTickCb_Func GetTickCb ) { if ( ! Obj || ! GetTickCb ) { return UG96_RETURN_ERROR ; } Obj -> GetTickCb = GetTickCb ; return UG96_RETURN_OK ; }
@brief  Register UG96 Tick external cb functions to be provided by application (e.g.
@brief Register UG96 Tick external cb functions to be provided by application ( e . g .