PIC24 Support Libraries
esos_hwxxx_sensor.c
Go to the documentation of this file.
1 /*
2  * "Copyright (c) 2008 Robert B. Reese, Bryan A. Jones, J. W. Bruce ("AUTHORS")"
3  * All rights reserved.
4  * (R. Reese, reese_AT_ece.msstate.edu, Mississippi State University)
5  * (B. A. Jones, bjones_AT_ece.msstate.edu, Mississippi State University)
6  * (J. W. Bruce, jwbruce_AT_ece.msstate.edu, Mississippi State University)
7  *
8  * Permission to use, copy, modify, and distribute this software and its
9  * documentation for any purpose, without fee, and without written agreement is
10  * hereby granted, provided that the above copyright notice, the following
11  * two paragraphs and the authors appear in all copies of this software.
12  *
13  * IN NO EVENT SHALL THE "AUTHORS" BE LIABLE TO ANY PARTY FOR
14  * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
15  * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE "AUTHORS"
16  * HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
17  *
18  * THE "AUTHORS" SPECIFICALLY DISCLAIMS ANY WARRANTIES,
19  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
20  * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
21  * ON AN "AS IS" BASIS, AND THE "AUTHORS" HAS NO OBLIGATION TO
22  * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS."
23  *
24  * Please maintain this header in its entirety when copying/modifying
25  * these files.
26  *
27  *
28  */
29 
30 /**
31  * \addtogroup ESOS_Task_Sensor_Service
32  * @{
33  */
34 
35 /*** I N C L U D E S *************************************************/
36 #include "esos_hwxxx_sensor.h"
37 
38 /*** T H E C O D E *************************************************/
39 
40 /*********************************************************
41  * Public functions intended to be called by other files *
42  *********************************************************/
43 
44 /** \file
45  * Sensor support functions. \see hwxxx_sensor.h for details.
46  */
47 
48 /**
49 Configure and enable the sensor module for hwxxx hardware.
50 \param e_senCh specifies sensor channel
51 \param e_senVRef specifies sensor voltage reference
52 \hideinitializer
53  */
55 {
56 
57 }
58 
59 /**
60 Determine truth of: the sensor is currently converting
61 \hideinitializer
62  */
64 {
65 
66 }
67 
68 /**
69 Initiate a conversion for a configured sensor
70 \hideinitializer
71  */
73 {
74 
75 }
76 
77 /**
78 Receive the value from a conversion that has already been initiated
79 \hideinitializer
80  */
82 {
83 
84 }
85 
86 /**
87 Release any pending conversions for the sensor
88 \hideinitializer
89  */
91 {
92 
93 }
void esos_sensor_initiate_conversion_hw(void)
BOOL
Definition: all_generic.h:402
esos_sensor_vref_t
Definition: esos_sensor.h:74
void esos_sensor_config_hw(esos_sensor_ch_t, esos_sensor_vref_t)
uint16_t esos_sensor_getvalue_u16_hw(void)
BOOL esos_sensor_is_converting_hw(void)
esos_sensor_ch_t
Definition: esos_sensor.h:52
This file contains routines which configure and use sensors on the Microchip PIC24 MCUs...
void esos_sensor_release_hw(void)