/* * BSD 2-Clause License * Copyright (c) 2022, LiteEMF * All rights reserved. * This software component is licensed by LiteEMF under BSD 2-Clause license, * the "License"; You may not use this file except in compliance with the * License. You may obtain a copy of the License at: * opensource.org/licenses/BSD-2-Clause * */ /************************************************************************************************************ ** Description: ************************************************************************************************************/ #include "hw_config.h" #include "hw_board.h" #ifdef HW_ADC_MAP #include "api/api_adc.h" /****************************************************************************************************** ** Defined *******************************************************************************************************/ /****************************************************************************************************** ** static Parameters *******************************************************************************************************/ /****************************************************************************************************** ** public Parameters *******************************************************************************************************/ /***************************************************************************************************** ** static Function ******************************************************************************************************/ /***************************************************************************************************** ** Function ******************************************************************************************************/ /******************************************************************* ** Parameters: ** Returns: ** Description: *******************************************************************/ uint16_t hal_adc_to_voltage(uint16_t adc) { UNUSED_PARAMETER(adc); return 0; } bool hal_adc_value(uint8_t id, uint16_t* valp) { UNUSED_PARAMETER(id); UNUSED_PARAMETER(valp); return false; } bool hal_adc_start_scan(void) { return false; } bool hal_adc_init(void) { return false; } bool hal_adc_deinit(void) { return false; } #endif