This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

nuvoton,npcx-tach

Vendor: Nuvoton Technology Corporation

Description

These nodes are “tach” bus nodes.

Nuvoton, NPCX-Tachometer node

Properties

Properties not inherited from the base binding file.

Name

Type

Details

pinctrl-0

phandles

configurations of pinmux controllers in tachometers

sample-clk

int

sampling clock frequency of tachometer. Please notice that it must be
fixed to 32768 if bus in clocks property is NPCX_CLOCK_BUS_LFCLK.

port

int

selected port of tachometer (port-A is 0 and port-B is 1)

pulses-per-round

int

number of pulses (holes) per round of tachometer's input (encoder)