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.
Dependencies: mbed PID mbed-rtos
Encoder Class Reference
This class implements a driver to read the quadrature encoder counter of the STM32 microcontroller. More...
#include <Encoder.h>
Public Member Functions | |
uint32_t | read () |
Reads the quadrature encoder counter value. |
Detailed Description
This class implements a driver to read the quadrature encoder counter of the STM32 microcontroller.
Definition at line 16 of file Encoder.h.
Member Function Documentation
uint32_t read | ( | ) |
Reads the quadrature encoder counter value.
- Returns:
- the quadrature encoder counter as a signed 16-bit integer value.
Definition at line 76 of file Encoder.cpp.
Generated on Mon Aug 1 2022 09:49:43 by
