Functions

mTouchCVD_Acquistion.c File Reference

Implements the ISR for the framework which performs the sensor scanning. More...

#include "includes/mTouchCVD.h"
#include <caspic.h>
Include dependency graph for mTouchCVD_Acquistion.c:

Go to the source code of this file.

Functions

void interrupt ISR (void)
 mTouch CVD Framework Interrupt Service Routine

Variables

mTouch Acquisition ISR Variables

These variables are used by the ISR of the mTouch Framework and should not be directly accessed by the main loop application.

unsigned short long CVD_Acq_Filtered_Data [CVD_NUMBER_SENSORS]
 Accumulator array for sensor oversampling.
bank0 unsigned int last_result
 Stores ADC results for differential calculation.
bank0 unsigned int sample_counter = CVD_SAMPLES_PER_SCAN
 Counter variable for oversampling.
unsigned char mTouchCVD_dataReady
 GLOBAL: Flag to determine if new data is ready for processing.
unsigned int sensor_data [CVD_NUMBER_SENSORS]
 Decimate-filtered differential ADC result register.
unsigned int CVDSensorData [CVD_NUMBER_SENSORS]
 Latch register storing the latest acquisition data.
unsigned char mTouchCVD_jitter = 0x55
 Stores the current random seed value for jittering.
bank0 unsigned char current_sensor
 Currently scanned sensor index value.

Detailed Description

Implements the ISR for the framework which performs the sensor scanning.

Definition in file mTouchCVD_Acquistion.c.