Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
npcx_tach.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Nuvoton Technology Corporation.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_SENSOR_NPCX_TACH_H_
7#define ZEPHYR_INCLUDE_DT_BINDINGS_SENSOR_NPCX_TACH_H_
8
9/* NPCX tachometer port type */
10#define NPCX_TACH_PORT_A 0
11#define NPCX_TACH_PORT_B 1
12
13/* NPCX tachometer specific operate frequency */
14#define NPCX_TACH_FREQ_LFCLK 32768
15
16#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_SENSOR_NPCX_TACH_H_ */