Main Page   Modules   Data Structures   File List   Data Fields   Globals  

encoder.h File Reference

Quadrature Encoder reader/driver. More...

#include "global.h"
#include "encoderconf.h"

Go to the source code of this file.

Data Structures

struct  struct_EncoderState
 Encoder state structure. More...


Defines

#define IMSK   GIMSK

Typedefs

typedef struct_EncoderState EncoderStateType
 Encoder state structure.


Functions

void encoderInit (void)
 encoderInit() initializes hardware and encoder position readings

void encoderOff (void)
 encoderOff() disables hardware and stops encoder position updates

s32 encoderGetPosition (u08 encoderNum)
 encoderGetPosition() reads the current position of the encoder

void encoderSetPosition (u08 encoderNum, s32 position)
 encoderSetPosition() sets the current position of the encoder


Detailed Description

Quadrature Encoder reader/driver.

Definition in file encoder.h.


Generated on Sun Feb 22 19:12:31 2004 for Procyon AVRlib by doxygen1.3-rc2