zephyr/include/dt-bindings/sensor/npcx_tach.h

17 lines
454 B
C

/*
* Copyright (c) 2021 Nuvoton Technology Corporation.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_SENSOR_NPCX_TACH_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_SENSOR_NPCX_TACH_H_
/* NPCX tachometer port type */
#define NPCX_TACH_PORT_A 0
#define NPCX_TACH_PORT_B 1
/* NPCX tachometer specific operate frequency */
#define NPCX_TACH_FREQ_LFCLK 32768
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_SENSOR_NPCX_TACH_H_ */