FuncLayerAPI.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /**
  2. * @file FuncLayerAPI.h
  3. * @author Wang, Zhiyu(wangzy49@midea.com)
  4. * @brief API of Function Layer which is uesd in Application Layer
  5. * @version 0.1
  6. * @date 2021-10-09
  7. *
  8. * @copyright Copyright (c) 2021
  9. *
  10. */
  11. /************************************************************************
  12. Beginning of File, do not put anything above here except notes
  13. Compiler Directives:
  14. *************************************************************************/
  15. #include "bikespeed.h"
  16. #include "Cadence.h"
  17. #include "torquesensor.h"
  18. #include "power.h"
  19. #include "bikebrake.h"
  20. #include "bikethrottle.h"
  21. #include "bikelight.h"
  22. #include "Temp.h"
  23. #include "AssistCurve.h"
  24. #include "bikeinformation.h"
  25. /****************************************
  26. *
  27. * Definitions & Macros
  28. *
  29. ****************************************/
  30. extern CADENCE_OUT cadence_stFreGetOut;
  31. extern CADENCE_COF cadence_stFreGetCof;
  32. extern TORQUESENSOR_OUT torsensor_stTorSensorOut;
  33. extern TORQUESENSOR_COF torsensor_stTorSensorCof;
  34. extern BIKESPEED_OUT bikespeed_stFreGetOut;
  35. //extern BIKELIGHT_OUT bikelight_stBikeLightOut;
  36. /***************************************
  37. *
  38. * Function api
  39. *
  40. ***************************************/