Home
last modified time | relevance | path

Searched +full:requirements +full:- +full:dev (Results 1 – 25 of 92) sorted by relevance

1234

/Zephyr-latest/subsys/usb/usb_c/
Dusbc_tc_src_states.c4 * SPDX-License-Identifier: Apache-2.0
20 * Requirements:
38 const struct device *dev = tc->dev; in tc_unattached_src_run() local
47 if (tcpc_is_cc_at_least_one_rd(tc->cc1, tc->cc2)) { in tc_unattached_src_run()
48 tc_set_state(dev, TC_ATTACH_WAIT_SRC_STATE); in tc_unattached_src_run()
58 * Requirements:
74 const struct device *dev = tc->dev; in tc_unattached_wait_src_entry() local
75 struct usbc_port_data *data = dev->data; in tc_unattached_wait_src_entry()
76 const struct device *tcpc = data->tcpc; in tc_unattached_wait_src_entry()
84 usbc_timer_start(&tc->tc_t_vconn_off); in tc_unattached_wait_src_entry()
[all …]
/Zephyr-latest/include/zephyr/drivers/
Dentropy.h11 * SPDX-License-Identifier: Apache-2.0
34 /** @brief Driver is allowed to busy-wait for random data to be ready */
41 * @note This call has to be thread safe to satisfy requirements
46 typedef int (*entropy_get_entropy_t)(const struct device *dev,
55 typedef int (*entropy_get_entropy_isr_t)(const struct device *dev,
74 * @param dev Pointer to the entropy device.
78 * @retval -ERRNO errno code on error.
80 __syscall int entropy_get_entropy(const struct device *dev,
84 static inline int z_impl_entropy_get_entropy(const struct device *dev, in z_impl_entropy_get_entropy() argument
89 (const struct entropy_driver_api *)dev->api; in z_impl_entropy_get_entropy()
[all …]
/Zephyr-latest/samples/subsys/usb/console-next/
DREADME.rst1 .. zephyr:code-sample:: usbd-cdc-acm-console
3 :relevant-api: usbd_api uart_interface
13 Requirements chapter
24 .. zephyr-app-commands::
25 :zephyr-app: samples/subsys/usb/console-next
32 from the sample, use a command similar to :command:`minicom -D /dev/ttyACM1`.
34 .. code-block:: console
/Zephyr-latest/samples/sensor/max17262/
DREADME.rst1 .. zephyr:code-sample:: max17262
3 :relevant-api: sensor_interface
14 Requirements chapter
17 The MAX17262 is an ultra-low power fuel-gauge IC which implements the Maxim
18 ModelGauge m5 algorithm. The IC monitors a single-cell battery pack and
34 .. zephyr-app-commands::
35 :zephyr-app: samples/sensor/max17262
43 This example uses ``picocom`` on the serial port ``/dev/ttyUSB0``:
45 .. code-block:: console
47 $ sudo picocom -D /dev/ttyUSB0
[all …]
/Zephyr-latest/samples/subsys/usb/console/
DREADME.rst1 .. zephyr:code-sample:: usb-cdc-acm-console
3 :relevant-api: _usb_device_core_api usbd_api
13 Requirements chapter
24 .. zephyr-app-commands::
25 :zephyr-app: samples/subsys/usb/console
32 from the sample, use a command similar to :command:`minicom -D /dev/ttyACM0`.
34 .. code-block:: console
/Zephyr-latest/include/zephyr/drivers/sensor/
Dccs811.h4 * SPDX-License-Identifier: Apache-2.0
11 * Some capabilities and operational requirements for this sensor
49 /** Equivalent carbon dioxide in parts-per-million volume (ppmv). */
54 * parts-per-billion volume.
79 * @param dev Pointer to the sensor device
83 const struct ccs811_result_type *ccs811_result(const struct device *dev);
101 * @param dev Pointer to the sensor device
107 int ccs811_configver_fetch(const struct device *dev,
119 * @param dev Pointer to the sensor device
121 * @return a non-negative 16-bit register value, or a negative errno
[all …]
/Zephyr-latest/samples/boards/st/sensortile_box_pro/sensors-on-board/
DREADME.rst1 .. zephyr:code-sample:: sensortile_box_pro_sensors
15 - LPS22DF: ambient temperature and atmospheric pressure
16 - LSM6DSV16X: 6-Axis acceleration and angular velocity
17 - LIS2DU12: 3-Axis acceleration
19 Requirements chapter
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/quicklogic/qomu/
DREADME.rst6 This sample demonstrates how to load bitstream on EOS-S3 FPGA and use the
9 Requirements section in Zephyr usbserial driver on Qomu
12 * `QuickLogic Qomu board <https://www.quicklogic.com/products/eos-s3/quickfeather-development-kit/>…
17 .. zephyr-app-commands::
18 :zephyr-app: samples/boards/quicklogic/qomu
19 :host-os: unix
27 …mple into Qomu you can use `TinyFPGA-Programmer-Application <https://github.com/QuickLogic-Corp/Ti…
29 .. code-block:: console
31 …n3 /PATH/TO/BASE/DIR/TinyFPGA-Programmer-Application/tinyfpga-programmer-gui.py --mode m4 --m4app …
33 See `Qomu User Guide <https://github.com/QuickLogic-Corp/qomu-dev-board/blob/662f8841bdc1ed35c1539a…
[all …]
/Zephyr-latest/doc/develop/api/
Ddesign_guidelines.rst19 would be ``const struct device *dev``. For library functions it may be a
42 * The requirements of :c:type:`k_timer_expiry_t` invoked when a system
53 * The requirements of :c:type:`counter_alarm_callback_t` invoked when a
56 void handle_alarm(const struct device *dev,
63 counter channel timed-out and the counter value at which the timeout
92 the unsupported API will result in a link-time error.
99 other content the feature-specific code should be conditionally
114 - APIs that are supported but not implemented shall return ``-ENOSYS``.
116 - Optional APIs that are not supported by the hardware should be implemented and
117 the return code in this case shall be ``-ENOTSUP``.
[all …]
/Zephyr-latest/samples/drivers/uart/native_tty/
DREADME.rst1 .. zephyr:code-sample:: uart-native-tty
3 :relevant-api: uart_interface
5 Use native TTY driver to send and receive data between two UART-to-USB bridge dongles.
21 Requirements chapter
28 ``/dev/ttyUSB0`` and ``/dev/ttyUSB1`` in the system. You can check what they
29 are in your system by running the command ``ls -l /dev/tty*``. If that is not
30 the case on your machine you can either change the ``serial-port`` properties
32 ``-uart_port`` and ``-uart_port2``.
39 .. zephyr-app-commands::
40 :zephyr-app: samples/drivers/uart/native_tty
[all …]
/Zephyr-latest/doc/services/serialization/
Dnanopb.rst7 `Protocol Buffers <https://protobuf.dev/>`_.
9 Requirements section in Nanopb
17 .. group-tab:: Ubuntu
21 .. code-block:: shell
23 sudo apt install protobuf-compiler
25 .. group-tab:: macOS
29 .. code-block:: shell
33 .. group-tab:: Windows
37 .. code-block:: shell
44 .. code-block:: shell
[all …]
/Zephyr-latest/samples/sensor/tmp116/
DREADME.rst13 Requirements section in TI_TMP116 Sample
29 * Breakout **GND** pin <--> Nucleo **GND** pin
30 * Breakout **VCC** pin <--> Nucleo **3V3** pin
31 * Breakout **SDA** pin <--> Nucleo **CN5-D14** pin
32 * Breakout **SCL** pin <--> Nucleo **CN5-D15** pin
40 .. zephyr-app-commands::
41 :zephyr-app: samples/sensor/tmp116
49 to the computer and open /dev/ttyACM0 with the below serial settings:
58 .. code-block:: console
60 Device TMP116 - 0x200010a8 is ready
/Zephyr-latest/samples/boards/st/steval_stwinbx1/sensors/
DREADME.rst1 .. zephyr:code-sample:: stwinbx1_sensors
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
22 Requirements chapter
31 - :zephyr:board:`steval_stwinbx1`
38 .. zephyr-app-commands::
[all …]
/Zephyr-latest/samples/net/ipv4_autoconf/
DREADME.rst1 .. zephyr:code-sample:: ipv4-autoconf
3 :relevant-api: networking net_if net_context net_mgmt
5 Perform IPv4 autoconfiguration and self-assign a random IPv4 address
10 This sample application starts a IPv4 autoconf and self-assigns
15 Requirements chapter
18 - :ref:`networking_with_host`
27 Connect ethernet cable from a :zephyr:board:`Freedom-K64F board <frdm_k64f>` to a Linux
35 .. code-block:: console
37 $ avahi-autoipd --force-bind -D eth0
46 .. zephyr-app-commands::
[all …]
/Zephyr-latest/samples/drivers/fpga/fpga_controller/
DREADME.rst1 .. zephyr:code-sample:: fpga-controller
12 Requirements chapter
25 .. zephyr-app-commands::
26 :zephyr-app: samples/drivers/fpga/fpga_controller
27 :host-os: unix
35 .. zephyr-app-commands::
36 :zephyr-app: samples/drivers/fpga/fpga_controller
37 :host-os: unix
56 .. code-block:: console
70 .. code-block:: console
[all …]
/Zephyr-latest/doc/develop/getting_started/
Dinstallation_linux.rst14 requirements and dependencies may not be met by your package manager. In that
32 .. group-tab:: Ubuntu
34 .. code-block:: console
36 sudo apt-get update
37 sudo apt-get upgrade
39 .. group-tab:: Fedora
41 .. code-block:: console
45 .. group-tab:: Clear Linux
47 .. code-block:: console
51 .. group-tab:: Arch Linux
[all …]
/Zephyr-latest/include/zephyr/drivers/pcie/endpoint/
Dpcie_ep.h8 * SPDX-License-Identifier: Apache-2.0
23 PCIE_OB_LOWMEM, /**< PCIe OB window within 32-bit address range */
24 PCIE_OB_HIGHMEM, /**< PCIe OB window above 32-bit address range */
50 * interrupt-safe APIS. Registration of callbacks is done via
60 int (*conf_read)(const struct device *dev, uint32_t offset,
62 void (*conf_write)(const struct device *dev, uint32_t offset,
64 int (*map_addr)(const struct device *dev, uint64_t pcie_addr,
67 void (*unmap_addr)(const struct device *dev, uint64_t mapped_addr);
68 int (*raise_irq)(const struct device *dev,
71 int (*register_reset_cb)(const struct device *dev,
[all …]
/Zephyr-latest/drivers/fpga/
Dfpga_ice40_bitbang.c5 * SPDX-License-Identifier: Apache-2.0
30 * restore the default pinctrl settings. On some higher-end microcontrollers
32 * timing requirements.
34 * However, on lower-end microcontrollers, the amount of time that elapses
35 * between SPI transfers does break the iCE40 timing requirements. That
36 * leaves us with the bitbanging option. Of course, on lower-end
40 * in order to bitbang on lower-end microcontrollers, we actually require
61 * lattice,ice40-fpga.yaml for details.
65 for (; n > 0; --n) { in fpga_ice40_delay()
73 for (; n > 0; --n) { in fpga_ice40_send_clocks()
[all …]
/Zephyr-latest/samples/boards/96boards/argonkey/microphone/
DREADME.rst1 .. zephyr:code-sample:: argonkey_microphone
3 :relevant-api: audio_interface
5 Acquire audio through the ArgonKey's on-board MP34DT05 microphone.
10 the on-board MP34DT05 microphone. The microphone generates a PDM
15 Requirements chapter
22 - mezzanine mode, plugging the ArgonKey to HiKey board through its 96Board
23 low-speed connector
24 - standalone mode, supplying 5V directly on P1 connector
29 - :ref:`96b_argonkey`
34 .. zephyr-app-commands::
[all …]
/Zephyr-latest/samples/net/telnet/
DREADME.rst1 .. zephyr:code-sample:: telnet-console
3 :relevant-api: shell_api net_core net_if net_mgmt
16 Requirements chapter
19 - :ref:`networking_with_qemu`
35 .. zephyr-app-commands::
36 :zephyr-app: samples/net/telnet
37 :host-os: unix
44 .. code-block:: console
53 .. code-block:: console
65 Freedom-K64F Board
[all …]
/Zephyr-latest/boards/wemos/esp32s2_lolin_mini/doc/
Dindex.rst6 ESP32-S2 is a highly integrated, low-power, single-core Wi-Fi Microcontroller SoC, designed to be s…
7 cost-effective, with a high performance and a rich set of IO capabilities. [1]_
11 - RSA-3072-based secure boot
12 - AES-XTS-256-based flash encryption
13 - Protected private key and device secrets from software access
14 - Cryptographic accelerators for enhanced performance
15 - Protection against physical fault injection attacks
16 - Various peripherals:
18 - 43x programmable GPIOs
19 - 14x configurable capacitive touch GPIOs
[all …]
/Zephyr-latest/samples/net/wpan_serial/
DREADME.rst1 .. zephyr:code-sample:: wpan-serial
2 :name: 802.15.4 "serial-radio"
3 :relevant-api: ieee802154 uart_interface
5 Implement a slip-radio device for Contiki-based border routers.
11 controller as a "serial-radio" device for Contiki-based border routers.
13 Requirements chapter
18 using overlays, or by using an SoC with a built-in radio, such as a kw41z,
28 .. code-block:: console
36 - :file:`prj.conf`
42 .. zephyr-app-commands::
[all …]
/Zephyr-latest/samples/boards/st/sensortile_box/
DREADME.rst1 .. zephyr:code-sample:: sensortile_box_sensors
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
21 Requirements chapter
30 - :zephyr:board:`sensortile_box`
37 .. zephyr-app-commands::
38 :zephyr-app: samples/boards/st/sensortile_box
[all …]
/Zephyr-latest/doc/contribute/
Dcontributor_expectations.rst1 .. _contributor-expectations:
10 - Reviewed more quickly and reviewed more thoroughly. It's easier for reviewers
14 - Less wasted work if reviewers or maintainers reject the direction of the
17 - Easier to rebase and merge. Smaller PRs are less likely to conflict with other
20 - Easier to revert if the PR breaks functionality.
32 - Smaller PRs should encompass one self-contained logical change.
34 - When adding a new large feature or API, the PR should address only one part of
38 - PRs should include tests or samples under the following conditions:
40 - Adding new features or functionality.
42 - Modifying a feature, especially for API behavior contract changes.
[all …]
/Zephyr-latest/samples/subsys/usb/cdc_acm/
DREADME.rst1 .. zephyr:code-sample:: usb-cdc-acm
2 :name: USB CDC-ACM
3 :relevant-api: usbd_api _usb_device_core_api uart_interface
5 Use USB CDC-ACM driver to implement a serial port echo.
17 Requirements chapter
32 .. zephyr-app-commands::
33 :zephyr-app: samples/subsys/usb/cdc_acm
44 .. code-block:: console
46 usb 9-1: new full-speed USB device number 112 using uhci_hcd
47 usb 9-1: New USB device found, idVendor=8086, idProduct=f8a1
[all …]

1234