Files
bacnet_stack/ports/xplained/adc-hdw.h
T
Steve Karg 4576e41ec3 Refactor/ports xplained common dlmstp (#665)
* Refactored ports/xplained to use common DLMSTP module to enable extended frames

* Added floating point compares in cases where they don't exist in math library
2024-06-04 14:48:40 -05:00

27 lines
490 B
C

/**
* @file
* @brief ADC configuration
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2014
* @copyright SPDX-License-Identifier: MIT
*/
#ifndef ADC_HDW_H
#define ADC_HDW_H
#include <stdint.h>
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */
void adc_init (void);
uint16_t adc_result_12bit(uint8_t channel);
uint16_t adc_result_10bit(uint8_t channel);
uint8_t adc_result_8bit(uint8_t channel);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif