Home
last modified time | relevance | path

Searched +full:command +full:- +full:delay +full:- +full:ms (Results 1 – 25 of 65) sorted by relevance

123

/Zephyr-latest/dts/bindings/auxdisplay/
Dsparkfun,serlcd.yaml2 # SPDX-License-Identifier: Apache-2.0
14 command-delay-ms = <10>;
15 special-command-delay-ms = <50>;
21 include: [auxdisplay-device.yaml, i2c-device.yaml]
28 - 16
29 - 20
35 - 2
36 - 4
38 command-delay-ms:
42 Delay in milliseconds (defaults to 10ms if not set) after a normal command was sent.
[all …]
Dhit,hd44780.yaml4 # SPDX-License-Identifier: Apache-2.0
11 include: [auxdisplay-device.yaml]
17 description: Operating mode of display, 8-bit or 4 for 4-bit mode
19 - 4
20 - 8
22 register-select-gpios:
23 type: phandle-array
27 read-write-gpios:
28 type: phandle-array
31 enable-gpios:
[all …]
/Zephyr-latest/subsys/shell/modules/kernel_service/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
20 int "Delay between reception of shell reboot command and reboot (ms)"
24 This delay allows time for the shell to successfully echo the reboot
25 command input before the reboot abruptly terminates it. This can help
27 command's echo to successfully complete to synchronise with the
/Zephyr-latest/tests/drivers/build_all/auxdisplay/
Di2c_devices.overlay3 * SPDX-License-Identifier: Apache-2.0
8 #address-cells = <1>;
9 #size-cells = <1>;
13 gpio-controller;
15 #gpio-cells = <0x2>;
20 #address-cells = <1>;
21 #size-cells = <0>;
25 clock-frequency = <100000>;
33 command-delay-ms = <10>;
34 special-command-delay-ms = <50>;
/Zephyr-latest/drivers/sensor/honeywell/mpr/
Dmpr.h4 * SPDX-License-Identifier: Apache-2.0
12 /* MPR output measurement command */
26 /* MPR register read data conversion delay [ms] */
/Zephyr-latest/drivers/auxdisplay/
Dauxdisplay_jhd1313.c4 * Copyright (c) 2022-2023 Jamie McCrae
6 * SPDX-License-Identifier: Apache-2.0
88 uint8_t command[2] = { addr, data }; in auxdisplay_jhd1313_reg_set() local
90 i2c_write(i2c, command, sizeof(command), JHD1313_BACKLIGHT_ADDR); in auxdisplay_jhd1313_reg_set()
95 const struct auxdisplay_jhd1313_config *config = dev->config; in auxdisplay_jhd1313_print()
102 rc = i2c_write_dt(&config->bus, buf, sizeof(buf)); in auxdisplay_jhd1313_print()
112 const struct auxdisplay_jhd1313_config *config = dev->config; in auxdisplay_jhd1313_cursor_position_set()
116 return -EINVAL; in auxdisplay_jhd1313_cursor_position_set()
128 return i2c_write_dt(&config->bus, data, 2); in auxdisplay_jhd1313_cursor_position_set()
134 const struct auxdisplay_jhd1313_config *config = dev->config; in auxdisplay_jhd1313_clear()
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/grp/os_mgmt/
DKconfig2 # Copyright Nordic Semiconductor ASA 2020-2022. All rights reserved.
3 # SPDX-License-Identifier: Apache-2.0
10 # MCUMGR_GRP_OS_ -- general group options;
26 int "Delay before executing reset command (ms)"
30 When a reset command is received, the system waits this many milliseconds
31 before performing the reset. This delay allows time for the MCUmgr
40 command has been issued via an MCUmgr command. With this option
41 disabled, modules will reboot when the command is received without
43 application will be notified that a reset command has been received
50 bool "Support for taskstat command"
[all …]
/Zephyr-latest/drivers/display/
Ddisplay_hx8394.c4 * SPDX-License-Identifier: Apache-2.0
149 0x73, /* SPON delay */
150 0x74, /* SPOFF delay */
151 0x73, /* CON delay */
152 0x74, /* COFF delay */
153 0x73, /* CON1 delay */
154 0x74, /* COFF1 delay */
161 0x73, /* SPON_MPU delay */
162 0x74, /* SPOFF_MPU delay */
163 0x73, /* CON_MPU delay */
[all …]
Ddisplay_rm67162.c4 * SPDX-License-Identifier: Apache-2.0
24 * Manufacture command set pages are not described in the datasheet
30 /* CMD Mode switch, select manufacture command set page 0 */
77 /* VGMP/VGSP Voltage Control (select manufacture command set page 1 ) */
83 /* VGMP/VGSP Voltage Control (select manufacture command set page 2 ) */
89 /* VSR Command (select manufacture command set page 3 ) */
93 /* VSR1 Timing Set (select manufacture command set page 3 ) */
105 /* VSR2 Timing Set (select manufacture command set page 3 ) */
117 /* VSR3 Timing Set (select manufacture command set page 3 ) */
129 /* VSR4 Timing Set (select manufacture command set page 3 ) */
[all …]
Ddisplay_st7796s.c4 * SPDX-License-Identifier: Apache-2.0
19 /* Magic numbers used to lock/unlock command settings */
50 uint32_t te_delay; /* Tearing enable delay */
57 const struct st7796s_config *config = dev->config; in st7796s_send_cmd()
59 return mipi_dbi_command_write(config->mipi_dbi, &config->dbi_config, in st7796s_send_cmd()
72 addr_data[1] = sys_cpu_to_be16(x + width - 1); in st7796s_set_cursor()
82 addr_data[1] = sys_cpu_to_be16(y + height - 1); in st7796s_set_cursor()
100 const struct st7796s_config *config = dev->config; in st7796s_get_pixelfmt()
103 * Invert the pixel format for 8-bit 8080 Parallel Interface. in st7796s_get_pixelfmt()
111 * This is not an issue when using a 16-bit interface. in st7796s_get_pixelfmt()
[all …]
/Zephyr-latest/drivers/bluetooth/hci/
Dh4_ifx_cyw43xxx.c5 * SPDX-License-Identifier: Apache-2.0
36 /* Stabilization delay after FW loading */
39 /* HCI Command packet from Host to Controller */
42 /* Length of UPDATE BAUD RATE command */
60 * This function executes vendor-specific commands sequence to
62 * bt_h4_vnd_setup function must be implemented in vendor-specific HCI
79 /* Re-configure UART */ in bt_hci_uart_set_baudrate()
96 * - To speed up application downloading, the MCU host commands the CYWxxx device in bt_update_controller_baudrate()
98 * UPDATE_BAUDRATE command: in bt_update_controller_baudrate()
100 * In the above command, the xx xx xx xx bytes specify the 32-bit little-endian in bt_update_controller_baudrate()
[all …]
Dhci_nxp.c2 * Copyright 2023-2024 NXP
4 * SPDX-License-Identifier: Apache-2.0
7 /* -------------------------------------------------------------------------- */
9 /* -------------------------------------------------------------------------- */
23 /* -------------------------------------------------------------------------- */
25 /* -------------------------------------------------------------------------- */
74 /* -------------------------------------------------------------------------- */
76 /* -------------------------------------------------------------------------- */
78 /* -------------------------------------------------------------------------- */
80 /* -------------------------------------------------------------------------- */
[all …]
/Zephyr-latest/drivers/led/
Dlp5562.c4 * SPDX-License-Identifier: Apache-2.0
13 * The LP5562 is a 4-channel LED driver that communicates over I2C. The four
23 * - Set the brightness.
24 * - Fade the brightness over time.
25 * - Loop parts of the program or the whole program.
26 * - Add delays.
27 * - Synchronize between the engines.
69 * The wait command has six bits for the number of steps (max 63) with up to
70 * 15.6ms per step if the prescaler is set to 1. We round the step length
71 * however to 16ms for easier handling, so the maximum blinking period is
[all …]
/Zephyr-latest/drivers/sdhc/
Dimx_usdhc.c4 * SPDX-License-Identifier: Apache-2.0
44 /* Default transfer timeout in ms for tuning */
101 struct usdhc_data *data = dev->data; in transfer_complete_cb()
104 data->transfer_status |= TRANSFER_DATA_FAILED; in transfer_complete_cb()
106 data->transfer_status |= TRANSFER_DATA_COMPLETE; in transfer_complete_cb()
108 data->transfer_status |= TRANSFER_CMD_FAILED; in transfer_complete_cb()
110 data->transfer_status |= TRANSFER_CMD_COMPLETE; in transfer_complete_cb()
112 k_sem_give(&data->transfer_sem); in transfer_complete_cb()
119 struct usdhc_data *data = dev->data; in sdio_interrupt_cb()
121 if (data->sdhc_cb) { in sdio_interrupt_cb()
[all …]
/Zephyr-latest/subsys/dap/
Dcmsis_dap.c2 * Copyright (c) 2018-2019 PHYTEC Messtechnik GmbH
5 * SPDX-License-Identifier: Apache-2.0
9 * This file is based on DAP.c from CMSIS-DAP Source (Revision: V2.0.0)
10 * https://github.com/ARM-software/CMSIS_5/tree/develop/CMSIS/DAP/Firmware
11 * Copyright (c) 2013-2017 ARM Limited. All rights reserved.
12 * SPDX-License-Identifier: Apache-2.0
51 MIN(CONFIG_CMSIS_DAP_PACKET_SIZE - 2, UINT8_MAX - 2),
54 MIN(CONFIG_CMSIS_DAP_PACKET_SIZE - 2, UINT8_MAX - 2),
57 MIN(CONFIG_CMSIS_DAP_PACKET_SIZE - 2, UINT8_MAX - 2),
60 MIN(CONFIG_CMSIS_DAP_PACKET_SIZE - 2, UINT8_MAX - 2),
[all …]
/Zephyr-latest/drivers/sensor/bosch/bmp180/
Dbmp180.c5 * SPDX-License-Identifier: Apache-2.0
8 * https://www.mouser.hk/datasheet/2/783/BST-BMP180-DS000-1509579.pdf
64 const struct bmp180_config *cfg = dev->config; in bmp180_bus_check()
66 return i2c_is_ready_dt(&cfg->i2c) ? 0 : -ENODEV; in bmp180_bus_check()
72 const struct bmp180_config *cfg = dev->config; in bmp180_reg_read()
74 return i2c_burst_read_dt(&cfg->i2c, start, buf, size); in bmp180_reg_read()
80 const struct bmp180_config *cfg = dev->config; in bmp180_reg_write()
82 return i2c_reg_write_byte_dt(&cfg->i2c, reg, val); in bmp180_reg_write()
89 struct bmp180_data *data = dev->data; in bmp180_attr_set_oversampling()
91 /* Value must be a positive value 0-3 */ in bmp180_attr_set_oversampling()
[all …]
/Zephyr-latest/subsys/bluetooth/host/
Dhci_core.h1 /* hci_core.h - Bluetooth HCI core access */
5 * Copyright (c) 2015-2016 Intel Corporation
7 * SPDX-License-Identifier: Apache-2.0
45 * - Explicit scanning, @ref BT_LE_SCAN_USER_EXPLICIT_SCAN.
46 * - The application instructed the stack to automatically connect if a given device
48 * - The application wants to connect to a peer device using private addresses, but
50 * host-based privacy and first scan for the device before it initiates a connection.
51 * - The application wants to synchronize to a periodic advertiser.
80 /* Total number of flags - must be at the end of the enum */
224 /** Periodic advertising interval (N * 1.25 ms) */
[all …]
/Zephyr-latest/subsys/bluetooth/controller/
DKconfig3 # Copyright (c) 2016-2017 Nordic Semiconductor ASA
4 # SPDX-License-Identifier: Apache-2.0
142 bool "Software-based BLE Link Layer"
171 compliant with FIPS PUB 140-2.
177 A Controller implementation could also provide custom bare-metal
194 FIPS-197 compliant cryptographic implementations. In this case the
203 User-defined string that will be returned by the Zephyr VS Read Build
204 Information command after the Zephyr version and build time. When
235 Set the number of Rx PDUs to be buffered in the controller. In a 7.5ms
246 controller. Number of required RX buffers would worst-case be
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
113 bool "Mesh-specific workqueue"
116 mesh-specific workqueue. This will ensure that messages are always sent.
117 The application needs to ensure the mesh-specific workqueue size is large
129 and the host ran out the HCI command buffers controlled by
130 CONFIG_BT_BUF_CMD_TX_COUNT, the host returns -ENOBUFS immediately
132 issue, make sure to have sufficient number of HCI command buffers.
187 greater than zero, this can noticeably delay transmission of
189 in a friendship, this option can delay transmission of local
237 bool "PB-ADV support"
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/
Dbap.rst9 - Capabilities and Endpoint discovery
10 - Audio Stream Endpoint procedures
15 .. code-block:: console
17 bap --help
58 [lang <ISO 639-3 lang>]
74 .. csv-table:: State Machine Transitions
75 :header: "Command", "Depends", "Allowed States", "Next States"
80 "config","discover","idle/codec-configured/qos-configured","codec-configured"
81 "qos","config","codec-configured/qos-configured","qos-configured"
82 "enable","qos","qos-configured","enabling"
[all …]
/Zephyr-latest/samples/drivers/i2s/echo/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
27 /* Such block length provides an echo with the delay of 100 ms. */
77 printk("%s is not ready\n", sw0_spec.port->name); in init_buttons()
84 sw0_spec.port->name, sw0_spec.pin, ret); in init_buttons()
92 sw0_spec.port->name, sw0_spec.pin, ret); in init_buttons()
98 printk("Press \"%s\" to toggle the echo effect\n", sw0_spec.port->name); in init_buttons()
105 printk("%s is not ready\n", sw1_spec.port->name); in init_buttons()
112 sw1_spec.port->name, sw1_spec.pin, ret); in init_buttons()
120 sw1_spec.port->name, sw1_spec.pin, ret); in init_buttons()
126 printk("Press \"%s\" to stop/restart I2S streams\n", sw1_spec.port->name); in init_buttons()
[all …]
/Zephyr-latest/samples/drivers/i2s/i2s_codec/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
25 /* Such block length provides an echo with the delay of 100 ms. */
54 printk("Failed to trigger command %d on TX: %d\n", cmd, ret); in trigger_command()
98 printk("%s is not ready", dmic_dev->name); in main()
104 printk("%s is not ready\n", i2s_dev_codec->name); in main()
110 printk("%s is not ready", codec_dev->name); in main()
/Zephyr-latest/include/zephyr/drivers/
Dsdhc.h4 * SPDX-License-Identifier: Apache-2.0
34 * @name SD command timeouts
37 #define SDHC_TIMEOUT_FOREVER (-1)
41 * @brief SD host controller command structure
43 * This command structure is used to send command requests to an SD
52 int timeout_ms; /*!< Command timeout in milliseconds */
61 * This command structure is used to send data transfer requests to an SD
113 * to the bus. Cards start with legacy timing, but UHS-II cards can go up to
169 unsigned int bus_8_bit_support: 1; /**< 8-bit Support for embedded device */
179 unsigned int address_64_bit_support_v4: 1; /**< 64-bit system address support for V4 */
[all …]
/Zephyr-latest/subsys/sd/
Dsd_ops.c4 * SPDX-License-Identifier: Apache-2.0
27 if (!card->host_props.is_spi) { in sdmmc_read_status()
28 cmd.arg = (card->relative_addr << 16U); in sdmmc_read_status()
34 ret = sdhc_request(card->sdhc, &cmd, NULL); in sdmmc_read_status()
38 if (card->host_props.is_spi) { in sdmmc_read_status()
42 return -EACCES; in sdmmc_read_status()
46 return -EINVAL; in sdmmc_read_status()
50 return -EIO; in sdmmc_read_status()
61 return -EBUSY; in sdmmc_read_status()
70 if (!sdhc_card_busy(card->sdhc)) { in sdmmc_wait_ready()
[all …]
/Zephyr-latest/include/zephyr/tracing/
Dtracing.h4 * SPDX-License-Identifier: Apache-2.0
27 * inner-working of the kernel and various other subsystems.
114 * @param ms Duration in milliseconds
116 #define sys_port_trace_k_thread_msleep_enter(ms) argument
120 * @param ms Duration in milliseconds
123 #define sys_port_trace_k_thread_msleep_exit(ms, ret) argument
496 * @param delay Delay period
498 #define sys_port_trace_k_work_schedule_for_queue_enter(queue, dwork, delay) argument
504 * @param delay Delay period
507 #define sys_port_trace_k_work_schedule_for_queue_exit(queue, dwork, delay, ret) argument
[all …]

123