TM STM32Fxxx HAL Libraries  v1.0.0
Libraries for STM32Fxxx (F0, F4 and F7 series) devices based on HAL drivers from ST from Tilen Majerle

Rotary encoder library for STM32Fxxx devices. More...

Modules

 TM_ROTARY_ENCODER_Typedefs
 Library Typedefs.
 
 TM_ROTARY_ENCODER_Functions
 Library Functions.
 

Detailed Description

Rotary encoder library for STM32Fxxx devices.

This library supports up to 16 rotary encoders at a time. It does not use TIM's rotary input feature but external interrupts for handling.

Pinout

Pinout is fully selectable on rotary initialization.

Encoder modes

By default, if you turn encoder CW, you will increase counter, if CCW, you will decrease counter. Basically, this depends on your wiring for rotary.

Library allows you to turn this mode "on the fly" anytime you want. Look for TM_RE_SetMode() function for that.

Changelog
 Version 1.0
  - First release
Dependencies
 - STM32Fxxx HAL
 - misc.h
 - defines.h
 - TM EXTI
 - TM GPIO