/Zephyr-latest/dts/bindings/interrupt-controller/ |
D | nxp,s32-siul2-eirq.yaml | 1 # Copyright 2022-2024 NXP 3 # SPDX-License-Identifier: Apache-2.0 7 compatible: "nxp,s32-siul2-eirq" 9 include: [interrupt-controller.yaml, pinctrl-device.yaml, base.yaml] 15 pinctrl-0: 18 pinctrl-names: 21 filter-prescaler: 25 Interrupt filter clock prescaler. The prescaler is applied to the input 27 The prescaled filter clock period is: 30 * TIRC is the internal oscillator period. [all …]
|
/Zephyr-latest/dts/bindings/pwm/ |
D | nxp,s32-emios-pwm.yaml | 2 # SPDX-License-Identifier: Apache-2.0 11 - Channel 0 for mode OPWFMB 12 - Channel 1 for mode OPWMB 13 - Channel 2 for mode OPWMCB with deadtime inserted at leading edge 14 - Channel 3 for mode SAIC, use internal timebase with input filter = 2 eMIOS clock 19 pwm-mode = "OPWFMB"; 21 period = <65534>; 22 duty-cycle = <32768>; 28 master-bus = <&emios1_bus_a>; 29 pwm-mode = "OPWMB"; [all …]
|
/Zephyr-latest/dts/bindings/sensor/ |
D | nxp,mcux-qdec.yaml | 2 # 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: 31 filter-count: 36 filter accepting an input transition. A value of 0 represents 3 39 filter-sample-period: 42 The sampling period (in IPBus clock cycles) of the decoder input signals. 43 Each input is sampled multiple times at the rate specified by the Filter [all …]
|
/Zephyr-latest/dts/bindings/comparator/ |
D | nxp,kinetis-acmp.yaml | 3 # 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/subsys/net/l2/ieee802154/ |
D | ieee802154_utils.h | 4 * SPDX-License-Identifier: Apache-2.0 11 * All references to the standard in this file cite IEEE 802.15.4-2020. 27 net_if_get_device(iface)->api; in ieee802154_radio_get_hw_capabilities() 33 return radio->get_capabilities(net_if_get_device(iface)); in ieee802154_radio_get_hw_capabilities() 39 net_if_get_device(iface)->api; in ieee802154_radio_cca() 42 return -ENOENT; in ieee802154_radio_cca() 45 return radio->cca(net_if_get_device(iface)); in ieee802154_radio_cca() 51 net_if_get_device(iface)->api; in ieee802154_radio_set_channel() 54 return -ENOENT; in ieee802154_radio_set_channel() 57 return radio->set_channel(net_if_get_device(iface), channel); in ieee802154_radio_set_channel() [all …]
|
/Zephyr-latest/samples/basic/blinky_pwm/ |
D | sample.yaml | 5 filter: dt_alias_exists("pwm-led0") and dt_compat_enabled("pwm-leds") 7 - drivers 8 - pwm 15 - "PWM-based blinky" 16 - "Calibrating for channel [0-9]+" 17 - "Done calibrating; maximum/minimum periods [0-9]+/[0-9]+ nsec" 18 - "Using period [0-9]+" 19 - "Using period [0-9]+"
|
/Zephyr-latest/tests/drivers/build_all/comparator/mcux_acmp/ |
D | mimxrt1176_mux_dac.dts | 4 * 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/counter/ |
D | nxp,imx-tmr.yaml | 1 # 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/subsys/bluetooth/controller/ll_sw/ |
D | ull_scan_internal.h | 2 * Copyright (c) 2018-2019 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 15 /* Convert period in 1.28 s units to duration of 10 ms units*/ 16 #define ULL_SCAN_PERIOD_TO_DURATION(period) \ argument 17 ((uint32_t)(period) * EXT_SCAN_PERIOD_UNIT_US / \ 25 /* Convert period in 1.28 s unit to radio events count */ 26 #define ULL_SCAN_PERIOD_TO_EVENTS(period, interval) \ argument 27 (((uint32_t)(period) * EXT_SCAN_PERIOD_UNIT_US / \ 72 /* Return filter policy used */
|
/Zephyr-latest/samples/drivers/led/pwm/ |
D | sample.yaml | 6 filter: dt_compat_enabled("pwm-leds") 16 - "Testing LED \\d+" 17 - "Turned on" 18 - "Turned off" 19 - "Increasing brightness gradually" 20 - "Decreasing brightness gradually" 21 - "Blinking on: ([0-9]+) msec, off: ([0-9]+) msec" 22 - "(Blinking on: ([0-9]+) msec, off: ([0-9]+) msec|Cycle period not supported)" 23 - "Turned off, loop end"
|
/Zephyr-latest/include/zephyr/drivers/sensor/ |
D | mcux_lpcmp.h | 5 * 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/drivers/pwm/ |
D | pwm_nxp_s32_emios.c | 4 * SPDX-License-Identifier: Apache-2.0 36 /* We need maximum three edges for measure both period and cycle */ 94 return -EINVAL; in pwm_nxp_s32_set_cycles_internal_timebase() 106 return -EIO; in pwm_nxp_s32_set_cycles_internal_timebase() 111 /* Force match so that the new period, duty cycle takes effect immediately */ in pwm_nxp_s32_set_cycles_internal_timebase() 128 return -EINVAL; in pwm_nxp_s32_set_cycles_external_timebase() 133 * This mode uses internal counter, so change period and cycle in pwm_nxp_s32_set_cycles_external_timebase() 139 LOG_ERR("Cannot set counter period"); in pwm_nxp_s32_set_cycles_external_timebase() 140 return -EIO; in pwm_nxp_s32_set_cycles_external_timebase() 147 return -EIO; in pwm_nxp_s32_set_cycles_external_timebase() [all …]
|
D | pwm_renesas_ra.c | 4 * SPDX-License-Identifier: Apache-2.0 30 uint64_t period; member 73 gpt_extended_cfg_t *p_extend = (gpt_extended_cfg_t *)p_cfg->p_extend; in pwm_renesas_ra_apply_gtior_config() 74 uint32_t gtior = p_extend->gtior_setting.gtior; in pwm_renesas_ra_apply_gtior_config() 79 if (p_extend->gtior_setting.gtior == 0) { in pwm_renesas_ra_apply_gtior_config() 81 if (p_extend->gtioca.output_enabled) { in pwm_renesas_ra_apply_gtior_config() 83 pwm_renesas_ra_gtior_calculate(p_extend->gtioca.stop_level); in pwm_renesas_ra_apply_gtior_config() 88 if (p_extend->gtiocb.output_enabled) { in pwm_renesas_ra_apply_gtior_config() 90 pwm_renesas_ra_gtior_calculate(p_extend->gtiocb.stop_level); in pwm_renesas_ra_apply_gtior_config() 98 gpt_extended_pwm_cfg_t const *p_pwm_cfg = p_extend->p_pwm_cfg; in pwm_renesas_ra_apply_gtior_config() [all …]
|
/Zephyr-latest/include/zephyr/net/ |
D | ieee802154_radio.h | 5 * SPDX-License-Identifier: Apache-2.0 12 * @note All references to the standard in this file cite IEEE 802.15.4-2020. 38 * @details This API provides a common representation of vendor-specific 44 * - a basic, mostly PHY-level driver API to be implemented by all drivers, 45 * - several optional MAC-level extension points to offload performance 51 * offloading to vendor-specific hardware or firmware features may be required 56 * Whether or not MAC-level offloading extension points need to be implemented 60 * @note All section, table and figure references are to the IEEE 802.15.4-2020 67 * @name IEEE 802.15.4-2020, Section 6: MAC functional description 72 * The symbol period (and therefore symbol rate) is defined in section 6.1: "Some [all …]
|
/Zephyr-latest/boards/nxp/mr_canhubk3/ |
D | mr_canhubk3.dts | 4 * 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 …]
|
/Zephyr-latest/drivers/sensor/sx9500/ |
D | sx9500.c | 1 /* sensor_sx9500.c - Driver for Semtech SX9500 SAR proximity chip */ 6 * SPDX-License-Identifier: Apache-2.0 28 * auto-increments the address for subsequent values in a single 35 0x40, /* Doze enabled, 2x scan period doze, no raw filter. */ 37 0x0f, /* Debouncer off, lowest average negative filter, 38 * highest average positive filter. 51 struct sx9500_data *data = dev->data; in sx9500_sample_fetch() 52 const struct sx9500_config *cfg = dev->config; in sx9500_sample_fetch() 56 return i2c_reg_read_byte_dt(&cfg->i2c, SX9500_REG_STAT, &data->prox_stat); in sx9500_sample_fetch() 63 struct sx9500_data *data = (struct sx9500_data *) dev->data; in sx9500_channel_get() [all …]
|
/Zephyr-latest/drivers/ethernet/ |
D | Kconfig.stm32_hal | 5 # SPDX-License-Identifier: Apache-2.0 79 int "Carrier check timeout period (ms)" 83 Set the RX idle timeout period in milliseconds after which the 84 PHY's carrier status is re-evaluated. 159 bool "Multicast hash filter support"
|
/Zephyr-latest/soc/intel/intel_adsp/cavs/include/cavs25/ |
D | dmic_regs.h | 1 /* 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 240 /* Period of activation of comb section in the microphone clocks minus 1 */ 262 /* FIR decimation filter is started. */ 274 /* Mute outputs of this filter and set it to zero. */ [all …]
|
/Zephyr-latest/soc/intel/intel_adsp/ace/include/ |
D | dmic_regs.h | 1 /* 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 240 /* Period of activation of comb section in the microphone clocks minus 1 */ 277 /* FIR decimation filter is started. */ [all …]
|
/Zephyr-latest/drivers/counter/ |
D | counter_renesas_ra_agt.c | 4 * SPDX-License-Identifier: Apache-2.0 36 agt_agtio_filter_t agtio_filter; /* Input filter for AGTIO */ 51 uint32_t period; /* Current timer period (counts) */ member 52 uint32_t period_counts; /* Period in raw timer counts */ 55 /* Alarm-related data */ 59 uint32_t guard_period; /* Absolute counter alarm's guard period */ 74 reg->AGTCR = AGT_AGTCR_START_TIMER; in counter_ra_agt_start() 76 while (!(reg->AGTCR & BIT(R_AGTX0_AGT16_CTRL_AGTCR_TCSTF_Pos)) && likely(--timeout)) in counter_ra_agt_start() 79 return timeout > 0 ? 0 : -EIO; in counter_ra_agt_start() 87 reg->AGTCR = AGT_AGTCR_STOP_TIMER; in counter_ra_agt_stop() [all …]
|
/Zephyr-latest/samples/modules/tflite-micro/hello_world/ |
D | README.rst | 1 .. zephyr:code-sample:: tflite-hello-world 17 The sample also includes a full end-to-end workflow of training 22 reference kernels and one with CMSIS-NN optimized kernels. 29 https://github.com/tensorflow/tflite-micro/tree/main/tensorflow/lite/micro/examples/hello_world 37 Add the tflite-micro module to your West manifest and pull it: 39 .. code-block:: console 41 west config manifest.project-filter -- +tflite-micro 46 .. zephyr-app-commands:: 47 :zephyr-app: samples/modules/tflite-micro/hello_world 48 :host-os: unix [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | proxy_srv.c | 5 * SPDX-License-Identifier: Apache-2.0 61 uint16_t filter[CONFIG_BT_MESH_PROXY_FILTER_SIZE]; member 72 [0 ... (CONFIG_BT_MAX_CONN - 1)] = { 92 return -EINVAL; in gatt_recv() 97 return -EINVAL; in gatt_recv() 111 if (buf->len < 1) { in filter_set() 112 LOG_WRN("Too short Filter Set message"); in filter_set() 113 return -EINVAL; in filter_set() 121 (void)memset(client->filter, 0, sizeof(client->filter)); in filter_set() 122 client->filter_type = ACCEPT; in filter_set() [all …]
|
/Zephyr-latest/soc/atmel/sam/common/ |
D | soc_gpio.h | 2 * Copyright (c) 2016-2017 Piotr Mienkowski 4 * SPDX-License-Identifier: Apache-2.0 101 * - configure pin(s) as input with debounce filter enabled. 102 * - connect pin(s) to a peripheral B and enable pull-up. 103 * - configure pin(s) as open drain output. 111 * a pull-up and user wants to read pin's input value it is necessary 143 pin->regs->OVRS = pin->mask; in soc_gpio_set() 145 pin->regs->PIO_SODR = pin->mask; in soc_gpio_set() 161 pin->regs->OVRC = pin->mask; in soc_gpio_clear() 163 pin->regs->PIO_CODR = pin->mask; in soc_gpio_clear() [all …]
|
/Zephyr-latest/doc/connectivity/networking/api/ |
D | lwm2m.rst | 18 CoAP packet-size optimization and a simple, stateless flow that supports a 35 .. list-table:: 36 :header-rows: 1 38 * - Object ID 39 - Name 40 - Instance 41 - Mandatory 43 * - 3 44 - Device 45 - Single [all …]
|
/Zephyr-latest/samples/boards/bbc/microbit/pong/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 21 /* The micro:bit has a 5x5 LED display, using (x, y) notation the top-left 22 * corner has coordinates (0, 0) and the bottom-right has (4, 4). To make 24 * system where top-left is (0, 0) and bottom-right is (49, 49). 37 #define BALL_VEL_Y_START -4 /* Default ball vertical speed */ 52 /* Ball starting position (just to the left of the paddle mid-point) */ 126 static inline void beep(uint32_t period) in beep() argument 128 pwm_set_dt(&pwm, period, period / 2); in beep() 161 SCROLL_SPEED, "%s", select->choice[select_idx].str); in pong_select() 168 select_idx = (select_idx + 1) % select->choice_count; in pong_select_change() [all …]
|