Caddy
A 2005 Roborodentia entry with vision and path planning capability
|
Quadrature Encoder reader/driver. More...
Go to the source code of this file.
Functions | |
void | encoderInit (void) |
encoderInit() initializes hardware and encoder position readings | |
uint16_t | encoderGetPosition (uint8_t encoderNum) |
encoderGetPosition() reads the current position of the encoder | |
void | encoderSetPosition (uint8_t encoderNum, uint16_t position) |
encoderSetPosition() sets the current position of the encoder | |
SIGNAL (ENC0_SIGNAL) | |
Encoder 0 interrupt handler. | |
SIGNAL (ENC1_SIGNAL) | |
Encoder 1 interrupt handler. |
Variables | |
volatile EncoderStateType | EncoderState [NUM_ENCODERS] |
Quadrature Encoder reader/driver.
Definition in file encoder.c.