105 temp &= ((uint32_t) 0x00ffffff);
SLIP_Handle SLIP_init(void *pMemory, const size_t numBytes)
Initializes the encoder object.
struct _SLIP_Handle_ * SLIP_Handle
Defines the slip handle.
int32_t incremental_slip
incremental amount of slip per sample time
int32_t enc_elec_angle
current electrical angle from encoder
int32_t enc_slip_angle
amount of total slip in Q24
void SLIP_setup(SLIP_Handle slipHandle, _iq sampleTime)
Initializes slip object parameters.
_iq sample_time
sample time of the SLIP module
int32_t enc_magnetic_angle
current magnetic angle in Q24
void SLIP_run(SLIP_Handle slipHandle)
Based on the electrical angle and the incremental slip, calculates the magnetic angle.
Contains the public interface to the slip compensation module routines.