Dagozilla to RoboCup / EncoderDAGOZ
Revision:
7:d7c793ec5c04
Parent:
6:978bd0579f1b
--- a/Nucleo_Encoder_16_bits.h	Fri Jan 25 07:58:34 2019 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-#ifndef ENCODER_H
-#define ENCODER_H
-#include "mbed.h"
-
-void EncoderInit(TIM_Encoder_InitTypeDef * encoder, TIM_HandleTypeDef * timer, TIM_TypeDef * TIMx, uint32_t maxcount, uint32_t encmode);
-
-namespace mbed{
-    
-    class Nucleo_Encoder_16_bits {
-        
-        public :
-            Nucleo_Encoder_16_bits(TIM_TypeDef * _TIM);
-            Nucleo_Encoder_16_bits(TIM_TypeDef * _TIM, uint32_t _maxcount, uint32_t _encmode);
-            Nucleo_Encoder_16_bits(TIM_Encoder_InitTypeDef * _encoder, TIM_HandleTypeDef * _timer, TIM_TypeDef * _TIM, uint32_t _maxcount, uint32_t _encmode);
-            int32_t GetCounter(bool reset);
-            TIM_HandleTypeDef* GetTimer();
-        
-        private :
-        
-        
-        protected :
-            TIM_Encoder_InitTypeDef encoder;
-            TIM_HandleTypeDef timer;
-            TIM_TypeDef * TIM;
-        
-    };
-
-}// namespace mbed
-
-#endif
\ No newline at end of file