Home
last modified time | relevance | path

Searched +full:direction +full:- +full:based (Results 1 – 25 of 123) sorted by relevance

12345

/Zephyr-latest/subsys/bluetooth/controller/
DKconfig.df4 # SPDX-License-Identifier: Apache-2.0
36 bool "LE Direction Finding"
39 Enable support for Bluetooth 5.1 Direction Finding
44 # Bluetooth v5.1 Direction Finding
61 This sampling mode is optional for Direction Finding according to
70 mode is optional for Direction Finding according to Bluetooth v5.1.
72 # Features related with Direction Finding
131 bool "Connection based CTE Transmitter"
136 direction finding connected mode.
139 bool "Connection based CTE Receiver"
[all …]
/Zephyr-latest/samples/bluetooth/direction_finding_central/
DREADME.rst1 .. zephyr:code-sample:: bluetooth_direction_finding_central
2 :name: Direction Finding Central
3 :relevant-api: bluetooth
5 Connect to a Bluetooth LE Direction Finding peripheral and request Constant Tone Extension.
10 A simple application demonstrating the Bluetooth LE Direction Finding CTE reception in
17 * Nordic nRF SoC based board with Direction Finding support (example boards:
21 Check your SoC's product specification for Direction Finding support if you are
32 .. zephyr-app-commands::
33 :zephyr-app: samples/bluetooth/direction_finding_central
34 :host-os: unix
[all …]
/Zephyr-latest/samples/bluetooth/direction_finding_peripheral/
DREADME.rst1 .. zephyr:code-sample:: bluetooth_direction_finding_peripheral
2 :name: Direction Finding Peripheral
3 :relevant-api: bluetooth
5 Implement Bluetooth LE Direction Finding peripheral transmitting CTE in connected mode.
10 A simple application demonstrating the Bluetooth LE Direction Finding CTE transmission in
16 * Nordic nRF SoC based board with Direction Finding support (example boards:
20 Check your SoC's product specification for Direction Finding support if you are
31 .. zephyr-app-commands::
32 :zephyr-app: samples/bluetooth/direction_finding_peripheral
33 :host-os: unix
[all …]
/Zephyr-latest/samples/bluetooth/direction_finding_connectionless_rx/
DREADME.rst1 .. zephyr:code-sample:: ble_direction_finding_connectionless_rx
2 :name: Direction Finding Periodic Advertising Locator
3 :relevant-api: bt_gap bluetooth
5 Implement Bluetooth LE Direction Finding CTE Locator functionality.
10 A simple application demonstrating the Bluetooth LE Direction Finding CTE Locator
17 * Nordic nRF SoC based board with Direction Finding support (example boards:
21 Check your SoC's product specification for Direction Finding support if you are
32 .. zephyr-app-commands::
33 :zephyr-app: samples/bluetooth/direction_finding_connectionless_rx
34 :host-os: unix
[all …]
/Zephyr-latest/samples/bluetooth/direction_finding_connectionless_tx/
DREADME.rst1 .. zephyr:code-sample:: ble_direction_finding_connectionless_tx
2 :name: Direction Finding Periodic Advertising Beacon
3 :relevant-api: bt_gap bluetooth
5 Implement Bluetooth LE Direction Finding CTE Broadcaster functionality.
10 A simple application demonstrating the Bluetooth LE Direction Finding CTE Broadcaster
16 * Nordic nRF SoC based board with Direction Finding support (example boards:
20 Check your SoC's product specification for Direction Finding support if you are
32 .. zephyr-app-commands::
33 :zephyr-app: samples/bluetooth/direction_finding_connectionless_tx
34 :host-os: unix
[all …]
/Zephyr-latest/samples/basic/servo_motor/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
8 * @file Sample app to demonstrate PWM-based servomotor control
22 enum direction { enum
30 enum direction dir = UP; in main()
36 printk("Error: PWM device %s is not ready\n", servo.dev->name); in main()
52 pulse_width -= STEP; in main()
/Zephyr-latest/drivers/display/
DKconfig.mcux_elcdif1 # Copyright 2019,2023-2024 NXP
3 # SPDX-License-Identifier: Apache-2.0
43 4-bytes pixel format, e.g. ARGB8888. Applications should change this value
64 rotation angle based on the call to display_write, so the user should
81 Rotate display counter-clockwise by 90 degrees.
87 Rotate display counter-clockwise by 180 degrees
92 Rotate display counter-clockwise by 270 degrees
99 prompt "Flip direction of PXP"
101 Set flip direction of PXP. The ELCDIF cannot detect the correct
102 rotation angle based on the call to display_write, so the user should
/Zephyr-latest/dts/bindings/sensor/
Dst,stm32-qdec.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "st,stm32-qdec"
9 - name: base.yaml
10 - name: pinctrl-device.yaml
13 pinctrl-0:
16 pinctrl-names:
19 st,encoder-mode:
28 0x10002: Encoder mode: Clock plus direction, x2 mode
29 0x10003: Encoder mode: Clock plus direction, x1 mode
37 - 0x1
[all …]
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:
22 were done based on the current counter's value.
24 single-phase-mode:
29 counter direction.
31 filter-count:
39 filter-sample-period:
/Zephyr-latest/include/zephyr/usb/
Dusb_ch9.h4 * SPDX-License-Identifier: Apache-2.0
31 uint8_t direction : 1; member
33 uint8_t direction : 1;
39 /** USB Setup Data packet defined in spec. Table 9-2 */
51 /** USB Setup packet RequestType Direction values (from Table 9-2) */
55 /** USB Setup packet RequestType Type values (from Table 9-2) */
61 /** USB Setup packet RequestType Recipient values (from Table 9-2) */
67 /** Get data transfer direction from bmRequestType */
75 * @brief Check if request transfer direction is to host.
78 * @return true If transfer direction is to host
[all …]
/Zephyr-latest/drivers/dai/nxp/sai/
Dsai.c4 * SPDX-License-Identifier: Apache-2.0
53 cfg = dev->config; in sai_mclk_config()
54 data = dev->data; in sai_mclk_config()
56 mclk_config.mclkOutputEnable = cfg->mclk_is_output; in sai_mclk_config()
65 ret = get_mclk_rate(&cfg->clk_data, bclk_source, &mclk_rate); in sai_mclk_config()
73 LOG_DBG("target MCLK is %u", bespoke->mclk_rate); in sai_mclk_config()
79 mclk_config.mclkHz = bespoke->mclk_rate; in sai_mclk_config()
82 SAI_SetMasterClockConfig(UINT_TO_I2S(data->regmap), &mclk_config); in sai_mclk_config()
84 set_msel(data->regmap, msel); in sai_mclk_config()
96 data = dev->data; in sai_isr()
[all …]
Dsai.h3 * SPDX-License-Identifier: Apache-2.0
51 /* used to convert the clock-names property into an array of clock names */
72 /* used to convert a clock-names property into an array of clock names. If the
89 /* used to parse the tx-fifo-watermark property. If said property is not
97 /* used to parse the rx-fifo-watermark property. If said property is not
105 /* used to retrieve TDR0's address based on SAI's physical address */
107 POINTER_TO_UINT(&(UINT_TO_I2S(DT_INST_REG_ADDR(inst))->TDR[idx]))
109 /* used to retrieve RDR0's address based on SAI's physical address */
111 POINTER_TO_UINT(&(UINT_TO_I2S(DT_INST_REG_ADDR(inst))->RDR[idx]))
141 /* used to retrieve the handshake value for given direction. The handshake
[all …]
/Zephyr-latest/include/zephyr/dt-bindings/pinctrl/
Desp-pinctrl-common.h4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/dt-bindings/dt-util.h>
63 * regardless of its direction
70 * driver, based on the DTS properties
/Zephyr-latest/arch/x86/core/ia32/
Dexcstub.S2 * Copyright (c) 2011-2015 Wind River Systems, Inc.
4 * SPDX-License-Identifier: Apache-2.0
9 * @brief Exception management support for IA-32 architecture
12 * interrupts) on the Intel IA-32 architecture. More specifically,
44 * Host-based tools and the target-based GDB agent depend on the stack frame
57 * The gen_idt tool creates an interrupt-gate descriptor for
66 * Clear the direction flag. It is automatically restored when the
81 * ESP -> ECX (excepting task)
156 * the exception was triggered -- this protects kernel level code
159 * Test IF bit of saved EFLAGS and re-enable interrupts if IF=1.
[all …]
Dintstub.S2 * Copyright (c) 2010-2014 Wind River Systems, Inc.
4 * SPDX-License-Identifier: Apache-2.0
9 * @brief Interrupt management support for IA-32 architecture
12 * the Intel IA-32 architecture. More specifically, the interrupt (asynchronous
56 * Host-based tools and the target-based GDB agent depend on the stack frame
77 * 0 isr <-- stack pointer
81 * The gen_idt tool creates an interrupt-gate descriptor for
86 * Clear the direction flag. It is automatically restored when the
117 * Rest of the callee-saved regs get saved by invocation of C
126 /* switch to the interrupt stack for the non-nested case */
[all …]
/Zephyr-latest/include/zephyr/drivers/
Dstepper.h9 * SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG
10 * SPDX-FileCopyrightText: Copyright (c) 2024 Jilay Sandeep Pandya
11 * SPDX-License-Identifier: Apache-2.0
59 * @brief Stepper Motor direction options
62 /** Negative direction */
64 /** Positive direction */
124 * @brief Set the micro-step resolution
132 * @brief Get the micro-step resolution
167 * @brief Run the stepper with a given velocity in a given direction
171 typedef int (*stepper_run_t)(const struct device *dev, const enum stepper_direction direction,
[all …]
/Zephyr-latest/samples/bluetooth/hci_uart_3wire/
DREADME.rst1 .. zephyr:code-sample:: bluetooth_hci_uart_3wire
2 :name: HCI 3-wire (H:5)
3 :relevant-api: hci_raw bluetooth uart_interface
39 provide a modern Bluetooth LE 5.0 controller to a Linux-based machine for native
40 BLE support or QEMU-based development.
52 .. zephyr-app-commands::
53 :zephyr-app: samples/bluetooth/hci_uart_3wire
57 .. _bluetooth-hci-uart-3wire-qemu-posix:
66 .. code-block:: console
68 sudo hciattach -n /dev/ttyACM0 3wire 1000000
[all …]
/Zephyr-latest/samples/bluetooth/hci_uart/
DREADME.rst1 .. zephyr:code-sample:: bluetooth_hci_uart
3 :relevant-api: hci_raw bluetooth uart_interface
39 provide a modern Bluetooth LE 5.0 controller to a Linux-based machine for native
40 BLE support or QEMU-based development.
52 .. zephyr-app-commands::
53 :zephyr-app: samples/bluetooth/hci_uart
57 .. _bluetooth-hci-uart-qemu-posix:
66 .. code-block:: console
68 sudo btattach -B /dev/ttyACM0 -S 1000000 -R
80 The ``-R`` flag passed to ``btattach`` instructs the kernel to avoid
[all …]
/Zephyr-latest/drivers/dma/
Ddma_nxp_sof_host_dma.c4 * SPDX-License-Identifier: Apache-2.0
29 * a generic software-based DMA engine implementation.
45 uint32_t direction; member
59 enum channel_state prev = chan->state; in channel_change_state()
66 return -EPERM; in channel_change_state()
71 return -EINVAL; in channel_change_state()
74 chan->state = next; in channel_change_state()
90 data = dev->data; in sof_host_dma_reload()
92 if (chan_id >= data->ctx.dma_channels) { in sof_host_dma_reload()
94 return -EINVAL; in sof_host_dma_reload()
[all …]
Ddma_pl330.h4 * SPDX-License-Identifier: Apache-2.0
44 /* PL330 supports max 16MB dma based on AXI bus size */
149 enum dma_channel_direction direction; member
/Zephyr-latest/dts/bindings/dai/
Dnxp,dai-esai.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nxp,dai-esai"
13 dai-index:
21 tx-fifo-watermark:
29 rx-fifo-watermark:
37 fifo-depth:
48 that the sanity check for tx/rx-fifo-watermark uses DEFAULT_FIFO_DETPH
52 word-width:
57 esai-pin-modes:
69 esai-clock-configuration:
[all …]
/Zephyr-latest/drivers/dai/nxp/esai/
Desai.h4 * SPDX-License-Identifier: Apache-2.0
13 #include <zephyr/dt-bindings/dai/esai.h>
32 /* used to fetch the depth of the FIFO. If the "fifo-depth" property is
40 /* used to fetch the TX FIFO watermark value. If the "tx-fifo-watermark"
46 /* used to fetch the RX FIFO watermark value. If the "rx-fifo-watermark"
52 /* use to fetch the handshake value for a given direction. The handshake
61 /* used to fetch the word width. If the "word-width" property is not specified,
76 #define _ESAI_SLOT_WORD_WIDTH_IS_VALID(width) (!(((width) - 8) % 4))
88 ((w) < 24 ? ((s) - (w) + (((w) - 8) / 4)) : ((s) < 32 ? 0x1e : 0x1f))
90 /* used to compute the word alignment based on the word width value.
[all …]
/Zephyr-latest/samples/userspace/shared_mem/src/
Denc.c6 * SPDX-License-Identifier: Apache-2.0
37 * this process is based on a absolute index of input characters
59 if (tmpIndex == -1) { in enig_enc()
63 tmpIndex = (W1[IMOD(IW1, tmpIndex)] + WHEEL_SIZE - IW1) % WHEEL_SIZE; in enig_enc()
67 tmpIndex = (W2[IMOD(IW2, tmpIndex)] + WHEEL_SIZE - IW2) % WHEEL_SIZE; in enig_enc()
71 tmpIndex = (W3[IMOD(IW3, tmpIndex)] + WHEEL_SIZE - IW3) % WHEEL_SIZE; in enig_enc()
79 tmpIndex = (W3R[IMOD(IW3, tmpIndex)] + WHEEL_SIZE - IW3) % WHEEL_SIZE; in enig_enc()
83 tmpIndex = (W2R[IMOD(IW2, tmpIndex)] + WHEEL_SIZE - IW2) % WHEEL_SIZE; in enig_enc()
87 tmpIndex = (W1R[IMOD(IW1, tmpIndex)] + WHEEL_SIZE - IW1) % WHEEL_SIZE; in enig_enc()
104 * Return: 1:ok -1 error
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio_nrf5_dppi.h2 * Copyright (c) 2018 - 2020 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
193 * PPI channel HAL_TRIGGER_CRYPT_DELAY_PPI is also used for HAL_TRIGGER-
197 * EEP: RADIO->EVENTS_BCMATCH
198 * TEP: CCM->TASKS_CRYPT
202 /* Configure Bit counter to trigger EVENTS_BCMATCH for CCM_TASKS_CRYPT- in hal_trigger_crypt_by_bcmatch_ppi_config()
227 /* DPPI setup used for SW-based auto-switching during TIFS. */
229 /* Clear SW-switch timer on packet end:
250 /* The 2 adjacent PPI groups used for implementing SW_SWITCH_TIMER-based
251 * auto-switch for TIFS. 'index' must be 0 or 1.
[all …]
Dradio_nrf5_ppi_resources.h2 * Copyright (c) 2021-2024 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
9 /* PPI channel 20 is pre-programmed with the following fixed settings:
10 * EEP: TIMER0->EVENTS_COMPARE[0]
11 * TEP: RADIO->TASKS_TXEN
14 /* PPI channel 21 is pre-programmed with the following fixed settings:
15 * EEP: TIMER0->EVENTS_COMPARE[0]
16 * TEP: RADIO->TASKS_RXEN
20 /* PPI channel 26 is pre-programmed with the following fixed settings:
21 * EEP: RADIO->EVENTS_ADDRESS
[all …]

12345