MotorWare f2806x Module API Documentation

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Data Structures | Typedefs | Functions
slip.h File Reference

Contains the public interface to the slip compensation module routines. More...

`#include "sw/modules/types/src/types.h"`
`#include "sw/modules/iqmath/src/32b/IQmathLib.h"`

Go to the source code of this file.

## Data Structures
struct | _SLIP_Obj_
| Defines the slip object. More...

## Typedefs
typedef struct _SLIP_Obj_ | SLIP_Obj
| Defines the slip object. More...
typedef struct _SLIP_Handle_ * | SLIP_Handle
| Defines the slip handle. More...

## Functions
_iq | SLIP_getMagneticAngle (SLIP_Handle slipHandle)
| Returns the current magnetic angle. More...
SLIP_Handle | SLIP_init (void *pMemory, const size_t numBytes)
| Initializes the encoder object. More...
void | SLIP_run (SLIP_Handle slipHandle)
| Based on the electrical angle and the incremental slip, calculates the magnetic angle. More...
void | SLIP_setElectricalAngle (SLIP_Handle slipHandle, _iq electricalAngle)
| Set the electrical angle. More...
void | SLIP_setSlipVelocity (SLIP_Handle slipHandle, _iq slipVelocity)
| Set the amount of slip velocity and calculates the incremental slip. More...
void | SLIP_setup (SLIP_Handle slipHandle, _iq sampleTime)
| Initializes slip object parameters. More...

## Detailed Description

Contains the public interface to the slip compensation module routines.

(C) Copyright 2011, Texas Instruments, Inc.

Definition in file slip.h.