/************************************************************************** * * Copyright (c) 2019-2019 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * @file FIRFilters.h * * @date 12-Dec-2019 * @author L. Baloa * * @brief Header file for the filters' service (Filters.c). * **************************************************************************/ #ifndef __FIRFILTERS_H__ #define __FIRFILTERS_H__ #include "Common.h" typedef enum FilterList { FILTER_ID_LOAD_CELL_WEIGHT = 0, NUM_OF_FILTERS_IDS } FILTER_ID_T; // ********** public function prototypes ********** void initializeFilter(FILTER_ID_T filterID, U16 initialValue); void resetFilter(FILTER_ID_T filterID, U16 resetValue); U16 getFilterOuput(FILTER_ID_T filterID); void setFilterInput(FILTER_ID_T filterID, U16 inputSignalSample); #endif