Home
last modified time | relevance | path

Searched refs:code (Results 26 – 50 of 2837) sorted by relevance

12345678910>>...114

/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/
Dbap.rst15 .. code-block:: console
28 [bcode <broadcast code> || bcode_str <broadcast code
97 .. code-block:: console
111 .. code-block:: console
126 .. code-block:: console
136 .. code-block:: console
144 .. code-block:: console
154 .. code-block:: console
162 .. code-block:: console
172 The command :code:`bap create_broadcast_sink` will either use existing periodic advertising
[all …]
Dcap.rst16 When the Bluetooth stack has been initialized (:code:`bt init`), the Acceptor can be registered by
17 calling :code:`cap_acceptor init`, which will register the CAS and CSIS services, as well as
20 .. code-block:: console
42 :code:`bt adv-data` or :code:`bt advertise` must be called again to set the new advertising data.
43 If :code:`CONFIG_BT_CSIP_SET_MEMBER_SIRK_NOTIFIABLE` is enabled, this will also notify connected
46 .. code-block:: console
56 .. code-block:: console
75 When the Bluetooth stack has been initialized (:code:`bt init`), the Initiator can discover CAS and
76 the optionally included CSIS instance by calling (:code:`cap_initiator discover`).
79 .. code-block:: console
[all …]
Dbap_broadcast_assistant.rst21 When the Bluetooth stack has been initialized (:code:`bt init`),
23 the connected device calling :code:`bap_broadcast_assistant discover`, which
27 .. code-block:: console
45 broadcast_code : Send a string-based broadcast code of up to 16 bytes
46 <src_id> <broadcast code>
56 .. code-block:: console
73 .. code-block:: console
84 .. code-block:: console
94 .. code-block:: console
112 .. code-block:: console
[all …]
/Zephyr-latest/samples/subsys/usb/hid-mouse/
DREADME.rst1 .. zephyr:code-sample:: usb-hid-mouse
38 .. code-block:: none
58 .. code-block:: console
76 .. code-block:: console
85 Event code 272 (BTN_LEFT)
86 Event code 273 (BTN_RIGHT)
87 Event code 274 (BTN_MIDDLE)
89 Event code 0 (REL_X)
90 Event code 1 (REL_Y)
91 Event code 8 (REL_WHEEL)
[all …]
/Zephyr-latest/boards/adafruit/feather_m4_express/doc/
Dindex.rst29 To use the RTC, set :code:`CONFIG_CORTEX_M_SYSTICK=n` and set
30 :code:`CONFIG_SYS_CLOCK_TICKS_PER_SEC` to no more than 32 kHZ divided by 7,
61 The SAMD51 has three PWM generators with up to six channels each. :code:`TCC_0`
62 has a resolution of 24 bits and all other generators are 16 bit. :code:`TCC_1`
70 more, such as the :zephyr:code-sample:`usb-cdc-acm` sample which sets up a virtual
80 bootloader will be entered automatically when you run :code:`west flash`.
85 #. Build the Zephyr kernel and the :zephyr:code-sample:`hello_world` sample application:
100 terminal should be :code:`/dev/ttyUSB0`. For example:
102 .. code-block:: console
132 #. Connect the board to the probe by connecting the :code:`SWCLK`,
[all …]
/Zephyr-latest/doc/contribute/style/
Dcode.rst6 Coding style is enforced on any new or modified code, but contributors are
7 not expected to correct the style on existing code that they are not
12 the style of existing code in the tree, with higher importance given to
13 "nearby" code (first look at the function, then the same file, then
19 * Use `snake case`_ for code and variables.
23 ``switch`` body, even for single-line code blocks.
29 * Avoid using non-ASCII symbols in code, unless it significantly improves
31 * Use proper capitalization of nouns in code comments (e.g. ``UART`` and not
Dcmake.rst20 .. code-block:: cmake
39 .. code-block:: cmake
50 .. code-block:: cmake
68 .. code-block:: cmake
76 .. code-block:: cmake
83 .. code-block:: cmake
94 .. code-block:: cmake
105 .. code-block:: cmake
115 .. code-block:: cmake
125 .. code-block:: cmake
[all …]
/Zephyr-latest/samples/application_development/code_relocation_nocopy/
DREADME.rst1 .. zephyr:code-sample:: code_relocation_nocopy
4 Relocate code, data, or bss sections using a custom linker script.
8 A simple example that demonstrates how relocation of code, data or bss sections
11 Differently from the code relocation sample, this sample is relocating the
12 content of the ext_code.c file to a different FLASH section and the code is XIP
13 directly from there without the need to copy / relocate the code. All other code
57 .. code-block:: console
/Zephyr-latest/cmake/modules/
DFindDeprecated.cmake5 # FindDeprecated module provides a single location for deprecated CMake build code.
6 # Whenever CMake code is deprecated it should be moved to this module and
7 # corresponding COMPONENTS should be created with name identifying the deprecated code.
9 # This makes it easier to maintain deprecated code and cleanup such code when it
13 # CMakeList.txt contains deprecated code, like:
18 # such code can easily be around for a long time, so therefore such code should
22 # # This code has been deprecated after Zephyr x.y
28 # and then in the original CMakeLists.txt, this code is inserted instead:
42 # This code was deprecated after Zephyr v3.1.0
58 # This code was deprecated after Zephyr v3.2.0
[all …]
/Zephyr-latest/doc/services/device_mgmt/smp_groups/
Dsmp_group_9.rst42 .. code-block:: none
82 .. code-block:: none
95 .. code-block:: none
106 .. code-block:: none
120 | "ret" | return code from shell command execution. |
122 | "err" -> "group" | :c:enum:`mcumgr_group_t` group of the group-based error code. Only |
125 | "err" -> "rc" | contains the index of the group-based error code. Only appears if |
133 In older versions of Zephyr, "rc" was used for both the mcumgr status code
134 and shell command execution return code, this legacy behaviour can be
Dsmp_group_3.rst50 .. code-block:: none
84 .. code-block:: none
97 .. code-block:: none
108 .. code-block:: none
128 | "err" -> "group" | :c:enum:`mcumgr_group_t` group of the group-based error code. Only |
131 | "err" -> "rc" | contains the index of the group-based error code. Only appears if |
154 .. code-block:: none
193 .. code-block:: none
204 .. code-block:: none
216 | "err" -> "group" | :c:enum:`mcumgr_group_t` group of the group-based error code. Only |
[all …]
Dsmp_group_0.rst55 .. code-block:: none
88 .. code-block:: none
100 .. code-block:: none
111 .. code-block:: none
125 | "err" -> "group" | :c:enum:`mcumgr_group_t` group of the group-based error code. Only |
128 | "err" -> "rc" | contains the index of the group-based error code. Only appears if |
173 .. code-block:: none
198 .. code-block:: none
209 .. code-block:: none
241 | "err" -> "group" | :c:enum:`mcumgr_group_t` group of the group-based error code. Only |
[all …]
/Zephyr-latest/boards/snps/em_starterkit/
Dboard.dtsi69 zephyr,code = <INPUT_KEY_0>;
75 zephyr,code = <INPUT_KEY_1>;
81 zephyr,code = <INPUT_KEY_2>;
87 zephyr,code = <INPUT_KEY_3>;
93 zephyr,code = <INPUT_KEY_4>;
99 zephyr,code = <INPUT_KEY_5>;
105 zephyr,code = <INPUT_KEY_6>;
/Zephyr-latest/boards/intel/common/
Dnet_boot.rst10 .. code-block:: console
16 .. code-block:: console
24 .. code-block:: console
36 .. code-block:: console
43 .. code-block:: console
51 .. code-block:: console
76 .. code-block:: console
86 .. code-block:: console
/Zephyr-latest/samples/net/sockets/echo_async/
DREADME.rst1 .. zephyr:code-sample:: async-sockets-echo
13 the :zephyr:code-sample:`sockets-echo` sample. It's a more involved application,
17 The source code for this sample application can be found at:
40 .. code-block:: console
46 it. Unlike the above-mentioned :zephyr:code-sample:`sockets-echo` sample, this application
50 by changing ``NUM_FDS`` defined in the source code.
61 The same application source code can be built for a POSIX system, e.g.
62 Linux. (Note: if you look at the source, you will see that the code is
68 .. code-block:: console
74 .. code-block:: console
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/shell/host/
Dgatt.rst6 To perform service discovery on the client side, use the :code:`gatt discover` command. This should
9 On the server side, you can register pre-defined test services using the :code:`gatt register`
16 .. code-block:: console
21 The server can now notify the client with the command :code:`gatt notify`.
24 :code:`gatt exchange-mtu` command. To update the shell maximum MTU, you need to update Kconfig
26 :zephyr:code-sample:`bluetooth_mtu_update`.
/Zephyr-latest/doc/connectivity/networking/api/
Dnet_mgmt.rst14 layer code itself, to call defined network routines at any level in
16 example, by using these APIs, application code can request a scan be done on a
21 by eliminating code at build time for management routines that are not
53 pair of layer and code, whereas on the command part it will be a mask of
67 code. This makes it possible for different events to be handled by the
73 layer and layer code. A callback handler function **must** check
74 the event code (passed as an argument) against the specific network
83 layer code.)
87 .. code-block:: c
134 .. code-block:: c
[all …]
/Zephyr-latest/samples/subsys/shell/fs/
DREADME.rst1 .. zephyr:code-sample:: shell-fs
35 .. code-block:: console
53 .. code-block:: console
77 the :zephyr:code-sample:`littlefs` sample.
101 .. code-block:: console
110 .. code-block:: console
124 .. code-block:: console
130 .. code-block:: console
146 .. code-block:: console
155 .. code-block:: console
[all …]
/Zephyr-latest/samples/drivers/ethernet/eth_ivshmem/
DREADME.rst1 .. zephyr:code-sample:: eth-ivshmem
20 .. code-block:: console
29 .. code-block:: console
42 .. code-block:: console
61 .. code-block:: console
70 .. code-block:: console
79 .. code-block:: console
85 .. code-block:: console
96 .. code-block:: console
108 .. code-block:: console
[all …]
/Zephyr-latest/samples/sensor/tdk_apex/
DREADME.rst1 .. zephyr:code-sample:: tdk_apex
46 .. code-block:: devicetree
56 .. code-block:: devicetree
72 .. code-block:: devicetree
78 .. code-block:: console
89 .. code-block:: devicetree
95 .. code-block:: console
104 .. code-block:: devicetree
110 .. code-block:: console
121 .. code-block:: devicetree
[all …]
/Zephyr-latest/doc/services/debugging/
Dgdbstub.rst75 .. code-block:: bash
81 .. code-block:: bash
97 .. code-block:: console
125 .. code-block:: bash
131 .. code-block:: text
137 .. code-block:: text
144 .. code-block:: text
150 .. code-block:: text
156 GDB also shows where the code execution is stopped. In this case,
161 .. code-block:: text
[all …]
/Zephyr-latest/samples/net/mdns_responder/
DREADME.rst1 .. zephyr:code-sample:: mdns-responder
39 .. code-block:: console
45 .. code-block:: console
51 .. code-block:: console
57 .. code-block:: console
63 .. code-block:: console
69 .. code-block:: console
/Zephyr-latest/doc/develop/getting_started/
Dindex.rst11 - Get the source code
28 .. code-block:: bash
84 .. code-block:: bash
91 .. code-block:: bash
105 .. code-block:: bash
121 .. code-block:: bash
130 .. code-block:: bash
139 .. code-block:: bash
146 .. code-block:: bash
186 .. code-block:: bat
[all …]
/Zephyr-latest/doc/build/dts/
Dzephyr-user-node.rst14 This node is meant for sample code and user applications. It should not be
15 used in the upstream Zephyr source code for device drivers, subsystems, etc.
25 .. code-block:: devicetree
38 You can get the above property values in C/C++ code like this:
40 .. code-block:: C
60 .. code-block:: devicetree
72 .. code-block:: C
102 .. code-block:: devicetree
113 gpio_dt_spec`` in your source code, then use it like this:
115 .. code-block:: C
/Zephyr-latest/drivers/input/
Dlinux_evdev_bottom.c16 int linux_evdev_read(int fd, uint16_t *type, uint16_t *code, int32_t *value) in linux_evdev_read() argument
35 *code = ev.code; in linux_evdev_read()

12345678910>>...114