/** * @file FuncLayerAPI.h * @author Wang, Zhiyu(wangzy49@midea.com) * @brief API of Function Layer which is uesd in Application Layer * @version 0.1 * @date 2021-10-09 * * @copyright Copyright (c) 2021 * */ /************************************************************************ Beginning of File, do not put anything above here except notes Compiler Directives: *************************************************************************/ #include "bikespeed.h" #include "Cadence.h" #include "torquesensor.h" #include "power.h" #include "bikebrake.h" #include "bikethrottle.h" #include "bikelight.h" #include "Temp.h" #include "AssistCurve.h" #include "bikeinformation.h" /**************************************** * * Definitions & Macros * ****************************************/ extern CADENCE_OUT cadence_stFreGetOut; extern CADENCE_COF cadence_stFreGetCof; extern TORQUESENSOR_OUT torsensor_stTorSensorOut; extern TORQUESENSOR_COF torsensor_stTorSensorCof; extern BIKESPEED_OUT bikespeed_stFreGetOut; //extern BIKELIGHT_OUT bikelight_stBikeLightOut; /*************************************** * * Function api * ***************************************/