ESOS32
ESOSOn32-bitProcessors
src
generic_hw
esos_hwxxx_sensor.c
Go to the documentation of this file.
1
/*
2
* "Copyright (c) 2019 J. W. Bruce ("AUTHOR(S)")"
3
* All rights reserved.
4
* (J. W. Bruce, jwbruce_AT_tntech.edu, Tennessee Tech University)
5
*
6
* Permission to use, copy, modify, and distribute this software and its
7
* documentation for any purpose, without fee, and without written agreement is
8
* hereby granted, provided that the above copyright notice, the following
9
* two paragraphs and the authors appear in all copies of this software.
10
*
11
* IN NO EVENT SHALL THE "AUTHORS" BE LIABLE TO ANY PARTY FOR
12
* DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
13
* OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE "AUTHORS"
14
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
15
*
16
* THE "AUTHORS" SPECIFICALLY DISCLAIMS ANY WARRANTIES,
17
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
18
* AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
19
* ON AN "AS IS" BASIS, AND THE "AUTHORS" HAS NO OBLIGATION TO
20
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS."
21
*
22
* Please maintain this header in its entirety when copying/modifying
23
* these files.
24
*
25
*
26
*/
27
34
// Documentation for this file. If the \file tag isn't present,
35
// this file won't be documented.
41
/*** I N C L U D E S *************************************************/
42
#include "
esos_hwxxx_sensor.h
"
43
44
/*** T H E C O D E *************************************************/
45
46
/*********************************************************
47
* Public functions intended to be called by other files *
48
*********************************************************/
49
60
void
esos_sensor_config_hw
(
esos_sensor_ch_t
e_senCh,
esos_sensor_vref_t
e_senVRef) {
61
62
}
63
68
BOOL
esos_sensor_is_converting_hw
(
void
) {
69
70
}
71
76
void
esos_sensor_initiate_conversion_hw
(
void
) {
77
78
}
79
84
uint16_t
esos_sensor_getvalue_u16_hw
(
void
) {
85
86
}
87
92
void
esos_sensor_release_hw
(
void
) {
93
94
}
esos_sensor_getvalue_u16_hw
uint16_t esos_sensor_getvalue_u16_hw(void)
Definition:
esos_hwxxx_sensor.c:84
esos_sensor_ch_t
esos_sensor_ch_t
Definition:
esos_sensor.h:51
esos_sensor_vref_t
esos_sensor_vref_t
Definition:
esos_sensor.h:73
esos_sensor_release_hw
void esos_sensor_release_hw(void)
Definition:
esos_hwxxx_sensor.c:92
esos_sensor_is_converting_hw
BOOL esos_sensor_is_converting_hw(void)
Definition:
esos_hwxxx_sensor.c:68
BOOL
enum _BOOL BOOL
esos_sensor_initiate_conversion_hw
void esos_sensor_initiate_conversion_hw(void)
Definition:
esos_hwxxx_sensor.c:76
esos_sensor_config_hw
void esos_sensor_config_hw(esos_sensor_ch_t e_senCh, esos_sensor_vref_t e_senVRef)
Definition:
esos_hwxxx_sensor.c:60
esos_hwxxx_sensor.h
This file contains routines which define, configure and allow use of the "sensors" service (A/D conve...
Generated by
1.8.17