Subversion Repositories HomeAutomation

Rev

Rev 139 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 139 Rev 339
Line 2... Line 2...
2
 *
2
 *
3
 *   Header file for ADC routines.
3
 *   Header file for ADC routines.
4
 *
4
 *
5
 *********************************************************************
5
 *********************************************************************
6
 * FileName:        $HeadURL: https://svn.auml.se/svn/HomeAutomation/trunk/EmbeddedSoftware/PIC/Include/adc.h $
6
 * FileName:        $HeadURL: https://svn.auml.se/svn/HomeAutomation/trunk/EmbeddedSoftware/PIC/Include/adc.h $
7
 * Last changed:    $LastChangedDate: 2006-11-20 21:31:03 +0100 (Mon, 20 Nov 2006) $
7
 * Last changed:    $LastChangedDate: 2007-02-25 20:51:08 +0100 (Sun, 25 Feb 2007) $
8
 * By:              $LastChangedBy: johboh $
8
 * By:              $LastChangedBy: johboh $
9
 * Revision:        $Revision: 139 $
9
 * Revision:        $Revision: 339 $
10
 ********************************************************************/
10
 ********************************************************************/
11
#ifndef ADC_H
11
#ifndef ADC_H
12
#define ADC_H
12
#define ADC_H
13
 
13
 
14
#include <stackTasks.h>
14
#include <stackTasks.h>
Line 22... Line 22...
22
void adcISR(void);
22
void adcISR(void);
23
BOOL adcConvert(BYTE channel);
23
BOOL adcConvert(BYTE channel);
24
void temperatureRead(char *tenth, BYTE *decimal);
24
void temperatureRead(char *tenth, BYTE *decimal);
25
int adcRead(void);
25
int adcRead(void);
26
BOOL adcDone(void);
26
BOOL adcDone(void);
-
 
27
unsigned long adcGetRaw(void);
27
 
28
 
28
#endif
29
#endif