e_ad_conv.h File Reference

Module for the Analogic/Digital conversion. More...


Functions

void e_init_ad (void)
 Initialize all the A/D register needed.
int e_read_ad (unsigned int channel)
 Function to sample an AD channel.


Detailed Description

Module for the Analogic/Digital conversion.

Author:
Code: Lucas Meier & Francesco Mondada, Michael Bonami
Doc: Jonathan Besuchet

Function Documentation

void e_init_ad ( void   ) 

Initialize all the A/D register needed.

int e_read_ad ( unsigned int  channel  ) 

Function to sample an AD channel.

Parameters:
channel The A/D channel you want to sample Must be between 0 to 15
Returns:
The sampled value on the specified channel


Generated on Fri Feb 29 14:26:53 2008 for e-puck by  doxygen 1.5.4