36 #define ES9257_MIN_PULSE_WIDTH 475 37 #define ES9257_MAX_PULSE_WIDTH 2100 38 #define ES9257_PERIOD 20000 39 #define ES9257_MAX_ANGLE 180.0 55 uint32_t max_pulse_width;
56 uint32_t min_pulse_width;
69 int32_t max_pulse_width);
87 upm_result_t es9257_calc_pulse_travelling(
const es9257_context dev,
int es9257_get_min_pulse_width(es9257_context dev)
Definition: es9257.c:111
void es9257_set_max_pulse_width(es9257_context dev, int width)
Definition: es9257.c:107
void es9257_set_min_pulse_width(es9257_context dev, int width)
Definition: es9257.c:103
void es9257_halt(es9257_context dev)
Definition: es9257.c:62
upm_result_t es9257_set_angle(es9257_context dev, int32_t angle)
Definition: es9257.c:67
es9257_context es9257_init(int32_t pin, int32_t min_pulse_width, int32_t max_pulse_width)
Definition: es9257.c:28
int es9257_get_max_pulse_width(es9257_context dev)
Definition: es9257.c:115