ESOS32
ESOSOn32-bitProcessors
include
generic_hw
esos_hwxxx_sensor.h
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
28
#ifndef ESOS_hwxxx_SENSOR_H
29
#define ESOS_hwxxx_SENSOR_H
30
42
/* I N C L U D E S **********************************************************/
43
#include <
esos_hwxxx.h
>
44
#include <
esos_sensor.h
>
45
46
/* P U B L I C P R O T O T Y P E S *****************************************/
47
void
esos_sensor_config_hw
(
esos_sensor_ch_t
,
esos_sensor_vref_t
);
48
void
esos_sensor_initiate_conversion_hw
(
void
);
49
uint16_t
esos_sensor_getvalue_u16_hw
(
void
);
50
void
esos_sensor_release_hw
(
void
);
51
BOOL
esos_sensor_is_converting_hw
(
void
);
52
53
#endif
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_hwxxx.h
This is the master include file template for the target hardware (hwxxxx)
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_sensor.h
Generated by
1.8.17