Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Nuvoton NPCX tachometer. More...

Files

file  npcx_tach.h
 Devicetree binding constants for the Nuvoton NPCX tachometer.

Tachometer port

Values for the port devicetree property.

#define NPCX_TACH_PORT_A   0
 Tachometer port A.
#define NPCX_TACH_PORT_B   1
 Tachometer port B.

Operating frequency

Values for the sample-clk devicetree property.

#define NPCX_TACH_FREQ_LFCLK   32768
 Low-frequency clock (32768 Hz).

Detailed Description

Nuvoton NPCX tachometer.

Macro Definition Documentation

◆ NPCX_TACH_FREQ_LFCLK

#define NPCX_TACH_FREQ_LFCLK   32768

#include <zephyr/dt-bindings/sensor/npcx_tach.h>

Low-frequency clock (32768 Hz).

◆ NPCX_TACH_PORT_A

#define NPCX_TACH_PORT_A   0

#include <zephyr/dt-bindings/sensor/npcx_tach.h>

Tachometer port A.

◆ NPCX_TACH_PORT_B

#define NPCX_TACH_PORT_B   1

#include <zephyr/dt-bindings/sensor/npcx_tach.h>

Tachometer port B.