mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
ESP_PCNT: add high and low limit Kconfig options
Signed-off-by: Martin Vajnar <martin.vajnar@gmail.com>
This commit is contained in:
committed by
Alan C. Assis
parent
d7a05dfcc6
commit
150854c6f2
@@ -40,8 +40,8 @@
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#define PCNT_HIGH_LIMIT 1000
|
||||
#define PCNT_LOW_LIMIT -1000
|
||||
#define PCNT_HIGH_LIMIT CONFIG_ESP_PCNT_HIGH_LIMIT
|
||||
#define PCNT_LOW_LIMIT CONFIG_ESP_PCNT_LOW_LIMIT
|
||||
|
||||
#define PCNT_GLITCH_FILTER(pcnt, thres) pcnt->ops->ioctl(pcnt, \
|
||||
CAPIOC_FILTER, \
|
||||
|
||||
Reference in New Issue
Block a user