BIAZI.ENG.BR
SZSPTP ez430-RF2480
1.0
ZigBee Sensor Network with synchronized time and time-stamped measurements.
<<
Programming
Electronics
Contact
License/Rights
>>
Main Page
Related Pages
Modules
Classes
Files
License
File List
File Members
adc.h
Go to the documentation of this file.
1
/*
2
* adc.h
3
*
4
* Date: 19/06/2014
5
* Author: Fernando Biazi Nascimento
6
* Copyright © 2014 Fernando Biazi Nascimento. All rights reserved.
7
*
8
* License of use and copy on file license.txt
9
*
10
*/
11
23
#ifndef ADC_H_
24
#define ADC_H_
25
26
/*
27
* ======== Includes ========
28
*/
29
30
#include <xdc/std.h>
31
#include "
clock.h
"
32
33
/*
34
* ======== Doxygen ========
35
*/
47
/*
48
* ======== Constants ========
49
*/
50
51
/*
52
* ======== Macros ========
53
*/
54
55
/*
56
* ======== Types ========
57
*/
58
59
/*
60
* ======== Global Variables ========
61
*/
62
63
/*
64
* ======== Global Functions ========
65
*/
66
67
void
adc_init
();
68
UInt16
adc_proccess
();
69
70
void
adc_getTemp
(UInt16 *temp,
clock_timeStamp
*tempTime);
71
void
adc_getVolt
(UInt16 *volt,
clock_timeStamp
*voltTime);
72
void
adc_getLux
(UInt16 *lux,
clock_timeStamp
*luxTime);
73
74
void
ADC10_ISR
();
75
79
#endif
/* ADC_H_ */
adc_getLux
void adc_getLux(UInt16 *lux, clock_timeStamp *luxTime)
This function get current stored luminescence.
Definition:
adc.c:324
adc_init
void adc_init()
This function initializes the ADC variables.
Definition:
adc.c:171
clock_timeStamp
Time stamp.
Definition:
clock.h:75
clock.h
Clock interface.
adc_getVolt
void adc_getVolt(UInt16 *volt, clock_timeStamp *voltTime)
This function get current stored voltage.
Definition:
adc.c:309
ADC10_ISR
void ADC10_ISR()
ADC10 Interrupt Service Request.
Definition:
adc.c:340
adc_getTemp
void adc_getTemp(UInt16 *temp, clock_timeStamp *tempTime)
This function get current stored temperature.
Definition:
adc.c:294
adc_proccess
UInt16 adc_proccess()
This function processes the tasks of the ADC.
Definition:
adc.c:218
Local:
Root
/
UPM
/
Master Tesis
/
SZS, PTP and Program
/
adc.h