encoder_counter.h File Reference

#include "coridium.h"
#include "cor_hwlib.h"
#include "cor_wrflash.h"
#include "string.h"
#include "printf.h"

Go to the source code of this file.

Functions

int initializeEncoderCounter (int cs_pin, int clock_pin, int mosi_pin, int miso_pin)
int getEncoderCounts ()
char getModeRegister0 ()
char getModeRegister1 ()
char getStatusRegister ()
char setModeRegister0 (char mode)
char setModeRegister1 (char mode)
int clearEncoderCounterCounts ()
int setCountRegister (int counts)

Function Documentation

int clearEncoderCounterCounts (  ) 

Definition at line 170 of file encoder_counter.c.

int getEncoderCounts (  ) 

Definition at line 69 of file encoder_counter.c.

char getModeRegister0 (  ) 

Definition at line 87 of file encoder_counter.c.

char getModeRegister1 (  ) 

Definition at line 99 of file encoder_counter.c.

char getStatusRegister (  ) 

Definition at line 111 of file encoder_counter.c.

int initializeEncoderCounter ( int  cs_pin,
int  clock_pin,
int  mosi_pin,
int  miso_pin 
)

Definition at line 29 of file encoder_counter.c.

int setCountRegister ( int  counts  ) 

Definition at line 147 of file encoder_counter.c.

char setModeRegister0 ( char  mode  ) 

Definition at line 123 of file encoder_counter.c.

char setModeRegister1 ( char  mode  ) 

Definition at line 135 of file encoder_counter.c.

Generated on Sun Nov 7 03:32:29 2010 for navigation_controller by  doxygen 1.6.3