Files
MSE-SoftwEng/TSM_PicoW_Sensor/McuLib/config/McuQuadCounterconfig.h
SylvanArnold 6cd510e749 feat: added PicoW_Sensor code template
Credits to @ext-erich.styger that provided the template
2025-05-06 13:07:01 +00:00

24 lines
690 B
C

/**
* \file
* \brief Configuration header file for QuadCounter component.
* Copyright (c) 2020, Erich Styger
* SPDX-License-Identifier: BSD-3-Clause
*
* This header file is used to configure settings of the quadrature counter module.
*/
#ifndef __McuQuadCounter_CONFIG_H
#define __McuQuadCounter_CONFIG_H
#ifndef McuQuadCounter_CONFIG_USE_ERROR_CORRECTION
#define McuQuadCounter_CONFIG_USE_ERROR_CORRECTION (0)
/*!< 1: Use error correction, 0: not using error correction */
#endif
#ifndef McuQuadCounter_CONFIG_COUNT_ERRORS
#define McuQuadCounter_CONFIG_COUNT_ERRORS (1)
/*!< 1: count errors, 0: do not count errors */
#endif
#endif /* __McuQuadCounter_CONFIG_H */