Home
last modified time | relevance | path

Searched +full:filter +full:- +full:count (Results 1 – 25 of 121) sorted by relevance

12345

/Zephyr-latest/dts/bindings/sensor/
Dnxp,mcux-qdec.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nxp,mcux-qdec"
8 include: [pinctrl-device.yaml, sensor-device.yaml]
17 counts-per-revolution:
24 single-phase-mode:
28 generates a count signal. The PHASEB input and the REV bit control the
31 filter-count:
36 filter accepting an input transition. A value of 0 represents 3
39 filter-sample-period:
43 Each input is sampled multiple times at the rate specified by the Filter
[all …]
Dams,tmd2620.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: [sensor-device.yaml, i2c-device.yaml]
11 int-gpios:
12 type: phandle-array
15 The interrupt pin of TMD2620 is open-drain, active low.
17 as pull-up, active low.
19 proximity-gain:
24 - 1
25 - 2
26 - 4
[all …]
Dinvensense,icm42670.yaml4 # SPDX-License-Identifier: Apache-2.0
6 description: ICM-42670 motion tracking device
8 include: [sensor-device.yaml]
11 int-gpios:
12 type: phandle-array
14 The INT signal default configuration is active-high. The
18 accel-hz:
22 Default frequency of accelerometer. (Unit - Hz)
24 Power-on reset value is 800.
26 - 0
[all …]
Despressif,esp32-pcnt.yaml2 # SPDX-License-Identifier: Apache-2.0
8 The pulse counter module is designed to count the number of
14 Each pulse counter unit has a 16-bit signed counter register.
23 Each pulse counter unit also features a filter on each of the four inputs,
29 Example: Use PCNT to read a rotary-enconder
38 bias-pull-up;
43 Note: Check espressif,esp32-pinctrl.yaml for complete documentation regarding pinctrl.
48 pinctrl-0 = <&pcnt_default>;
49 pinctrl-names = "default";
51 #address-cells = <1>;
[all …]
/Zephyr-latest/dts/bindings/comparator/
Dnxp,kinetis-acmp.yaml3 # SPDX-License-Identifier: Apache-2.0
11 compatible = "nxp,kinetis-acmp";
32 pinctrl-0 = <&acmp0_default>;
33 pinctrl-names = "default";
35 positive-mux-input = "IN0";
36 negative-mux-input = "IN1";
39 compatible: "nxp,kinetis-acmp"
42 - base.yaml
43 - pinctrl-device.yaml
52 nxp,enable-output-pin:
[all …]
/Zephyr-latest/tests/drivers/build_all/comparator/mcux_acmp/
Dmimxrt1176_mux_dac.dts4 * SPDX-License-Identifier: Apache-2.0
11 drive-strength = "high";
12 bias-pull-up;
13 slew-rate = "fast";
20 pinctrl-0 = <&acmp1_default>;
21 pinctrl-names = "default";
23 positive-mux-input = "IN2";
24 positive-port-input = "MUX";
25 negative-mux-input = "IN2";
26 negative-port-input = "DAC";
[all …]
/Zephyr-latest/dts/bindings/input/
Despressif,esp32-touch-sensor.yaml2 # SPDX-License-Identifier: Apache-2.0
8 sensor is defined in a child node of the touch-sensor node and defines a specific key
13 #include <zephyr/dt-bindings/input/input-event-codes.h>
14 #include <zephyr/dt-bindings/input/esp32-touch-sensor-input.h>
17 compatible = "espressif,esp32-touch";
20 debounce-interval-ms = <30>;
21 href-microvolt = <27000000>;
22 lref-microvolt = <500000>;
23 href-atten-microvolt = <1000000>;
24 filter-mode = <ESP32_TOUCH_FILTER_MODE_IIR_16>;
[all …]
/Zephyr-latest/dts/bindings/counter/
Dnxp,imx-tmr.yaml1 # Copyright (c) 2022 KT-Elektronik, Klaucke und Partner GmbH
2 # SPDX-License-Identifier: Apache-2.0
7 compatible: "nxp,imx-tmr"
16 - 0
17 - 1
18 - 2
19 - 3
27 - "kQTMR_NoOperation"
28 - "kQTMR_PriSrcRiseEdge"
29 - "kQTMR_PriSrcRiseAndFallEdge"
[all …]
/Zephyr-latest/tests/drivers/regulator/voltage/dts/bindings/
Dtest-regulator-voltage.yaml2 # SPDX-License-Identifier: Apache-2.0
8 compatible: "test-regulator-voltage"
16 io-channels.
18 io-channels:
19 type: phandle-array
25 tolerance-microvolt:
29 Tolerance (+/-) when reading configured voltages using ADC. This should
34 adc-avg-count:
40 set-read-delay-ms:
46 min-microvolt:
[all …]
/Zephyr-latest/soc/intel/intel_adsp/cavs/include/cavs25/
Ddmic_regs.h1 /* SPDX-License-Identifier: Apache-2.0 */
65 /* Common FIFO channels register (primary & secondary) (0000 - 0FFF)
79 * (crossed out) 0010h LOCAL_TSC0 64-bit Wall Clock timestamp
80 * (crossed out) 0018h LOCAL_SAMPLE0 64-bit Sample Count
81 * 001Ch - 00FFh Reserved space for extensions
107 /* Control of the CIC filter plus voice channel (B) FIR decimation factor */
235 /* Number of bits for shift right in the output stage of the CIC filter to compensate the gain
262 /* FIR decimation filter is started. */
274 /* Mute outputs of this filter and set it to zero. */
277 /* Filter operates in stereo mode */
[all …]
/Zephyr-latest/samples/drivers/can/counter/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
55 printf("Callback! error-code: %d\nSender: %s\n", in tx_irq_callback()
65 const struct can_filter filter = { in rx_thread() local
73 filter_id = can_add_rx_filter_msgq(can_dev, &counter_msgq, &filter); in rx_thread()
74 printf("Counter filter id: %d\n", filter_id); in rx_thread()
121 return "error-active"; in state_to_str()
123 return "error-warning"; in state_to_str()
125 return "error-passive"; in state_to_str()
127 return "bus-off"; in state_to_str()
159 "rx error count: %d\n" in poll_state_thread()
[all …]
/Zephyr-latest/soc/intel/intel_adsp/ace/include/
Ddmic_regs.h1 /* SPDX-License-Identifier: Apache-2.0 */
42 /* Capture Link Select - select which link wall clock to time stamp. */
68 /* Common FIFO channels register (primary & secondary) (0000 - 0FFF)
82 * (crossed out) 0010h LOCAL_TSC0 64-bit Wall Clock timestamp
83 * (crossed out) 0018h LOCAL_SAMPLE0 64-bit Sample Count
84 * 001Ch - 00FFh Reserved space for extensions
110 /* Control of the CIC filter plus voice channel (B) FIR decimation factor */
235 /* Number of bits for shift right in the output stage of the CIC filter to compensate the gain
277 /* FIR decimation filter is started. */
292 /* Mute outputs of this filter and set it to zero. */
[all …]
/Zephyr-latest/samples/sensor/proximity_polling/boards/
Dnrf52840dk_nrf52840.overlay3 prox-sensor0 = &tmd2620;
13 int-gpios = <&gpio1 3 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
14 proximity-gain = <4>;
15 proximity-pulse-length = <16>;
16 proximity-pulse-count = <15>;
17 proximity-high-threshold = <255>;
18 proximity-low-threshold = <0>;
19 proximity-led-drive-strength = <4>;
20 proximity-interrupt-filter = <0>;
21 wait-time-factor = <0>;
/Zephyr-latest/include/zephyr/drivers/sensor/
Dmcux_lpcmp.h5 * SPDX-License-Identifier: Apache-2.0
10 * @brief Data structure for the NXP MCUX low-power analog comparator (LPCMP)
66 /** LPCMP internal filter sample enable. */
68 /** LPCMP internal filter sample count. */
70 /** LPCMP internal filter sample period. */
/Zephyr-latest/samples/subsys/fs/fs_sample/
Dsample.yaml6 - fatfs
15 - "Block count"
16 - "Sector size"
17 - "Memory Size"
18 - "Disk mounted"
23 - arduino_spi
24 - arduino_gpio
25 - arduino_i2c
27 - stm32f769i_disco
28 - pan1781_evb
[all …]
/Zephyr-latest/subsys/net/lib/shell/
Dipv6.c5 * SPDX-License-Identifier: Apache-2.0
20 const struct shell *sh = data->sh; in ipv6_frag_cb()
21 int *count = data->user_data; in ipv6_frag_cb() local
25 if (!*count) { in ipv6_frag_cb()
30 snprintk(src, ADDR_LEN, "%s", net_sprint_ipv6_addr(&reass->src)); in ipv6_frag_cb()
32 PR("%p 0x%08x %5d %16s\t%16s\n", reass, reass->id, in ipv6_frag_cb()
33 k_ticks_to_ms_ceil32(k_work_delayable_remaining_get(&reass->timer)), in ipv6_frag_cb()
34 src, net_sprint_ipv6_addr(&reass->dst)); in ipv6_frag_cb()
37 if (reass->pkt[i]) { in ipv6_frag_cb()
38 struct net_buf *frag = reass->pkt[i]->frags; in ipv6_frag_cb()
[all …]
/Zephyr-latest/drivers/can/
Dcan_native_linux.c4 * SPDX-License-Identifier: Apache-2.0
30 struct can_filter filter; member
55 struct can_native_linux_data *data = dev->data; in dispatch_frame()
59 k_mutex_lock(&data->filter_mutex, K_FOREVER); in dispatch_frame()
61 for (int filter_id = 0; filter_id < ARRAY_SIZE(data->filters); filter_id++) { in dispatch_frame()
62 if (data->filters[filter_id].rx_cb == NULL) { in dispatch_frame()
66 if (!can_frame_matches_filter(frame, &data->filters[filter_id].filter)) { in dispatch_frame()
73 callback = data->filters[filter_id].rx_cb; in dispatch_frame()
74 callback(dev, &tmp_frame, data->filters[filter_id].cb_arg); in dispatch_frame()
77 k_mutex_unlock(&data->filter_mutex); in dispatch_frame()
[all …]
Dcan_mcp2515.c4 * SPDX-License-Identifier: Apache-2.0
28 const struct mcp2515_config *dev_cfg = dev->config; in mcp2515_cmd_soft_reset()
36 .buffers = &tx_buf, .count = 1U in mcp2515_cmd_soft_reset()
39 return spi_write_dt(&dev_cfg->bus, &tx); in mcp2515_cmd_soft_reset()
46 const struct mcp2515_config *dev_cfg = dev->config; in mcp2515_cmd_bit_modify()
54 .buffers = &tx_buf, .count = 1U in mcp2515_cmd_bit_modify()
57 return spi_write_dt(&dev_cfg->bus, &tx); in mcp2515_cmd_bit_modify()
63 const struct mcp2515_config *dev_cfg = dev->config; in mcp2515_cmd_write_reg()
72 .buffers = tx_buf, .count = ARRAY_SIZE(tx_buf) in mcp2515_cmd_write_reg()
75 return spi_write_dt(&dev_cfg->bus, &tx); in mcp2515_cmd_write_reg()
[all …]
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dreports.py5 # SPDX-License-Identifier: Apache-2.0
39 'deny_status': ['FILTER'],
44 def __init__(self, plan, env) -> None:
61 log = f.read().decode("utf-8")
62 filtered_string = ''.join(filter(lambda x: x in string.printable, log))
83 if status in [TwisterStatus.SKIP, TwisterStatus.FILTER]:
92 if status in [TwisterStatus.SKIP, TwisterStatus.FILTER]:
150 filter(lambda d: TwisterStatus(d.get('status')) != TwisterStatus.FILTER, all_suites)
219 suites = list(filter(lambda d: d['platform'] == platform, all_suites))
223 filter(lambda d: TwisterStatus(d.get('status')) != TwisterStatus.FILTER, suites)
[all …]
/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dwifi_mgmt.c4 * SPDX-License-Identifier: Apache-2.0
34 int ret = -1; in nrf_wifi_set_power_save()
42 vif_ctx_zep = dev->data; in nrf_wifi_set_power_save()
49 rpu_ctx_zep = vif_ctx_zep->rpu_ctx_zep; in nrf_wifi_set_power_save()
56 k_mutex_lock(&vif_ctx_zep->vif_lock, K_FOREVER); in nrf_wifi_set_power_save()
57 if (!rpu_ctx_zep->rpu_ctx) { in nrf_wifi_set_power_save()
62 switch (params->type) { in nrf_wifi_set_power_save()
64 if ((params->listen_interval < in nrf_wifi_set_power_save()
66 (params->listen_interval > in nrf_wifi_set_power_save()
68 params->fail_reason = in nrf_wifi_set_power_save()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dlll_filter.h2 * Copyright (c) 2018-2019 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
37 /* Filter Accept List peer list */
79 uint16_t pal:9; /* 0 - not present, 1 to 256 - lll_pal entry index */
97 extern uint8_t ull_filter_lll_fal_match(struct lll_filter const *const filter,
104 extern uint8_t *ull_filter_lll_irks_get(uint8_t *count);
Dull_scan_internal.h2 * Copyright (c) 2018-2019 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
20 /* Convert duration in 10 ms unit to radio events count */
25 /* Convert period in 1.28 s unit to radio events count */
72 /* Return filter policy used */
/Zephyr-latest/subsys/net/ip/
Dipv6_pe.c9 * SPDX-License-Identifier: Apache-2.0
63 #define DESYNC_FACTOR(ipv6) ((ipv6)->desync_factor)
81 /* Is this denylisting filter or not */
139 ARRAY_FOR_EACH(ipv6->unicast, i) { in ipv6_pe_prefix_already_exists()
140 if (!ipv6->unicast[i].is_used || in ipv6_pe_prefix_already_exists()
141 ipv6->unicast[i].address.family != AF_INET6 || in ipv6_pe_prefix_already_exists()
142 !ipv6->unicast[i].is_temporary || in ipv6_pe_prefix_already_exists()
143 ipv6->unicast[i].addr_state == NET_ADDR_DEPRECATED) { in ipv6_pe_prefix_already_exists()
148 (uint8_t *)&ipv6->unicast[i].address.in6_addr, in ipv6_pe_prefix_already_exists()
161 int count = 0; in ipv6_pe_prefix_remove() local
[all …]
/Zephyr-latest/drivers/ethernet/
Deth_adin2111.c4 * SPDX-License-Identifier: Apache-2.0
43 /* MAC Address Rule and DA Filter multicast slot/idx */
45 /* MAC Address Rule and DA Filter broadcast slot/idx */
47 /* MAC Address Rule and DA Filter Port 1 slot/idx */
49 /* MAC Address Rule and DA Filter Port 2 slot/idx */
86 return -EBUSY; in eth_adin2111_mac_reset()
111 struct adin2111_data *ctx = dev->data; in eth_adin2111_get_iface()
113 return ((struct adin2111_port_data *)ctx->port[port_idx]->data)->iface; in eth_adin2111_get_iface()
118 struct adin2111_data *ctx = dev->data; in eth_adin2111_lock()
120 return k_mutex_lock(&ctx->lock, timeout); in eth_adin2111_lock()
[all …]
/Zephyr-latest/soc/microchip/mec/common/reg/
Dmec_tach.h4 * SPDX-License-Identifier: Apache-2.0
28 /* Enable input filter */
46 /* Enable count ready interrupt */
54 /* Read-only latched TACH pulse counter */
61 * bits[0, 2-3] are R/W1C
62 * bit[1] is Read-Only

12345