Home
last modified time | relevance | path

Searched refs:code (Results 51 – 75 of 2837) sorted by relevance

12345678910>>...114

/Zephyr-latest/include/zephyr/dt-bindings/input/
Dkeymap.h10 #define MATRIX_KEY(row, col, code) \ argument
11 ((((row) & 0xff) << 24) | (((col) & 0xff) << 16) | ((code) & 0xffff))
/Zephyr-latest/boards/nordic/nrf54l09pdk/
Dnrf54l09pdk_nrf54l09-common.dtsi27 zephyr,code = <INPUT_KEY_0>;
32 zephyr,code = <INPUT_KEY_1>;
37 zephyr,code = <INPUT_KEY_2>;
42 zephyr,code = <INPUT_KEY_3>;
/Zephyr-latest/samples/net/ptp/
DREADME.rst1 .. zephyr:code-sample:: ptp
12 The source code for this sample application can be found at:
48 .. code-block:: console
50 git clone git://git.code.sf.net/p/linuxptp/code
54 .. code-block:: console
68 .. code-block:: console
/Zephyr-latest/samples/subsys/modbus/tcp_server/
DREADME.rst1 .. zephyr:code-sample:: modbus-tcp-server
43 .. code-block:: console
50 .. code-block:: console
57 .. code-block:: console
66 .. code-block:: console
72 .. code-block:: console
94 .. code-block:: console
100 .. code-block:: console
106 .. code-block:: console
/Zephyr-latest/samples/subsys/display/cfb_shell/
DREADME.rst1 .. zephyr:code-sample:: cfb-shell-sample
26 .. code-block:: console
47 .. code-block:: console
57 .. code-block:: console
68 .. code-block:: console
82 .. code-block:: console
94 .. code-block:: console
103 .. code-block:: console
115 .. code-block:: console
130 .. code-block:: console
[all …]
/Zephyr-latest/samples/shields/npm6001_ek/doc/
Dindex.rst1 .. zephyr:code-sample:: npm6001_ek
52 .. code-block:: bash
63 .. code-block:: bash
73 .. code-block:: bash
80 .. code-block:: bash
93 .. code-block:: bash
100 .. code-block:: bash
106 .. code-block:: bash
120 .. code-block:: bash
137 .. code-block:: bash
[all …]
/Zephyr-latest/doc/contribute/
Dexternal.rst6 In some cases it is desirable to leverage existing, external source code in
10 This section describes the circumstances under which external source code can be
20 code analysis, testing or simulation please refer to the
28 External source code licensed under the Apache-2.0 license is not subject to
31 Integrating code into the Zephyr Project from other projects that use a license
48 for contributed code, we ensure that the Zephyr community can develop products
54 Just like with any other regular contribution, one that contains external code
55 needs to be evaluated for merit. However, in the particular case of code that
59 Committee and evaluated carefully before the external source code is accepted
66 important for source code that deals with security or cryptography.
[all …]
/Zephyr-latest/drivers/input/
Dlinux_evdev.c70 uint16_t code; in linux_evdev_thread_fn() local
75 ret = linux_evdev_read(linux_evdev_fd, &type, &code, &value); in linux_evdev_thread_fn()
84 LOG_DBG("evdev event: type=%d code=%d val=%d", type, code, value); in linux_evdev_thread_fn()
91 input_report(dev, type, code, value, false, K_FOREVER); in linux_evdev_thread_fn()
/Zephyr-latest/samples/subsys/modbus/tcp_gateway/
DREADME.rst1 .. zephyr:code-sample:: modbus-gateway
21 :zephyr:code-sample:`modbus-rtu-server` sample. Client is running on a PC or laptop.
47 .. code-block:: console
54 .. code-block:: console
61 .. code-block:: console
70 .. code-block:: console
76 .. code-block:: console
98 .. code-block:: console
104 .. code-block:: console
110 .. code-block:: console
/Zephyr-latest/samples/net/sockets/echo/
DREADME.rst1 .. zephyr:code-sample:: sockets-echo
16 The source code for this sample application can be found at:
39 .. code-block:: console
51 The same application source code can be built for a POSIX system, e.g.
52 Linux. (Note: if you look at the source, you will see that the code is
57 .. code-block:: console
63 .. code-block:: console
69 .. code-block:: console
/Zephyr-latest/samples/posix/env/
DREADME.rst1 .. zephyr:code-sample:: posix-env
32 .. code-block:: console
44 The C code that is part of this sample application displays the value associated with the
47 .. code-block:: console
60 .. code-block:: console
68 .. code-block:: console
80 .. code-block:: console
/Zephyr-latest/doc/services/device_mgmt/
Dmcumgr_callbacks.rst10 (and module) code to receive callbacks for MCUmgr events that they are
11 interested in and react to them or return a status code to the calling function
26 registration and notification system into the code. This will not provide any
36 application code as per:
38 .. code-block:: c
54 /* Return OK status code to continue with acceptance to underlying handler */
65 This code registers a handler for the :c:enumerator:`MGMT_EVT_OP_CMD_DONE`
85 .. code-block:: c
93 The following code is not allowed, and will cause undefined operation, because
97 .. code-block:: c
[all …]
/Zephyr-latest/boards/st/stm32f072_eval/
Dstm32f072_eval.dts48 zephyr,code = <INPUT_KEY_0>;
53 zephyr,code = <INPUT_KEY_ENTER>;
58 zephyr,code = <INPUT_KEY_DOWN>;
63 zephyr,code = <INPUT_KEY_UP>;
68 zephyr,code = <INPUT_KEY_LEFT>;
73 zephyr,code = <INPUT_KEY_RIGHT>;
/Zephyr-latest/samples/subsys/demand_paging/
DREADME.rst1 .. zephyr:code-sample:: demand-paging
5 Leverage demand paging to deal with code bigger than available RAM.
11 firmware bigger than the available RAM if XIP is not possible. Select code
13 evicted for more code to be executed when memory is exhausted.
38 .. code-block:: console
41 Calling huge body of code that doesn't fit in memory
/Zephyr-latest/doc/develop/test/
Dcoverage.rst6 With Zephyr, you can generate code coverage reports to analyze which parts of
7 the code are covered by a given test or application.
22 for your programs, helping you create more efficient, faster running code and
23 discovering untested code paths
34 code coverage with gcov is a function of RAM available. Therefore ensure that the
44 Steps to generate code coverage reports
49 1. Build the code with CONFIG_COVERAGE=y.
61 .. code-block:: console
67 .. code-block:: console
74 .. code-block:: console
[all …]
/Zephyr-latest/tests/subsys/input/double_tap/src/
Dmain.c25 TC_PRINT("%s: %d %x %d\n", __func__, event_count, evt->code, evt->value); in test_cb()
55 zassert_equal(last_events[1].code, INPUT_KEY_X); in ZTEST()
58 zassert_equal(last_events[0].code, INPUT_KEY_X); in ZTEST()
71 zassert_equal(last_events[1].code, INPUT_KEY_Y); in ZTEST()
74 zassert_equal(last_events[0].code, INPUT_KEY_Y); in ZTEST()
/Zephyr-latest/samples/posix/philosophers/
DREADME.rst1 .. zephyr:code-sample:: posix-philosophers
9 This sample implements Zephyr's :zephyr:code-sample:`dining-philosophers` sample using the
10 :ref:`POSIX API <posix_support>`. The source code for this sample can be found under
28 .. code-block:: console
55 For additional information, please refer to the :zephyr:code-sample:`dining-philosophers` sample.
/Zephyr-latest/doc/connectivity/bluetooth/
Dbluetooth-shell.rst41 .. code-block:: console
47 The first step is enabling Bluetooth. To do so, use the :code:`bt init` command. The following
50 .. code-block:: console
71 that is compiled in. To configure, use the :code:`log` command. Here are some examples:
75 .. code-block:: console
81 .. code-block:: console
87 .. code-block:: console
93 .. code-block:: console
99 .. code-block:: console
/Zephyr-latest/subsys/net/l2/ppp/
Dppp_internal.h25 uint8_t code; member
65 uint8_t code; member
74 .code = _code, \
163 int (*parse)(struct net_pkt *pkt, uint8_t code,
179 uint8_t code; member
189 .code = _code, \
209 uint32_t ppp_my_option_flags(struct ppp_fsm *fsm, uint8_t code);
212 uint8_t code) in ppp_my_option_is_acked() argument
214 return ppp_my_option_flags(fsm, code) & PPP_MY_OPTION_ACKED; in ppp_my_option_is_acked()
/Zephyr-latest/doc/services/device_mgmt/smp_groups/
Dsmp_group_10.rst60 .. code-block:: none
72 .. code-block:: none
83 .. code-block:: none
97 | "err" -> "group" | :c:enum:`mcumgr_group_t` group of the group-based error code. Only |
100 | "err" -> "rc" | contains the index of the group-based error code. Only appears if |
145 .. code-block:: none
160 .. code-block:: none
171 .. code-block:: none
185 | "err" -> "group" | :c:enum:`mcumgr_group_t` group of the group-based error code. Only |
188 | "err" -> "rc" | contains the index of the group-based error code. Only appears if |
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/
Dcsip.rst19 :code:`BT_MAX_CONN` shall be at least 3.
23 set members, make sure that :code:`BT_MAX_PAIRED` is correctly configured.
28 When the Bluetooth stack has been initialized (:code:`bt init`),
30 initialized by calling :code:`csip_set_coordinator init`, which will start a discovery
43 .. code-block:: console
65 .. code-block:: console
75 .. code-block:: console
93 .. code-block:: console
105 .. code-block:: console
126 .. code-block:: console
[all …]
/Zephyr-latest/samples/userspace/
Dindex.rst1 .. zephyr:code-sample-category:: userspace
5 Samples that demonstrate how to run code in :ref:`usermode_api`.
/Zephyr-latest/boards/hardkernel/odroid_go/
Dodroid_go_procpu.dts22 zephyr,code-partition = &slot0_partition;
40 zephyr,code = <INPUT_KEY_MENU>;
45 zephyr,code = <INPUT_KEY_0>;
50 zephyr,code = <INPUT_BTN_SELECT>;
55 zephyr,code = <INPUT_KEY_A>;
60 zephyr,code = <INPUT_KEY_B>;
65 zephyr,code = <INPUT_BTN_START>;
/Zephyr-latest/samples/boards/st/sensortile_box_pro/sensors-on-board/
DREADME.rst1 .. zephyr:code-sample:: sensortile_box_pro_sensors
46 .. code-block:: console
50 Replace :code:`<tty_device>` with the correct device path automatically created on
52 usually :code:`/dev/ttyUSBx` or :code:`/dev/ttyACMx` (with x being 0, 1, 2, ...).
58 The sample code outputs sensors data on the SensorTile.box Pro console.
60 .. code-block:: console
/Zephyr-latest/doc/develop/tools/
Dcoccinelle.rst49 .. code-block:: console
57 .. code-block:: console
102 which checks the code on a file basis.
109 .. code-block:: console
115 .. code-block:: console
120 sub-directories of ``scripts/coccinelle`` to the entire source code tree.
126 As any static code analyzer, Coccinelle produces false
131 .. code-block:: console
142 .. code-block:: console
168 .. code-block:: console
[all …]

12345678910>>...114