yan zhang
/
NB_CLOCK_180505
clock
Diff: myMapPlat/myf401.h
- Revision:
- 0:17e9016529cf
- Child:
- 3:b8766d623f01
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/myMapPlat/myf401.h Tue May 08 02:13:50 2018 +0000 @@ -0,0 +1,36 @@ +#include "mbed.h" +#include "string" +#include "myknow.h" + +#ifndef myf401_H +#define myf401_H + + class f401Act + { + public: + static void init(void); //f401 cpu initialization; + static void ready(void); + static char revoke(void); + static void get_pow(void); + + static void put_rwdg(void); + static void put_rst(void); + static void put_slepy(void); + + private: + static IWDG_HandleTypeDef hiwdg; + + static void SystemClock_Config(void); + static void MX_GPIO_Init(void); + static void MY_GPIO_Config(void); + + static void init_wdg(void); + static void isr_pc(void); //get interrupt buffer + + static int cnt; + static char bufR[10]; //pc receive buffer + static char bufT[10]; + static int bufpow; + }; + +#endif