Home
last modified time | relevance | path

Searched +full:all +full:- +full:outputs +full:- +full:2 (Results 1 – 25 of 89) sorted by relevance

1234

/Zephyr-latest/dts/bindings/gpio/
Dxlnx,xps-gpio-1.00.a.yaml3 compatible: "xlnx,xps-gpio-1.00.a"
5 include: [gpio-controller.yaml, base.yaml]
7 bus: xlnx,xps-gpio-1.00.a
10 # https://github.com/Xilinx/device-tree-xlnx
16 xlnx,all-inputs:
19 1 if all GPIOs are inputs, 0 otherwise
21 xlnx,all-outputs:
24 1 if all GPIOs are outputs, 0 otherwise
26 xlnx,dout-default:
29 Default output value. If n-th bit is 1, GPIO-n default value is 1.
[all …]
Dadi,max14916-gpio.yaml3 # SPDX-License-Identifier: Apache-2.0
7 compatible: "adi,max14916-gpio"
10 "#gpio-cells":
11 const: 2
17 drdy-gpios:
19 High-Side Open-Drain Output. READY is passive low when the internal
22 type: phandle-array
23 fault-gpios:
27 type: phandle-array
28 sync-gpios:
[all …]
Dadi,max14906-gpio.yaml3 # SPDX-License-Identifier: Apache-2.0
7 compatible: "adi,max14906-gpio"
10 "#gpio-cells":
11 const: 2
17 drdy-gpios:
19 High-Side Open-Drain Output. READY is passive low when the internal
22 type: phandle-array
23 fault-gpios:
27 type: phandle-array
28 sync-gpios:
[all …]
/Zephyr-latest/boards/digilent/arty_a7/dts/
Darty_a7_arm_designstart.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/gpio/gpio.h>
9 #include <zephyr/dt-bindings/input/input-event-codes.h>
14 zephyr,shell-uart = &uartlite0;
32 compatible = "gpio-leds";
34 gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
94 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
104 compatible = "gpio-keys";
116 gpios = <&gpio0_2 2 GPIO_ACTIVE_HIGH>;
136 gpios = <&gpio1_2 2 GPIO_ACTIVE_HIGH>;
[all …]
/Zephyr-latest/samples/subsys/zbus/confirmed_channel/
DREADME.rst1 .. zephyr:code-sample:: zbus-confirmed-channel
3 :relevant-api: zbus_apis
5 Use confirmed zbus channels to ensure all subscribers consume a message.
10 The confirmed channel can only be published when all the subscribers consume the message.
15 This project outputs to the console. It can be built and executed
18 .. zephyr-app-commands::
19 :zephyr-app: samples/subsys/zbus/confirmed_channel
20 :host-os: unix
27 .. code-block:: console
29 I: From listener -> Confirmed message payload = 0
[all …]
/Zephyr-latest/.github/workflows/
Dclang.yaml6 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
7 cancel-in-progress: true
10 clang-build:
11 if: github.repository_owner == 'zephyrproject-rtos'
12 runs-on:
13 group: zephyr-runner-v2-linux-x64-4xlarge
15 image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.27.4.20241026
16 options: '--entrypoint /bin/bash'
18 fail-fast: false
22 CCACHE_DIR: /node-cache/ccache-zephyr
[all …]
Dcodecov.yaml5 - cron: '25 06,18 * * *'
8 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
9 cancel-in-progress: true
13 if: github.repository_owner == 'zephyrproject-rtos'
14 runs-on:
15 group: zephyr-runner-v2-linux-x64-4xlarge
17 image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.27.4.20241026
18 options: '--entrypoint /bin/bash'
20 fail-fast: false
24 - platform: 'mps2/an385'
[all …]
Dtwister.yaml6 - main
7 - v*-branch
8 - collab-*
11 - main
12 - v*-branch
13 - collab-*
16 - cron: '0 3 * * 0'
19 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
20 cancel-in-progress: true
23 twister-build-prep:
[all …]
/Zephyr-latest/samples/boards/nordic/nrfx_prs/
DREADME.rst1 .. zephyr:code-sample:: nrf_nrfx_prs
21 - by pressing Button 1 user can request a transfer to be performed using the
23 - by pressing Button 2 user can switch between the two peripherals
28 The sample outputs on the standard console the hex codes of all sent and
33 all zeros are received by SPIMs. Refer to the overlay files provided in the
50 .. zephyr-app-commands::
51 :zephyr-app: samples/boards/nordic/nrfx_prs
57 Press Button 2 to switch the type of peripheral to be used for the transfer.
/Zephyr-latest/samples/boards/st/sensortile_box_pro/sensors-on-board/
DREADME.rst1 .. zephyr:code-sample:: sensortile_box_pro_sensors
11 This sample enables all sensors of SensorTile.box Pro board, and then
15 - LPS22DF: ambient temperature and atmospheric pressure
16 - LSM6DSV16X: 6-Axis acceleration and angular velocity
17 - LIS2DU12: 3-Axis acceleration
28 - :zephyr:board:`sensortile_box_pro`
35 .. zephyr-app-commands::
36 :zephyr-app: samples/boards/st/sensortile_box_pro/sensors-on-board
46 .. code-block:: console
48 $ minicom -D <tty_device> -b 115200
[all …]
/Zephyr-latest/samples/boards/st/sensortile_box/
DREADME.rst1 .. zephyr:code-sample:: sensortile_box_sensors
11 This sample enables all sensors of SensorTile.box board, and then
15 - HTS221: ambient temperature and relative humidity
16 - LPS22HH: ambient temperature and atmospheric pressure
17 - LIS2DW12: 3-Axis acceleration
18 - LSM6DSOX: 6-Axis acceleration and angular velocity
19 - STTS751: temperature sensor
30 - :zephyr:board:`sensortile_box`
37 .. zephyr-app-commands::
38 :zephyr-app: samples/boards/st/sensortile_box
[all …]
/Zephyr-latest/samples/boards/st/steval_stwinbx1/sensors/
DREADME.rst1 .. zephyr:code-sample:: stwinbx1_sensors
11 This sample enables all sensors of STWIN.box board, and then
15 - STTS22H: Digital temperature sensor
16 - IIS2MDC: 3-axis magnetometer
17 - ISM330DHCX: IMU, 3D accelerometer and 3D gyroscope with Machine Learning Core and Finite State Ma…
18 - IIS2DLPC: high-performance ultra-low-power 3-axis accelerometer for industrial applications
19 - IIS2ICLX: high-accuracy, high-resolution, low-power, 2-axis digital inclinometer with Machine Lea…
20 - ILPS22QS: ultra-compact piezoresistive absolute pressure sensor
31 - :zephyr:board:`steval_stwinbx1`
38 .. zephyr-app-commands::
[all …]
/Zephyr-latest/tests/subsys/debug/gdbstub/pytest/
Dtest_gdbstub.py3 # SPDX-License-Identifier: Apache-2.0
21 def gdb_process(dut: DeviceAdapter, gdb_script, gdb_timeout, gdb_target_remote) -> subprocess.Compl…
31 cmd = [gdb_exec, '-batch',
32 '-ex', f'set pagination off',
33 '-ex', f'set trace-commands on',
34 '-ex', f'set logging file {gdb_log_file}',
35 '-ex', f'set logging enabled on',
36 '-ex', f'target remote {gdb_target_remote}',
37 '-x', f'{source_dir}/{gdb_script}', build_image]
56 re.compile(r'Breakpoint 2 at 0x'),
[all …]
/Zephyr-latest/samples/modules/cmsis_dsp/moving_average/
DREADME.rst1 .. zephyr:code-sample:: cmsis-dsp-moving-average
2 :name: CMSIS-DSP moving average
4 Use the CMSIS-DSP library to calculate the moving average of a signal.
9 This sample demonstrates how to use the CMSIS-DSP library to calculate the moving average of a
12 It can be run on any board supported in Zephyr, but note that CMSIS-DSP is specifically optimized
13 for ARM Cortex-A and Cortex-M processors.
16 as a finite impulse response (FIR) filter where the filter coefficients are all equal to 1/N, where
21 CMSIS-DSP function, and displayed on the console.
24 In order to allow an easy comparison of the efficiency of the CMSIS-DSP library when used on ARM
25 processors vs. other architectures, the sample outputs the time and number of cycles it took to
[all …]
/Zephyr-latest/tests/boards/nrf/coresight_stm/pytest/
Dtest_stm.py4 # SPDX-License-Identifier: Apache-2.0
24 # https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/misc/coresight/nrf_etr.c
49 def _analyse_autoconf(filepath: str) -> None:
68 def _check_benchmark_results(output: str, core: str, constraints: STMLimits) -> None:
84 "log message with 2 arguments": {
85 "regex": rf"{core}: Timing for log message with 2 arguments: (.+)us",
114 ), f"{core}: Timing for {check} - {observed} us exceeds {threshold} us"
126 logger.exception(f'Could not kill nrfutil - {e}')
133 ) -> None:
155 "nrfutil trace stm --database-config "
[all …]
/Zephyr-latest/include/zephyr/mgmt/mcumgr/mgmt/
Dcallbacks.h2 * Copyright (c) 2022-2023 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
46 /** Event which signifies that all event IDs for a particular group should be enabled. */
52 /** Get event used for enabling all event IDs of a particular group. */
73 * Group (application-level) error and ``err_group`` contains the group ID that caused
131 * MGMT event opcodes for all command processing.
134 /** Used to enable all events. */
149 MGMT_EVT_OP_CMD_DONE = MGMT_DEF_EVT_OP_ID(MGMT_EVT_GRP_SMP, 2),
151 /** Used to enable all smp_group events. */
162 /** Used to enable all fs_mgmt_group events. */
[all …]
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/resources/
Dfifo_mock.py3 # SPDX-License-Identifier: Apache-2.0
25 end_time = time.time() + 2
72 wf.write(f'{line}\n'.encode('utf-8'))
73 time.sleep(1) # give a moment for external programs to collect all outputs
/Zephyr-latest/drivers/input/
Dinput_ite_it8801_kbd.c2 * Copyright (c) 2024 ITE Corporation. All Rights Reserved.
4 * SPDX-License-Identifier: Apache-2.0
56 const struct kbd_it8801_config *config = dev->config; in kbd_it8801_drive_column()
61 /* Tri-state all outputs. KSO[22:11, 6:0] output high */ in kbd_it8801_drive_column()
64 /* Assert all outputs. KSO[22:11, 6:0] output low */ in kbd_it8801_drive_column()
67 /* Selected KSO[22:11, 6:0] output low, all others KSO output high */ in kbd_it8801_drive_column()
68 kso_val = config->kso_mapping[col]; in kbd_it8801_drive_column()
71 ret = i2c_reg_write_byte_dt(&config->i2c_dev, config->reg_ksomcr, kso_val); in kbd_it8801_drive_column()
80 const struct kbd_it8801_config *const config = dev->config; in kbd_it8801_read_row()
84 ret = i2c_reg_read_byte_dt(&config->i2c_dev, config->reg_ksidr, &value); in kbd_it8801_read_row()
[all …]
Dinput_ite_it8xxx2_kbd.c2 * Copyright (c) 2021 ITE Corporation. All Rights Reserved.
3 * SPDX-License-Identifier: Apache-2.0
15 #include <zephyr/dt-bindings/interrupt-controller/it8xxx2-wuc.h>
37 /* Keyboard scan input (KSI) wake-up irq */
39 /* KSI[7:0] wake-up input source configuration list */
53 /* KSI[7:0] wake-up interrupt status mask */
61 const struct it8xxx2_kbd_config *const config = dev->config; in it8xxx2_kbd_drive_column()
62 const struct input_kbd_matrix_common_config *common = &config->common; in it8xxx2_kbd_drive_column()
63 struct kscan_it8xxx2_regs *const inst = config->base; in it8xxx2_kbd_drive_column()
64 const uint32_t kso_mask = BIT_MASK(common->col_size) & ~config->kso_ignore_mask; in it8xxx2_kbd_drive_column()
[all …]
/Zephyr-latest/include/zephyr/mgmt/mcumgr/grp/os_mgmt/
Dos_mgmt.h2 * Copyright (c) 2018-2021 mcumgr authors
6 * SPDX-License-Identifier: Apache-2.0
21 #define OS_MGMT_ID_TASKSTAT 2
56 * 32-bits, allowing 32 flags, custom user-level implementations should start at
63 OS_MGMT_INFO_FORMAT_KERNEL_RELEASE = BIT(2),
78 /* Bitmask of values specifying which outputs should be present */
95 /* Will be true if the all 'a' specifier was provided */
/Zephyr-latest/samples/boards/nordic/coresight_stm/pytest/
Dtest_stm.py4 # SPDX-License-Identifier: Apache-2.0
21 # https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/misc/coresight/nrf_etr.c#L102
34 def _analyse_autoconf(filepath: str) -> None:
53 def _check_benchmark_results(output: str, core: str) -> None:
70 rf"{core}: Timing for log message with 2 arguments: (.+)us", output
72 assert latency_msg_2_str is not None, "Timing for log message with 2 arguments NOT found"
104 logger.exception(f'Could not kill nrfutil - {e}')
111 ) -> None:
133 "nrfutil trace stm --database-config "
135 f"--input-serialport {UART_PATH} --baudrate {UART_BAUDRATE} "
[all …]
/Zephyr-latest/samples/arch/smp/pktqueue/
DREADME.rst1 .. zephyr:code-sample:: smp_pktqueue
22 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
23 | 0 - 3 | 4 - 7 | 8 - 15 | 16 - 31 |
24 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
26 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
28 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
30 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
32 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
34 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
36 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[all …]
/Zephyr-latest/samples/subsys/zbus/uart_bridge/
DREADME.rst1 .. zephyr:code-sample:: zbus-uart-bridge
3 :relevant-api: zbus_apis
10 This simple application demonstrates a UART redirection of all channel events to the host.
16 This project outputs to the console. It can be built and executed
19 .. zephyr-app-commands::
20 :zephyr-app: samples/subsys/zbus/uart_bridge
21 :host-os: unix
28 .. code-block:: console
31 uart_1 connected to pseudotty: /dev/pts/2
33 *** Booting Zephyr OS build zephyr-v3.1.0 ***
[all …]
/Zephyr-latest/drivers/gpio/
Dgpio_pcal64xxa.c5 * SPDX-License-Identifier: Apache-2.0
106 typedef int (*pcal64xxa_outputs_write)(const struct i2c_dt_spec *i2c, pcal64xxa_data_t outputs);
131 struct pcal64xxa_drv_data *drv_data = dev->data; in pcal64xxa_pin_configure()
132 const struct pcal64xxa_drv_cfg *drv_cfg = dev->config; in pcal64xxa_pin_configure()
137 LOG_DBG("%s: configure pin %i with flags 0x%08X", dev->name, pin, flags); in pcal64xxa_pin_configure()
139 /* This device does not support open-source outputs, and open-drain in pcal64xxa_pin_configure()
140 * outputs can be only configured port-wise. in pcal64xxa_pin_configure()
143 return -ENOTSUP; in pcal64xxa_pin_configure()
146 /* Pins in this device can be either inputs or outputs and cannot be in pcal64xxa_pin_configure()
151 return -ENOTSUP; in pcal64xxa_pin_configure()
[all …]
Dgpio_sifive.c2 * Copyright (c) 2017 Jean-Paul Etienne <fractalclone@gmail.com>
4 * SPDX-License-Identifier: Apache-2.0
26 /* sifive GPIO register-set structure */
51 /* multi-level encoded interrupt corresponding to pin 0 */
65 ((const struct gpio_sifive_config * const)(dev)->config)
67 ((volatile struct gpio_sifive_t *)(DEV_GPIO_CFG(dev))->gpio_base_addr)
69 ((struct gpio_sifive_data *)(dev)->data)
80 } else if (level == 2) { in gpio_sifive_pin_irq()
94 if (level == 2) { in gpio_sifive_plic_to_pin()
98 return (plic_irq - base_irq); in gpio_sifive_plic_to_pin()
[all …]

1234