EV Logger
A MSP430 based datalogger for an electric vehicle
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
adc.h File Reference
#include <msp430.h>
#include <msp430f5529.h>
#include "typedefs.h"
#include "logger.h"

Go to the source code of this file.

Functions

void adc_init (volatile SampleBuffer *sb)
 Set up the ADC clock and configure resolution, then enable the ADC unit. More...
 
void adc_convert (void)
 Enable DMA on channel 0 which will move data to the sample buffer after the ADC conversion run has completed, then begin the conversion run.
 

Detailed Description

Author
Jon Sowman, University of Southampton j.sow.nosp@m.man@.nosp@m.soton.nosp@m..ac..nosp@m.uk