13 #include <msp430f5529.h>
A structure to contain one 'set' of samples from the vehicle.
Definition: logger.h:92
void adc_convert(void)
Enable DMA on channel 0 which will move data to the sample buffer after the ADC conversion run has co...
Definition: adc.c:88
void adc_init(volatile SampleBuffer *sb)
Set up the ADC clock and configure resolution, then enable the ADC unit.
Definition: adc.c:31
static volatile SampleBuffer sb
A SampleBuffer to store a single set of readings before they are transferred into the SD transaction ...
Definition: logger.c:59
Standard data type shorthand defined as with avr-libc.