In NPCX7 series, it contains two tachometer (TACH) modules that contains two Independent timers (counter 1 and 2). They are used to capture a counter value when an event is detected via the external pads (TA or TB). The CL also includes: — Add npcx tachometer device tree declarations. — Zephyr sensor api implementation for tachometer. — Enable "tach1" device in npcx7m6fb.dts for testing. Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
11 lines
277 B
Plaintext
11 lines
277 B
Plaintext
# NPCX tachometer sensor configuration options
|
|
|
|
# Copyright (c) 2021 Nuvoton Technology Corporation.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config TACH_NPCX
|
|
bool "Nuvoton NPCX Tachometer sensor"
|
|
depends on SOC_FAMILY_NPCX
|
|
help
|
|
Enable the "Nuvoton NPCX tachometer sensor.
|