FuncLayerAPI.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. #include "uart_TORG4BBSensor.h"
  26. #include "Customization.h"
  27. /****************************************
  28. *
  29. * Definitions & Macros
  30. *
  31. ****************************************/
  32. extern CADENCE_OUT cadence_stFreGetOut;
  33. extern CADENCE_COF cadence_stFreGetCof;
  34. extern TORQUESENSOR_OUT torsensor_stTorSensorOut;
  35. extern TORQUESENSOR_COF torsensor_stTorSensorCof;
  36. extern BIKESPEED_OUT bikespeed_stFreGetOut;
  37. //extern BIKELIGHT_OUT bikelight_stBikeLightOut;
  38. /***************************************
  39. *
  40. * Function api
  41. *
  42. ***************************************/