Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: ActiveCaster_ ActiveCaster_2
phaseCounterPeach.h
00001 #ifndef PHASECOUNTER_h 00002 #define PHASECOUNTER_h 00003 00004 //#include"gr_common/rx63n/iodefine_gcc63n.h" 00005 #include "RZ_A1H.h" 00006 00007 #define ENC_INIT_VAL 0x7FFF 00008 00009 class PhaseCounter 00010 { 00011 public: 00012 PhaseCounter(int); 00013 int getCount(); 00014 void setCount(int ch, int num); 00015 void init(); 00016 00017 private: 00018 bool ch_available; 00019 00020 unsigned short int pre_rawcount; 00021 int encount; 00022 00023 int g_ch; 00024 }; 00025 00026 #endif 00027
Generated on Tue Aug 30 2022 15:49:49 by
1.7.2