Definition in file encoder.c.
#include <avr/io.h>
#include <avr/signal.h>
#include <avr/interrupt.h>
#include "global.h"
#include "encoder.h"
Go to the source code of this file.
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 | |
Variables | |
| volatile EncoderStateType | EncoderState [NUM_ENCODERS] |
1.4.2