Home
last modified time | relevance | path

Searched full:it (Results 1 – 25 of 4864) sorted by relevance

12345678910>>...195

/Zephyr-latest/samples/sensor/veml6031/
DREADME.rst37 This project outputs sensor data to the console. It requires a VEML6031
51 Light (lux): 6179 ALS (raw): 7100 IR (raw): 27 it: 0 div4: 0 gain: 0 --
52 Light (lux): 1500 ALS (raw): 3447 IR (raw): 34 it: 0 div4: 0 gain: 1 --
53 Light (lux): 4664 ALS (raw): 3537 IR (raw): 17 it: 0 div4: 0 gain: 2 --
54 Light (lux): 5601 ALS (raw): 3218 IR (raw): 13 it: 0 div4: 0 gain: 3 --
55 Light (lux): 1302 ALS (raw): 374 IR (raw): 5 it: 0 div4: 1 gain: 0 --
56 Light (lux): 5584 ALS (raw): 3208 IR (raw): 11 it: 0 div4: 1 gain: 1 --
57 Light (lux): 5285 ALS (raw): 1002 IR (raw): 3 it: 0 div4: 1 gain: 2 --
58 Light (lux): 1455 ALS (raw): 209 IR (raw): 2 it: 0 div4: 1 gain: 3 --
59 Light (lux): 4925 ALS (raw): 11317 IR (raw): 50 it: 1 div4: 0 gain: 0 --
[all …]
/Zephyr-latest/lib/hash/
Dhash_map_cxx.cpp15 static void sys_hashmap_cxx_iter_next(struct sys_hashmap_iterator *it) in sys_hashmap_cxx_iter_next() argument
17 cxx_map *umap = static_cast<cxx_map *>(it->map->data->buckets); in sys_hashmap_cxx_iter_next()
21 __ASSERT(it->size == it->map->data->size, "Concurrent modification!"); in sys_hashmap_cxx_iter_next()
22 __ASSERT(sys_hashmap_iterator_has_next(it), "Attempt to access beyond current bound!"); in sys_hashmap_cxx_iter_next()
25 for (size_t i = 0; i < it->pos; ++i, it2++) in sys_hashmap_cxx_iter_next()
28 it->key = it2->first; in sys_hashmap_cxx_iter_next()
29 it->value = it2->second; in sys_hashmap_cxx_iter_next()
30 ++it->pos; in sys_hashmap_cxx_iter_next()
37 static void sys_hashmap_cxx_iter(const struct sys_hashmap *map, struct sys_hashmap_iterator *it) in sys_hashmap_cxx_iter() argument
39 it->map = map; in sys_hashmap_cxx_iter()
[all …]
/Zephyr-latest/tests/bluetooth/host/keys/mocks/
Dkeys_help_utils.c31 for (size_t it = 0; it < size; it++) { in fill_key_pool_by_id_addr() local
32 params_vector = &src[it]; in fill_key_pool_by_id_addr()
35 refs[it] = bt_keys_get_addr(id, addr); in fill_key_pool_by_id_addr()
36 if (refs[it] == NULL) { in fill_key_pool_by_id_addr()
37 printk("'%s' Failed to add key %d to the keys pool\n", __func__, it); in fill_key_pool_by_id_addr()
57 for (size_t it = 0; it < size; it++) { in fill_key_pool_by_id_addr_type() local
58 params_vector = &src[it]; in fill_key_pool_by_id_addr_type()
62 refs[it] = bt_keys_get_type(type, id, addr); in fill_key_pool_by_id_addr_type()
63 if (refs[it] == NULL) { in fill_key_pool_by_id_addr_type()
64 printk("'%s' Failed to add key %d to the keys pool\n", __func__, it); in fill_key_pool_by_id_addr_type()
/Zephyr-latest/include/zephyr/sys/
Dsys_io.h92 * This functions takes the designated bit starting from port and sets it to 1.
102 * This functions takes the designated bit starting from port and sets it to 0.
110 * @brief Test the bit from port if it is set or not
113 * current setting. It will return the current setting.
118 * @return 1 if it is set, 0 otherwise
123 * @brief Test the bit from port and set it
126 * current setting and sets it. It will return the previous setting.
131 * @return 1 if it was set, 0 otherwise
136 * @brief Test the bit from port and clear it
139 * current setting and clears it. It will return the previous setting.
[all …]
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_find_irk/src/
Dmain.c127 for (size_t it = 0; it < ARRAY_SIZE(returned_keys_refs); it++) { in rpa_resolving_ts_setup() local
128 returned_keys_refs[it]->irk.val[0] = it; in rpa_resolving_ts_setup()
190 for (size_t it = 0; it < ARRAY_SIZE(testing_id_addr_type_lut); it++) { in ZTEST() local
192 params_vector = &testing_id_addr_type_lut[it]; in ZTEST()
198 params_it = it; in ZTEST()
201 expected_key_ref = returned_keys_refs[it]; in ZTEST()
214 "bt_keys_find_irk() returned a NULL reference %d", it); in ZTEST()
224 "bt_keys_find_irk() returned a non-valid reference %d", it); in ZTEST()
244 for (size_t it = 0; it < ARRAY_SIZE(returned_keys_refs); it++) { in no_resolving_ts_setup() local
245 returned_keys_refs[it]->irk.val[0] = it; in no_resolving_ts_setup()
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/transport/include/mgmt/mcumgr/transport/
Dsmp_reassembly.h21 * Note: for efficiency there is no NULL check on @p smpt pointer and it is caller's responsibility
22 * to validate the pointer before passing it to this function.
29 * The function adds data to the end of current re-assembly buffer; it will allocate new buffer
39 * Note: For efficiency there are ot NULL checks on @p smpt and @p buf pointers and it is caller's
46 * CONFIG_MCUMGR_TRANSPORT_NETBUF_SIZE, which means there is no way to fit it in
61 * Note: for efficiency there is no NULL check on @p smpt pointer and it is caller's responsibility
62 * to validate the pointer before passing it to this function.
72 * Checks if the packet has enough data to be re-assembled and passes it for further processing.
76 * in which case it is users responsibility to use the user data, passed with the packet, to notify
82 * Note: for efficiency there is no NULL check on @p smpt pointer and it is caller's responsibility
[all …]
/Zephyr-latest/samples/boards/st/uart/circular_dma/
DREADME.rst5 Read data from the console and echo it back using a circular dma configuration.
11 It reads data from the console and echoes it back.
37 # when an unknown printer took a galley of type and scrambled it to make a type specimen book.
38 # It has survived not only five centuries, but also the leap into electronic typesetting,
39 # remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset
45 when an unknown printer took a galley of type and scrambled it to make a type specimen book.
46 It has survived not only five centuries, but also the leap into electronic typesetting,
47 remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset
/Zephyr-latest/cmake/modules/
DFindBabbleSim.cmake14 # We first try to find it via the environment variables BSIM_OUT_PATH and BSIM_COMPONENTS_PATH.
15 # If these are not set, as a fallback we attempt to find it through west, in case the user
49 and build it with\n\
64 # Let's check that it is new enough and built,
68 # Do NOT use it outside of this module. It uses variables internal to it
71 message(FATAL_ERROR "Please ensure you have the latest babblesim and rebuild it."
72 "If you got it from Zephyr's manifest, you can do:\n\
79 # Do NOT use it outside of this module. It uses variables internal to it
/Zephyr-latest/samples/sensor/veml6031/src/
Dmain.c19 static void read_with_attr(const struct device *dev, int it, int div4, int gain) in read_with_attr() argument
29 sen.val1 = it; in read_with_attr()
32 printf("Failed to set it attribute ret: %d\n", ret); in read_with_attr()
57 " it: %d div4: %d gain: %d -- %s\n", in read_with_attr()
58 light.val1, als_raw.val1, ir_raw.val1, it, div4, gain, in read_with_attr()
66 int it, div4, gain; in read_with_all_attr() local
68 for (it = VEML6031_IT_3_125; it <= VEML6031_IT_400; it++) { in read_with_all_attr()
71 read_with_attr(dev, it, div4, gain); in read_with_all_attr()
/Zephyr-latest/drivers/ieee802154/
DKconfig.cc252018 The default value should be sufficient, but in case it proves to be
19 a too little one, this option makes it easy to play with the size.
25 Set the initialization priority number. Do not mess with it unless
28 might need it too). And of course it has to start before the net stack.
82 Set the initialization priority number. Do not mess with it unless
83 you know what you are doing. It should be initialized after CC2520
84 as it shares the same runtime context.
DKconfig.rf2xx20 The default value should be sufficient, but in case it proves to be
21 a too little one, this option makes it easy to play with the size.
27 Set the initialization priority number. Do not mess with it unless
30 might need it too). And of course it has to start before the net stack.
/Zephyr-latest/doc/connectivity/networking/api/
Dnet_pkt.rst15 a means to hold the packet, write and read it, as well as necessary
19 The data structure and the whole API around it are defined in
44 Note, however, one will rarely have to use it, as the core provides
54 needs various metadata information to become relevant as well. It
55 requires at least to get the network interface it is meant to be sent
56 through or through which it was received. As this is a very common
78 :ref:`net_buf_interface` for more information). However, it mostly
94 once via :c:func:`net_pkt_alloc_with_buffer`. It is actually the most
140 :c:func:`net_pkt_alloc_buffer`, as it will take into account the
141 existing buffer. It will also account for the header space if
[all …]
/Zephyr-latest/doc/connectivity/networking/
Dnet_pkt_processing_stats.rst33 The TX time tells how long it took for network packet from its creation to
34 when it was sent to the network. The RX time tells the time from its creation
35 to when it was passed to the application. The values are in microseconds. The
53 The numbers inside the brackets contain information how many microseconds it
60 * Packet is about to be placed to transmit queue. The time it took from network
63 queue. It took **15** microseconds from previous state.
65 network packet. It took **23** microseconds from previous state.
66 * In total it took on average **60** microseconds to get the network packet
74 * Packet is about to be placed to receive queue. The time it took from network
77 queue. It took **6** microseconds from previous state.
[all …]
/Zephyr-latest/drivers/timer/
DKconfig.riscv_machine15 timer driver. It provides the standard "system clock driver" interfaces.
27 When N=2, it is divided by 4, and when N=5, it is divided by 32.
29 It is normal configuration for RISC-V machine clock.
33 and it is desirable usage that references it with using a function such as
/Zephyr-latest/tests/bsim/bluetooth/host/misc/sample_test/
Dprj.conf4 # If the test is a stress or robustness test, it is also a good idea to set the
18 # This is the object of the test. Commenting it out should make the test fail.
26 # the test will have a hard time understanding what the problem is if it's
38 # It is not strictly necessary, leave it disabled if you don't need it.
42 # If a debugger is connected to the app, it will automatically be stopped.
46 # It's OK to leave useful debug options commented out, with a short comment
/Zephyr-latest/include/zephyr/logging/
Dlog_backend_net.h20 * @details This function allows the user to set an IPv4 or IPv6 address at runtime. It can be
21 * called either before or after the backend has been initialized. If it gets called when
22 * the net logger backend context is running, it'll release it and create another one with
34 * @details This function allows the user to set an IPv4 or IPv6 address at runtime. It can be
35 * called either before or after the backend has been initialized. If it gets called when
36 * the net logger backend context is running, it'll release it and create another one with
48 * @details This function allows to update the hostname displayed by the logging backend. It will be
/Zephyr-latest/samples/subsys/usb/common/
Dsample_usbd.h15 * new experimental USB device stack, you should not use it in your own
21 * USB device. It configures sample's device context, default string descriptors,
23 * finally initializes USB device. It is limited to a single device with a
27 * It returns the configured and initialized USB device context on success,
28 * otherwise it returns NULL.
34 * initialize the device. It allows the application to set additional features,
/Zephyr-latest/drivers/espi/
DKconfig.espi_emul11 it does not talk to real hardware. Instead it talks to emulation
12 drivers that pretend to be devices on the emulated eSPI bus. It is
16 number of required pins. It includes the functionality of LPC, SMB, SPI
18 specification for more details (it is good for the introduction as well)
/Zephyr-latest/samples/subsys/nvs/src/
Dmain.c7 * and writing data it also shows how data can be deleted from flash.
20 * Every reboot increases the values of the reboot_counter and updates it in
27 * basic nvs_read() function as it has been deleted. It is possible to read the
96 * read it from flash, since we don't know the size read the in main()
100 if (rc > 0) { /* item was found, show it */ in main()
102 } else {/* item was not found, add it */ in main()
108 /* KEY_ID is used to store a key, lets see if we can read it from flash in main()
111 if (rc > 0) { /* item was found, show it */ in main()
117 } else {/* item was not found, add it */ in main()
118 printk("No key found, adding it at id %d\n", KEY_ID); in main()
[all …]
/Zephyr-latest/soc/nordic/nrf53/
Dnrf53_cpunet_mgmt.h19 * This function shall be used to control the network CPU exclusively. Internally, it keeps track of
20 * the requests to enable or disable nRF53 network CPU. It guarantees to enable the network CPU if
21 * at least one user requests it and to keep it enabled until all users release it.
/Zephyr-latest/arch/xtensa/core/
DREADME_WINDOWS.rst33 There is an ENTRY instruction that does the rotation. It adds CALLINC
36 immediate offset from it to make space for the new frame.
38 There is a RETW instruction that undoes the rotation. It reads the
44 return value format and is used immediately, so it makes more sense
45 for it to use processor state instead.
51 WINDOWSTART stores a bitmask with one bit per hardware quad (so it's 8
56 each call frame that is live in hardware registers, and it will be
62 indicating it's valid. If it does not, the registers must have been
69 registers, but it's possible to hit registers 12 out from WINDOWBASE,
70 so it's actually possible to trap again when the instruction restarts
[all …]
/Zephyr-latest/doc/services/ipc/ipc_service/backends/
Dipc_service_icbmsg.rst9 It also supports multiple endpoints.
24 …If there are not enough sequential blocks, it waits using the timeout provided in the parameter th…
26 For the zero-copy case, this is done by the caller, otherwise, it is copied automatically.
30 …The size of the ICMsg queue is large enough to hold messages for all blocks, so it will never over…
34 * When the backend receives this message, it deallocates all blocks.
35 It is done internally by the backend and it is invisible to the caller.
45 You can skip it if none of the communication sides is using data cache on shared memory.
99 Internally, it uses ICMsg for control messages.
115 It is calculated using the following algorithm:
174 The following steps describe it:
[all …]
/Zephyr-latest/doc/develop/api/
Dterminology.rst25 if the function may return before the operation it initializes is
47 is invoked by a thread it is possible for that thread to be suspended as
78 unless that thread has explicitly invoked an operation that caused it to
83 suspend, wait, or invoke :c:func:`k_yield` before it can complete
108 long as it can be completed immediately, and to return an error code
109 rather than sleep if it cannot.
111 It is use of the no-wait feature that allows functions like
112 :c:func:`k_sem_take` to be invoked from ISRs, since it is not
126 The isr-ok attribute is used on a function to indicate that it works
127 whether it is being invoked from interrupt or thread context.
[all …]
/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/src/
Dutil.c55 * - It shall have no more than six consecutive zeros or ones.
56 * - It shall not be the advertising channel packets' Access Address.
57 * - It shall not be a sequence that differs from the advertising channel
59 * - It shall not have all four octets equal.
60 * - It shall have no more than 24 transitions.
61 * - It shall have a minimum of two transitions in the most significant six
65 * - It shall have at least three ones in the least significant 8 bits.
66 * - It shall have no more than eleven transitions in the least significant 16
130 /* It shall have no more than six consecutive zeros or ones. */ in util_aa_le32()
131 /* It shall have a minimum of two transitions in the most in util_aa_le32()
[all …]
/Zephyr-latest/doc/contribute/
Dproposals_and_rfcs.rst27 from contributors before it becomes a part of Zephyr. Quite often, even
32 feature as it is being designed, and incorporate important constraints into the
33 design while it's easier to change, before the design has been fully
36 For a Major Feature, first open an issue and outline your proposal so that it
38 prevent duplication of work, and help you to craft the change so that it is
63 the `Zephyr meetings`_ in order to move it forward in cases where there is
65 to either label it appropriately or include it in the corresponding GitHub
66 project in order for it to be examined during the next meeting.

12345678910>>...195