Home
last modified time | relevance | path

Searched +full:pulses +full:- +full:per +full:- +full:round (Results 1 – 12 of 12) sorted by relevance

/Zephyr-latest/dts/bindings/tach/
Dene,kb1200-tach.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: ENE, KB1200-Tachometer node
6 compatible: "ene,kb1200-tach"
8 include: [tach.yaml, pinctrl-device.yaml]
14 pulses-per-round:
17 description: number of pulses (holes) per round of tachometer's input (encoder)
19 sample-time-us:
23 - 2
24 - 8
25 - 16
[all …]
Dite,it8xxx2-tach.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "ite,it8xxx2-tach"
8 include: [tach.yaml, pinctrl-device.yaml]
14 dvs-bit:
19 chsel-bit:
28 - 0
29 - 1
32 pulses-per-round:
35 description: number of pulses per round of tachometer's input
37 pinctrl-0:
[all …]
Dnuvoton,npcx-tach.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Nuvoton, NPCX-Tachometer node
6 compatible: "nuvoton,npcx-tach"
8 include: [tach.yaml, pinctrl-device.yaml]
15 pinctrl-0:
17 pinctrl-names:
19 sample-clk:
26 description: selected port of tachometer (port-A is 0 and port-B is 1)
27 pulses-per-round:
29 description: number of pulses (holes) per round of tachometer's input (encoder)
/Zephyr-latest/boards/ene/kb1200_evb/
Dkb1200_evb.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <zephyr/dt-bindings/input/input-event-codes.h>
11 #include <ene/kb1200-pinctrl.dtsi>
12 #include <dt-bindings/i2c/i2c.h>
27 zephyr,shell-uart = &uart0;
31 compatible = "gpio-keys";
40 compatible = "gpio-leds";
55 pinctrl-0 = <&uart0_tx_gpio03 &uart0_rx_gpio01>;
56 pinctrl-names = "default";
[all …]
/Zephyr-latest/boards/nuvoton/npcx7m6fb_evb/
Dnpcx7m6fb_evb.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "npcx7m6fb_evb-pinctrl.dtsi"
19 zephyr,keyboard-scan = &kscan_input;
24 pwm-led0 = &pwm_led0_green;
26 pwm-0 = &pwm6;
28 i2c-0 = &i2c0_0;
30 peci-0 = &peci0;
36 compatible = "pwm-leds";
47 current-speed = <115200>;
[all …]
/Zephyr-latest/boards/nuvoton/npcx9m6f_evb/
Dnpcx9m6f_evb.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "npcx9m6f_evb-pinctrl.dtsi"
19 zephyr,keyboard-scan = &kscan_input;
24 pwm-led0 = &pwm_led0_green;
28 pwm-0 = &pwm6;
30 i2c-0 = &i2c0_0;
33 peci-0 = &peci0;
38 leds-pwm {
39 compatible = "pwm-leds";
[all …]
/Zephyr-latest/drivers/sensor/ene_tach_kb1200/
Dtach_ene_kb1200.c4 * SPDX-License-Identifier: Apache-2.0
17 /* number of pulses (holes) per round of tachometer's input (encoder) */
33 const struct tach_kb1200_config *const config = dev->config; in tach_kb1200_configure()
37 switch (config->sample_time_us) { in tach_kb1200_configure()
51 return -ENOTSUP; in tach_kb1200_configure()
53 config->tacho->TACHOCFG = (sample_us << 4) | TACHO_FUNCTION_ENABLE; in tach_kb1200_configure()
62 struct tach_kb1200_data *const data = dev->data; in tach_kb1200_sample_fetch()
63 const struct tach_kb1200_config *const config = dev->config; in tach_kb1200_sample_fetch()
66 if (config->tacho->TACHOPF & TACHO_TIMEOUT_EVENT) { in tach_kb1200_sample_fetch()
68 config->tacho->TACHOPF = (TACHO_TIMEOUT_EVENT | TACHO_UPDATE_EVENT); in tach_kb1200_sample_fetch()
[all …]
/Zephyr-latest/drivers/sensor/ite/ite_tach_it8xxx2/
Dtach_ite_it8xxx2.c4 * SPDX-License-Identifier: Apache-2.0
22 * | | | +-----------+ |
23 * | +-----+-----+ | | _ _ |<--+
24 * |------>| F1TL/MRR |<-+-| | |_| |_ |<--+
25 * | +-----------+ +-----------+ |
26 * | capture pulses T0B (GPJ2)
29 * +-----------+ |
30 * Crystal-->| Prescaler |--->| Tachometer 1 T1A (GPD7)
31 * 32.768k +-----------+ | | +-----------+ |
32 * | +-----+-----+ | _ _ |<--+
[all …]
/Zephyr-latest/boards/nuvoton/npcx4m8f_evb/
Dnpcx4m8f_evb.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include <nuvoton/npcx/npcx-espi-vws-ex-map.dtsi>
11 #include "npcx4m8f_evb-pinctrl.dtsi"
20 zephyr,keyboard-scan = &kscan_input;
24 pwm-led0 = &pwm_led0_green;
26 pwm-0 = &pwm6;
27 i2c-0 = &i2c0_0;
29 peci-0 = &peci0;
33 leds-pwm {
[all …]
/Zephyr-latest/boards/ite/it82xx2_evb/
Dit82xx2_evb.dts3 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
8 #include <zephyr/dt-bindings/gpio/gpio.h>
10 #include <ite/it8xxx2-pinctrl-map.dtsi>
13 model = "IT82XX2 EV-Board";
14 compatible = "ite,it82xx2-evb";
17 i2c-0 = &i2c0;
18 peci-0 = &peci0;
22 pwm-0 = &pwm0;
27 zephyr,shell-uart = &uart1;
[all …]
/Zephyr-latest/boards/ite/it8xxx2_evb/
Dit8xxx2_evb.dts3 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
8 #include <zephyr/dt-bindings/gpio/gpio.h>
10 #include <ite/it8xxx2-pinctrl-map.dtsi>
13 model = "IT8XXX2 EV-Board";
14 compatible = "ite,it8xxx2-evb";
17 i2c-0 = &i2c0;
18 peci-0 = &peci0;
22 pwm-0 = &pwm0;
27 zephyr,shell-uart = &uart1;
[all …]
/Zephyr-latest/drivers/sensor/nuvoton/nuvoton_tach_npcx/
Dtach_nuvoton_npcx.c4 * SPDX-License-Identifier: Apache-2.0
19 * | | +-----------+ TA Pin
20 * +-----------+ | +-----+-----+ | _ _ | |
21 * APB_CLK-->| Prescaler |--->|---+--->| Counter 1 |<--| _| |_| |_ |<--+
22 * +-----------+ | | +-----------+ +-----------+
25 * LFCLK--------------------->| | +-----------+ TB Pin
26 * | +-----+-----+ | _ _ | |
27 * |---+--->| Counter 2 |<--| _| |_| |_ |<--+
28 * | | +-----------+ +-----------+
32 * +----------
[all …]