Class TimerHAL
Handles timer 4 for the SPIN board. More...
#include <TimerHAL.h>
Public Functions
Type | Name |
---|---|
uint32_t | getIncrementalEncoderValue (timernumber_t timer_number) Gets the encoder step value. |
void | startLogIncrementalEncoder (timernumber_t timer_number) Launches the timer4 which is adapted for reading an encoder. |
Detailed Description
Note:
Use this element to initialize timer 4 and use it with an incremental encoder
Public Functions Documentation
function getIncrementalEncoderValue
Gets the encoder step value.
Returns:
An uint32 value of the counter which corresponds to the step of the system.
function startLogIncrementalEncoder
Launches the timer4 which is adapted for reading an encoder.
The documentation for this class was generated from the following file docs/core/zephyr/modules/owntech_spin_api/zephyr/src/TimerHAL.h