Home
last modified time | relevance | path

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

12345

/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 …]
/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";
104 compatible = "gpio-keys";
148 compatible = "arm,daplink-qspi-mux";
150 interrupt-parent = <&nvic>;
152 mux-gpios = <&daplink_gpio0 0 GPIO_ACTIVE_HIGH>;
157 compatible = "xlnx,xps-gpio-1.00.a";
[all …]
/Zephyr-latest/drivers/pwm/
DKconfig.it88011 # Copyright (c) 2024 ITE Corporation. All Rights Reserved.
2 # SPDX-License-Identifier: Apache-2.0
11 Enable driver for ITE IT8801 I2C-based PWM.
12 Supports 7 open-drain/push-pull outputs.
/Zephyr-latest/samples/bluetooth/hci_uart_async/
Ddebug.mixin.conf15 # This outputs all HCI traffic to a separate RTT channel. Use `btmon
16 # --jlink` to read it out. Add `--priority 7` for debug logs.
/Zephyr-latest/include/zephyr/drivers/mfd/
Dbd8lb600fs.h3 * SPDX-License-Identifier: Apache-2.0
22 * @brief set outputs
25 * @param[in] values values for outputs, one bit per output
33 * Fetch the current diagnostics from all instances, as multiple
39 * OLD - open load
40 * OCP - over current protection
41 * TSD - thermal shutdown
/Zephyr-latest/doc/develop/test/twister/
Dtwister_blackbox.rst7 to understand existing files and create their own. All developers should fix any tests
35 .. code-block:: console
37 twister -i --outdir $OUTDIR -T $TEST_DATA/tests -y --level $LEVEL
38 --test-config $TEST_DATA/test_config.yaml -p qemu_x86 -p frdm_k64f
40 It presumes a CLI with the ``zephyr-env.sh`` or ``zephyr-env.cmd`` already run.
42 Such a test provides us with all the outputs we typically expect of a Twister run thanks to
44 We can easily set up all flags that we expect from a Twister call via ``args`` variable [#f2]_ .
47 Beside the standard outputs, we can also investigate the file outputs, normally placed in
48 ``twister-out`` directories. Most of the time, we will use the ``out_path`` fixture in conjunction
49 with ``--outdir`` flag (L52) to keep test-generated files in temporary directories.
[all …]
/Zephyr-latest/samples/boards/bbc/microbit/display/
DREADME.rst1 .. zephyr:code-sample:: bbc_microbit_display
14 This project outputs various things on the BBC micro:bit display. It can
17 .. zephyr-app-commands::
18 :zephyr-app: samples/boards/bbc/microbit/display
26 The sample app displays a countdown of the characters 9-0, iterates
27 through all pixels one-by-one, displays a smiley face, some animations,
/Zephyr-latest/samples/arch/smp/pi/
DREADME.rst1 .. zephyr:code-sample:: smp_pi
10 when compute-intensive tasks can be run in parallel, with
11 no cross-dependencies or shared resources.
24 This project outputs Pi values calculated by each thread and in the end total time
25 required for all the calculation to be done. It can be built and executed
28 .. zephyr-app-commands::
29 :zephyr-app: samples/arch/smp/pi
30 :host-os: unix
38 .. code-block:: console
46 All 16 threads executed by 4 cores in 28 msec
/Zephyr-latest/drivers/serial/
DKconfig.xen3 # Copyright (c) 2021-2023 EPAM Systems
4 # SPDX-License-Identifier: Apache-2.0
28 manages all domain outputs through the consoleio interface.
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/
Dtrain_magic_wand_model.ipynb5 "Copyright 2020 The TensorFlow Authors. All Rights Reserved.\n",
11 " http://www.apache.org/licenses/LICENSE-2.0\n",
43 "<table class=\"tfo-notebook-buttons\" align=\"left\">\n",
48 …ic_wand_model.ipynb\"><img src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" />View s…
60 …efore you proceed, ensure you are using a GPU runtime by going to **Runtime -> Change runtime type…
93 "outputs": [],
96 "!git clone --depth 1 -q https://github.com/tensorflow/tensorflow\n",
98 "!cp -r tensorflow/tensorflow/lite/micro/examples/magic_wand/train train"
121 "outputs": [],
126 "!tar xvzf data.tar.gz -C train 1>/dev/null"
[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/scripts/pylib/pytest-twister-harness/tests/resources/
Dmock_script.py4 # SPDX-License-Identifier: Apache-2.0
17 def main() -> int:
19 parser.add_argument('--sleep', action='store', default=0, type=float)
20 parser.add_argument('--long-sleep', action='store_true')
21 parser.add_argument('--return-code', action='store', default=0, type=int)
22 parser.add_argument('--exception', action='store_true')
43 time.sleep(1) # give a moment for external programs to collect all outputs
Dfifo_mock.py3 # SPDX-License-Identifier: Apache-2.0
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/soc/microchip/mec/mec15xx/
Dsoc.c4 * SPDX-License-Identifier: Apache-2.0
26 ECS_REGS->INTR_CTRL |= MCHP_ECS_ICTRL_DIRECT_EN; in soc_ecia_init()
28 /* gate off all aggregated outputs */ in soc_ecia_init()
29 ECIA_REGS->BLK_EN_CLR = 0xFFFFFFFFul; in soc_ecia_init()
31 ECIA_REGS->BLK_EN_SET = MCHP_ECIA_AGGR_BITMAP; in soc_ecia_init()
33 /* Clear all GIRQn source enables and source status */ in soc_ecia_init()
34 pg = &ECIA_REGS->GIRQ08; in soc_ecia_init()
36 pg->EN_CLR = 0xFFFFFFFFul; in soc_ecia_init()
37 pg->SRC = 0xFFFFFFFFul; in soc_ecia_init()
41 /* Clear all external NVIC enables and pending status */ in soc_ecia_init()
[all …]
/Zephyr-latest/doc/services/tfm/
Dbuild.rst3 TF-M Build System
6 When building a valid ``_ns`` board target, TF-M will be built in the
7 background, and linked with the Zephyr non-secure application. No knowledge
8 of TF-M's build system is required in most cases, and the following will
9 build a TF-M and Zephyr image pair, and run it in qemu with no additional
12 .. code-block:: bash
14 … $ west build -p auto -b mps2/an521/cpu0/ns samples/tfm_integration/psa_protected_storage/ -t run
16 The outputs and certain key steps in this build process are described here,
17 however, since you will need to understand and interact with the outputs, and
18 deal with signing the secure and non-secure images before deploying them.
[all …]
/Zephyr-latest/drivers/can/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
17 module-str = CAN
39 using the "bitrate-data" devicetree property.
65 bool "Produce scripting-friendly output"
67 Enable scripting-friendly/machine-readable output from the CAN shell. Enabling this
68 bypasses the shell when printing certain outputs to ensure the output is not interleaved
83 enabled, all incoming Remote Transmission Request (RTR) frames are rejected at the driver
89 Enable CAN FD support. Not all CAN controllers support CAN FD.
92 bool "Manual bus-off recovery support"
94 Enable support for manual (non-automatic) recovery from bus-off state. Not all CAN
[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 …]
/Zephyr-latest/samples/posix/env/
DREADME.rst1 .. zephyr:code-sample:: posix-env
10 variables in C. Then, all environment variables are then printed.
18 This project outputs to the console. It can be built and executed on QEMU as follows:
20 .. zephyr-app-commands::
21 :zephyr-app: samples/posix/env
22 :host-os: unix
32 .. code-block:: console
35 BUILD_VERSION=zephyr-v3.5.0-5372-g3a46f2d052c7
47 .. code-block:: console
60 .. code-block:: console
[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
/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:
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 "
157 f"--input-serialport {UART_PATH} --baudrate {UART_BAUDRATE} "
158 f"--output-ascii {decoded_file_name}"
[all …]
/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 …]
/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. */
151 /** Used to enable all smp_group events. */
162 /** Used to enable all fs_mgmt_group events. */
191 /** Callback when an slot list command outputs fields for an image. */
[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 …]
/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 …]

12345