Rleg  2
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
Functions
encoder_functions.c File Reference

Rev 0 - 19/06/2013 RLEG project - 2013. More...

#include "encoder_functions.h"
#include "spi_functions.h"
Include dependency graph for encoder_functions.c:

Go to the source code of this file.

Functions

int enc_zero_set (int spi_dev)
 SET ZERO POINT. More...
 
int enc_read_pos (int spi_dev, unsigned short int *data)
 READ POSITION. More...
 
int enc_wait_for_ack (int spi_dev, uint8_t ack, int max_errors)
 send command and delay between reads More...
 

Detailed Description

Rev 0 - 19/06/2013 RLEG project - 2013.

SPI communication between Gumstix Overo Fire and the AMT 203 encoder

Author
Claudia Ochoa
Date
2012-2013

Definition in file encoder_functions.c.