Wixel SDK
Data Fields
SERVO_DATA Struct Reference

Data Fields

uint16 target
 
uint16 position
 
uint16 positionReg
 
uint16 speed
 

Detailed Description

This struct is part of the internal implementation of the servo library. See servo.h.

Definition at line 42 of file servo.c.

Field Documentation

uint16 position

Current position, measured in ticks.

Definition at line 45 of file servo.c.

uint16 positionReg

The value to be written to the duty cycle register.

Definition at line 46 of file servo.c.

uint16 speed

The speed limit of the servo, in ticks per servo period (or 0 for no limit).

Definition at line 47 of file servo.c.

uint16 target

Target position, measured in ticks.

Definition at line 44 of file servo.c.


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