Home
last modified time | relevance | path

Searched +full:all +full:- +full:inputs +full:- +full:2 (Results 1 – 25 of 85) 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 …]
/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/doc/connectivity/bluetooth/api/mesh/
Dblob_cli.rst18 .. code-block:: C
37 Inputs structure must at least be initialized with a list of targets, an application key and a time
40 .. code-block:: c
47 static struct bt_mesh_blob_cli_inputs inputs = {
52 sys_slist_init(&inputs.targets);
53 sys_slist_append(&inputs.targets, &targets[0].n);
54 sys_slist_append(&inputs.targets, &targets[1].n);
55 sys_slist_append(&inputs.targets, &targets[2].n);
57 Note that all BLOB Transfer Servers in the transfer must be bound to the chosen application key.
61 -------------
[all …]
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_blob.c4 * SPDX-License-Identifier: Apache-2.0
39 .option = "use-pull-mode", in test_args_parse()
46 .option = "msg-fail-type", in test_args_parse()
52 .name = "{inactive, start, wait-block, wait-chunk, complete, suspended}", in test_args_parse()
53 .option = "expected-phase", in test_args_parse()
79 partial_block += chunk->size; in blob_chunk_wr()
80 ASSERT_TRUE_MSG(partial_block <= block->size, "Received block is too large\n"); in blob_chunk_wr()
83 if (partial_block == block->size) { in blob_chunk_wr()
85 ASSERT_FALSE_MSG(atomic_test_and_set_bit(block_bitfield, block->number), in blob_chunk_wr()
105 memset(chunk->data, 0, chunk->size); in blob_chunk_rd()
[all …]
Dtest_dfu.c4 * SPDX-License-Identifier: Apache-2.0
74 .option = "fail-confirm", in test_args_parse()
80 .name = "{none, start, verify, verify-ok, verify-fail, apply}", in test_args_parse()
81 .option = "expected-phase", in test_args_parse()
109 memset(chunk->data, 0, chunk->size); in dummy_blob_chunk_rd()
182 return dfu_metadata_fail ? 0 : -1; in target_metadata_check()
197 return -EALREADY; in target_dfu_start()
314 BT_MESH_ELEM(2,
318 .elem_count = 2,
498 .ttl = 2, in dist_dfu_start_and_confirm()
[all …]
/Zephyr-latest/dts/bindings/clock/
Datmel,sam-pmc.yaml2 # SPDX-License-Identifier: Apache-2.0
8 controlling all system and user peripheral clocks. The PMC enables/disables
9 the clock inputs to many of the peripherals and the processor.
16 clocks = <&pmc PMC_TYPE_PERIPHERAL p-id>;
20 In this example the clock-type was defined as PMC_TYPE_PERIPHERAL and the
21 peripheral-id was defined as p-id. The p-id number should be consulted on
27 The clock-type constants are:
34 compatible: "atmel,sam-pmc"
36 include: [clock-controller.yaml, base.yaml]
42 "#clock-cells":
[all …]
/Zephyr-latest/dts/bindings/regulator/
Dnxp,pca9420.yaml2 # SPDX-License-Identifier: Apache-2.0
7 The PMIC has two buck converters and two LDOs. All need to be defined as
15 /* all properties for BUCK1 */
18 /* all properties for BUCK2 */
21 /* all properties for LDO1 */
24 /* all properties for LDO2 */
34 nxp,enable-modesel-pins:
38 the MODESEL0/1 inputs.
40 nxp,vin-ilim-microamp:
44 - 85000
[all …]
/Zephyr-latest/dts/bindings/interrupt-controller/
Dnxp,s32-siul2-eirq.yaml1 # 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:
23 enum: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
33 child-binding:
37 controller, labeled `irq_<interrupt-number>`. For example:
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Dblob.c4 * SPDX-License-Identifier: Apache-2.0
41 for (i = 0; i < chunk->size; ++i) { in blob_chunk_wr()
42 blob_rx_sum += chunk->data[i]; in blob_chunk_wr()
43 if (chunk->data[i] != in blob_chunk_wr()
44 blob_data[(i + chunk->offset) % sizeof(blob_data)]) { in blob_chunk_wr()
57 for (int i = 0; i < chunk->size; ++i) { in blob_chunk_rd()
58 chunk->data[i] = in blob_chunk_rd()
59 blob_data[(i + chunk->offset) % sizeof(blob_data)]; in blob_chunk_rd()
76 struct bt_mesh_blob_cli_inputs inputs; member
87 bt_shell_print("Mesh Blob: Lost target 0x%04x (reason: %u)", target->addr, reason); in blob_cli_lost_target()
[all …]
Ddfd.c4 * SPDX-License-Identifier: Apache-2.0
22 shell_print(sh, "{\"status\": %d, \"target_cnt\": %d}", status, srv->target_cnt); in print_receivers_status()
29 srv->phase); in print_dfd_status()
31 if (srv->phase != BT_MESH_DFD_PHASE_IDLE && srv->dfu.xfer.slot) { in print_dfd_status()
34 "\"apply\": %d, \"slot_idx\": %d", srv->inputs.group, in print_dfd_status()
35 srv->inputs.app_idx, srv->inputs.ttl, srv->inputs.timeout_base, in print_dfd_status()
36 srv->dfu.xfer.blob.mode, srv->apply, srv->slot_idx); in print_dfd_status()
62 *total += slot->size; in slot_space_cb()
70 return -ENODEV; in cmd_dfd_receivers_add()
73 struct bt_mesh_dfd_srv *dfd_srv = mod->rt->user_data; in cmd_dfd_receivers_add()
[all …]
Ddfu.c4 * SPDX-License-Identifier: Apache-2.0
44 bt_shell_print("DFU target lost: 0x%04x", target->blob.addr); in dfu_cli_lost_target()
114 return -EINVAL; in dfu_apply()
145 fwid->ver = img_header.h.v1.sem_ver; in bt_mesh_shell_dfu_cmds_init()
172 return -EINVAL; in cmd_dfu_comp_add()
178 return -EMSGSIZE; in cmd_dfu_comp_add()
204 return -EINVAL; in cmd_dfu_comp_elem_add()
209 sig_model_count = shell_strtoul(argv[2], 0, &err); in cmd_dfu_comp_elem_add()
212 if (argc < 4 + sig_model_count + vnd_model_count * 2) { in cmd_dfu_comp_elem_add()
213 return -EINVAL; in cmd_dfu_comp_elem_add()
[all …]
/Zephyr-latest/dts/bindings/sensor/
Dti,ina226.yaml2 # SPDX-License-Identifier: Apache-2.0
6 The <zephyr/dt-bindings/sensor/ina226.h> file should be included in the
12 include: [sensor-device.yaml, i2c-device.yaml]
15 avg-count:
18 Number of samples to average (applies to all inputs).
19 Default is the power-on reset value.
23 vbus-conversion-time-us:
27 Default is the power-on reset value.
31 vshunt-conversion-time-us:
35 Default is the power-on reset value.
[all …]
Dti,tmag5273.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Texas Instruments Low-Power Linear 3D Hall-Effect Sensor with an I2C interface.
16 #include <zephyr/dt-bindings/sensor/tmag5273.h>
26 include: [sensor-device.yaml, i2c-device.yaml]
29 operation-mode:
37 - 0 # TMAG5273_DT_OPER_MODE_CONTINUOUS (continuous)
38 - 1 # TMAG5273_DT_OPER_MODE_STANDBY (standby)
43 enum: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
45 Magnet axis channel inputs.
46 Defaults to measure all axis (TMAG5273_DT_AXIS_XYZ).
[all …]
/Zephyr-latest/drivers/interrupt_controller/
DKconfig.multilevel5 # SPDX-License-Identifier: Apache-2.0
8 bool "Multi-level interrupt support"
14 all interrupts routed to it into one IRQ line in the first level
35 The maximum number of interrupt inputs to any aggregator in the
38 config 2ND_LEVEL_INTERRUPTS
39 bool "Second-level interrupt support"
44 config 2ND_LVL_ISR_TBL_OFFSET
45 int "Offset in _sw_isr_table for level 2 interrupts"
47 depends on 2ND_LEVEL_INTERRUPTS
50 where storage for 2nd level interrupt ISRs begins. This is
[all …]
Dintc_dw_ace.c4 * SPDX-License-Identifier: Apache-2.0
21 /* ACE device interrupts are all packed into a single line on Xtensa's
25 * (i.e. interrupts 0-31 are Xtensa IRQs, 32 represents DW input 0,
29 * interrupt level of 2. The CPU has a level 1 external interrupt on
31 * that this level 2 ISR is also shared with the CCOUNT timer on IRQ3.
34 * But, because there can never be a situation where all interrupts on
38 * always has the line active, and we do all masking of external
49 * + Drivers manage ACE_DINT themselves, as there are device-specific
51 * core-asymmetric interrupt routing needs to happen, it happens
54 * + The DW layer is en/disabled uniformly across all cores. This is
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
Dblob_cli.c4 * SPDX-License-Identifier: Apache-2.0
19 SYS_SLIST_FOR_EACH_CONTAINER((sys_slist_t *)&(cli)->inputs->targets, \
22 /* The Maximum BLOB Poll Interval - T_MBPI */
25 #define CLIENT_TIMEOUT_MSEC(cli) (10 * MSEC_PER_SEC * (cli->inputs->timeout_base + 2) + \
26 100 * cli->inputs->ttl)
27 #define BLOCK_REPORT_TIME_MSEC ((BLOB_POLL_TIME_MAX_SECS * 2 + 7) * 1000)
30 #define SENDING_CHUNKS_IN_PULL_MODE(cli) ((cli)->state == BT_MESH_BLOB_CLI_STATE_BLOCK_SEND && \
31 (cli)->xfer->mode == BT_MESH_BLOB_XFER_MODE_PULL)
32 #define UNICAST_MODE(cli) ((cli)->inputs->group == BT_MESH_ADDR_UNASSIGNED || \
33 (cli)->tx.ctx.force_unicast)
[all …]
Ddfu_cli.c4 * SPDX-License-Identifier: Apache-2.0
22 (sys_slist_t *)&((cli)->blob.inputs)->targets, target, blob.n)
26 .app_idx = (cli)->blob.inputs->app_idx, .addr = dst, \
27 .send_ttl = (cli)->blob.inputs->ttl, \
52 FLAG_SKIP_CAPS_GET = BIT(2),
77 if (addr == target->blob.addr) { in target_get()
89 target->status = status; in target_failed()
91 LOG_ERR("Target 0x%04x failed: %u", target->blob.addr, status); in target_failed()
96 if (target->blob.status == BT_MESH_BLOB_SUCCESS) { in target_failed()
97 target->blob.status = BT_MESH_BLOB_ERR_INTERNAL; in target_failed()
[all …]
/Zephyr-latest/boards/dptechnics/walter/doc/
Dindex.rst6 Walter is a compact IoT development board that combines an Espressif ESP32-S3 SoC
7 with a Sequans Monarch 2 GM02SP LTE-M/NB-IoT/GNSS modem.
14 ESP32-S3-WROOM-1-N16R2 microcontroller:
16 - Xtensa dual-core 32-bit LX7 CPU
17 - 16 MiB quad SPI flash memory
18 - 2 MiB quad SPI PSRAM
19 - 150 Mbps 802.11 b/g/n Wi-Fi 4 with on-board PCB antenna
20 - 2 Mbps Bluetooth 5 Low Energy with on-board PCB antenna
22 Sequans Monarch 2 GM02SP modem:
24 - Dual-mode LTE-M / NB-IoT (NB1, NB2)
[all …]
/Zephyr-latest/soc/mediatek/mt8xxx/
Dsoc.c2 * SPDX-License-Identifier: Apache-2.0
6 #include <zephyr/sys/libc-hooks.h>
42 * There are 64 interrupt inputs to the controller, controlled by
46 * can be configured to handle any subset of interrupt inputs.
55 * 0-5 0-5 1 (L1 is shared w/exceptions, poor choice)
56 * 6-7 7-8 1
57 * 8-10 9-11 2
58 * 11-13 16-18 3
61 * Naming of the inputs looks like this, though obviously only a small
66 * 2: SPM 22: CCIF3_C0 42: CONNSYS3
[all …]
/Zephyr-latest/drivers/input/
Dinput_npcx_kbd.c5 * SPDX-License-Identifier: Apache-2.0
34 /* Keyboard scan input (KSI) wake-up irq */
36 /* Size of keyboard inputs-wui mapping array */
38 /* Mapping table between keyboard inputs and wui */
59 const struct npcx_kbd_config *const config = dev->config; in npcx_kbd_set_detect_mode()
60 const struct input_kbd_matrix_common_config *common = &config->common; in npcx_kbd_set_detect_mode()
63 for (int i = 0; i < common->row_size; i++) { in npcx_kbd_set_detect_mode()
64 npcx_miwu_irq_get_and_clear_pending(&config->wui_maps[i]); in npcx_kbd_set_detect_mode()
67 irq_enable(config->irq); in npcx_kbd_set_detect_mode()
69 irq_disable(config->irq); in npcx_kbd_set_detect_mode()
[all …]
/Zephyr-latest/boards/st/nucleo_g0b1re/doc/
Dindex.rst5 The Nucleo G0B1RE board features an ARM Cortex-M0+ based STM32G0B1RE MCU
9 - STM32 microcontroller in QFP64 package
10 - Board connectors:
12 - Arduino Uno V3 connectivity
13 - ST morpho extension pin headers for full access to all STM32 I/Os
15 - On-board ST-LINK/V2-1 debugger/programmer with SWD connector
16 - Flexible board power supply:
18 - 5V_USB_STLK from ST-Link USB connector
19 - VIN (7 - 12V) from ARDUINO connector or ST morpho connector
20 - E5V from ST morpho connector
[all …]
/Zephyr-latest/boards/st/stm32373c_eval/doc/
Dindex.rst5 …e STM32373C-EVAL evaluation board is designed as a complete demonstration and development platform…
7 …ures on the board can help the user evaluate all peripherals (USB FS, USART, audio DAC, microphone…
11 More information about the board can be found at the `STM32373C-EVAL website`_.
16 STM32373C-EVAL provides the following hardware components:
18 - STM32F373VCT6 microcontroller
19 - Four 5 V power supply options:
20 - Power jack
21 - ST-LINK/V2 USB connector
22 - User USB connector
23 - Daughter board
[all …]
/Zephyr-latest/drivers/gpio/
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 …]
/Zephyr-latest/boards/wiznet/w5500_evb_pico2/doc/
Dindex.rst6 W5500-EVB-Pico2 is a microcontroller evaluation board based on the Raspberry
7 Pi RP2350A and fully hardwired TCP/IP controller W5500 - and basically works
10 drag-and-drop manner. It is also possible to flash and debug the boards with
16 - Dual core Arm Cortex-M33 or Hazard3 processor running up to 133MHz
17 - 520KB on-chip SRAM
18 - 16MB on-board QSPI flash with XIP capabilities
19 - 26 GPIO pins
20 - 3 Analog inputs
21 - 2 UART peripherals
22 - 2 SPI controllers
[all …]
/Zephyr-latest/doc/services/input/
Dgpio-kbd.rst1 .. _gpio-kbd:
6 The :dtcompatible:`gpio-kbd-matrix` driver supports a large variety of keyboard
11 The conventional configuration for all of these is that the driver reads on the
12 row GPIOs (inputs) and selects on the columns GPIOs (output).
21 .. figure:: no-diodes.svg
27 The system must support GPIO interrupts, and the interrupt can be enabled on all
30 .. code-block:: devicetree
32 kbd-matrix {
33 compatible = "gpio-kbd-matrix";
34 row-gpios = <&gpio0 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>,
[all …]

1234