feat: added PicoW_Sensor code template
Credits to @ext-erich.styger that provided the template
This commit is contained in:
committed by
Sylvan Arnold
parent
b2e9eab44e
commit
6cd510e749
23
TSM_PicoW_Sensor/McuLib/config/McuQuadCounterconfig.h
Normal file
23
TSM_PicoW_Sensor/McuLib/config/McuQuadCounterconfig.h
Normal file
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* \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 */
|
||||
Reference in New Issue
Block a user