Device descriptor for the driver. More...

Detailed Description

Device descriptor for the driver.

Definition at line 113 of file inc_encoder.h.

#include <inc_encoder.h>

Data Fields

inc_encoder_params_t params
 configuration parameters
 
uint32_t delta_t
 time delta since the last pulse
 
int32_t pulse_counter
 number of pulses since last read
 
uint32_t last_read_time
 time of the last read
 
bool cw
 clock wise rotation
 
bool stale
 indicates that there is no new data to be read
 

The documentation for this struct was generated from the following file: