yan zhang
/
Nucleo_TZTXZY
pissa pepper
Fork of Nucleo by
Diff: mybc95.h
- Revision:
- 0:a9ea0137c16b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mybc95.h Fri Apr 20 02:49:37 2018 +0000 @@ -0,0 +1,30 @@ +#ifndef mybc95_H +#define mybc95_H + class bc95script + { + public: + static int poL; + static int poC_initF; static int poC_initS; static int poC_redyF; static int poC_redyS; + static int poC_revokF; static int poC_revokS; static int poC_getimF; static int poC_getimS; + static int poC_putF; static int poC_putS; + static int poC_setrtcF; static int poC_setrtcS; + static int poC_stpSe; static int poC_cntSe; static int poC_cntlink; static int poC_cntche; + static int poC_isrS; static int poC_year; static int poC_mon; static int poC_day; + static int poC_hour; static int poC_min; static int poC_sec; + }; + extern bc95script bc95scpt; + + class bc95Act + { + public: + static void init(void); //bc95 initialization + static void put(void); + + private: + + //static DigitalOut pow; + static DigitalOut reset; + static Serial uart; + }; + +#endif