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.
Diff: Nucleo_Encoder_16_bits.h
- Revision:
- 2:3fcf36c1b1af
- Parent:
- 1:e82009479b5c
- Child:
- 3:d43c60d01569
diff -r e82009479b5c -r 3fcf36c1b1af Nucleo_Encoder_16_bits.h
--- a/Nucleo_Encoder_16_bits.h Thu May 26 16:21:43 2016 +0000
+++ b/Nucleo_Encoder_16_bits.h Mon Dec 17 17:02:43 2018 +0000
@@ -13,7 +13,7 @@
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();
+ int32_t GetCounter(bool reset);
TIM_HandleTypeDef* GetTimer();
private :