Home
last modified time | relevance | path

Searched +full:lcu +full:- +full:input +full:- +full:idx (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/dts/bindings/sensor/
Dnxp,s32-qdec.yaml2 # SPDX-License-Identifier: Apache-2.0
6 with the cooperation of S32 IP blocks- eMIOS, TRGMUX and LCU.
11 micro-ticks-per-rev is set as per vehicle gearbox reduction.
12 lcu output filters are set to capture maximum speed sensitivity and avoid channel noise.
15 compatible = "nxp,qdec-s32";
16 pinctrl-0 = <&qdec_s32>;
17 pinctrl-names = "default";
18 micro-ticks-per-rev = <685440000>;
21 trgmux-io-config =
26 lcu = <&lcu1>;
[all …]
/Zephyr-latest/drivers/sensor/nxp/qdec_nxp_s32/
Dqdec_nxp_s32.c4 * SPDX-License-Identifier: Apache-2.0
23 /* LCU LUT control values for each of the 4 LC outputs */
68 struct qdec_s32_data *data = dev->data; in qdec_emios_overflow_count_cw_callback()
70 data->emios_cw_overflow_count++; in qdec_emios_overflow_count_cw_callback()
75 struct qdec_s32_data *data = dev->data; in qdec_emios_overflow_count_ccw_callback()
77 data->emios_ccw_overflow_count++; in qdec_emios_overflow_count_ccw_callback()
82 const struct qdec_s32_config *config = dev->config; in qdec_s32_fetch()
83 struct qdec_s32_data *data = dev->data; in qdec_s32_fetch()
86 return -ENOTSUP; in qdec_s32_fetch()
89 data->counter_CW = (uint32_t)(Emios_Icu_Ip_GetEdgeNumbers( in qdec_s32_fetch()
[all …]
/Zephyr-latest/boards/nxp/mr_canhubk3/
Dmr_canhubk3.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
12 #include <dt-bindings/pwm/pwm.h>
13 #include "mr_canhubk3-pinctrl.dtsi"
14 #include <zephyr/dt-bindings/sensor/qdec_nxp_s32.h>
17 model = "NXP MR-CANHUBK3";
25 zephyr,code-partition = &code_partition;
27 zephyr,shell-uart = &lpuart2;
[all …]