Home
last modified time | relevance | path

Searched full:read (Results 1 – 25 of 1351) sorted by relevance

12345678910>>...55

/Zephyr-Core-2.7.6/samples/subsys/portability/cmsis_rtos_v1/timer_synchronization/
DREADME.rst12 and on timer expiry, message is read by main thread.
33 Read from message queue: 5
36 Read from message queue: 6
39 Read from message queue: 7
42 Read from message queue: 8
45 Read from message queue: 9
48 Read from message queue: 10
51 Read from message queue: 11
54 Read from message queue: 12
57 Read from message queue: 13
[all …]
/Zephyr-Core-2.7.6/samples/subsys/portability/cmsis_rtos_v2/timer_synchronization/
DREADME.rst12 and on timer expiry, message is read by main thread.
33 Read from message queue: 5
36 Read from message queue: 6
39 Read from message queue: 7
42 Read from message queue: 8
45 Read from message queue: 9
48 Read from message queue: 10
51 Read from message queue: 11
54 Read from message queue: 12
57 Read from message queue: 13
[all …]
/Zephyr-Core-2.7.6/tests/bluetooth/bsim_bt/edtt_ble_test_app/gatt_test_app/src/gatt/
Dservice_f_1.c90 * @brief Attribute read call back for the Value V14 string attribute
92 * @param conn The connection that is requesting to read
93 * @param attr The attribute that's being read
94 * @param buf Buffer to place the read result in
95 * @param len Length of data to read
98 * @return Number of bytes read, or in case of an error - BT_GATT_ERR()
112 * @brief Attribute read call back for the Value V15 attribute
114 * @param conn The connection that is requesting to read
115 * @param attr The attribute that's being read
116 * @param buf Buffer to place the read result in
[all …]
Dservice_b_1_1.c58 * @brief Attribute read call back for the Value V4 attribute
60 * @param conn The connection that is requesting to read
61 * @param attr The attribute that's being read
62 * @param buf Buffer to place the read result in
63 * @param len Length of data to read
66 * @return Number of bytes read, or in case of an error - BT_GATT_ERR()
109 * @brief Attribute read call back for the Value V4 attribute
111 * @param conn The connection that is requesting to read
112 * @param attr The attribute that's being read
113 * @param buf Buffer to place the read result in
[all …]
Dservice_d_2.c42 * @brief Attribute read call back for the Value V11 (128-bit UUID) attribute
44 * @param conn The connection that is requesting to read
45 * @param attr The attribute that's being read
46 * @param buf Buffer to place the read result in
47 * @param len Length of data to read
50 * @return Number of bytes read, or in case of an error - BT_GATT_ERR()
64 * @brief Attribute read call back for the Value V12 attribute
66 * @param conn The connection that is requesting to read
67 * @param attr The attribute that's being read
68 * @param buf Buffer to place the read result in
[all …]
Dservice_d_3.c42 * @brief Attribute read call back for the Value V12 attribute
44 * @param conn The connection that is requesting to read
45 * @param attr The attribute that's being read
46 * @param buf Buffer to place the read result in
47 * @param len Length of data to read
50 * @return Number of bytes read, or in case of an error - BT_GATT_ERR()
64 * @brief Attribute read call back for the Value V11 (128-bit UUID) attribute
66 * @param conn The connection that is requesting to read
67 * @param attr The attribute that's being read
68 * @param buf Buffer to place the read result in
[all …]
Dservice_d_1.c43 * @brief Attribute read call back for the Value V12 attribute
45 * @param conn The connection that is requesting to read
46 * @param attr The attribute that's being read
47 * @param buf Buffer to place the read result in
48 * @param len Length of data to read
51 * @return Number of bytes read, or in case of an error - BT_GATT_ERR()
65 * @brief Attribute read call back for the Value V11 (128-bit UUID) attribute
67 * @param conn The connection that is requesting to read
68 * @param attr The attribute that's being read
69 * @param buf Buffer to place the read result in
[all …]
Dservice_b_5_1.c51 * @brief Attribute read call back for the Value V8 attribute
53 * @param conn The connection that is requesting to read
54 * @param attr The attribute that's being read
55 * @param buf Buffer to place the read result in
56 * @param len Length of data to read
59 * @return Number of bytes read, or in case of an error - BT_GATT_ERR()
102 * @brief Attribute read call back for the Descriptor V8D1 attribute
104 * @param conn The connection that is requesting to read
105 * @param attr The attribute that's being read
106 * @param buf Buffer to place the read result in
[all …]
Dservice_c_2_1.c155 * @brief Attribute read call back for the Value V10 attribute
157 * @param conn The connection that is requesting to read
158 * @param attr The attribute that's being read
159 * @param buf Buffer to place the read result in
160 * @param len Length of data to read
163 * @return Number of bytes read, or in case of an error - BT_GATT_ERR()
177 * @brief Attribute read call back for the Value V2 string attribute
179 * @param conn The connection that is requesting to read
180 * @param attr The attribute that's being read
181 * @param buf Buffer to place the read result in
[all …]
Dservice_b_2_1.c50 * @brief Attribute read call back for the Value V5 attribute
52 * @param conn The connection that is requesting to read
53 * @param attr The attribute that's being read
54 * @param buf Buffer to place the read result in
55 * @param len Length of data to read
58 * @return Number of bytes read, or in case of an error - BT_GATT_ERR()
103 * @brief Attribute read call back for the Descriptor V5D4 (128-bit UUID)
106 * @param conn The connection that is requesting to read
107 * @param attr The attribute that's being read
108 * @param buf Buffer to place the read result in
[all …]
Dservice_b_2_2.c49 * @brief Attribute read call back for the Value V5 attribute
51 * @param conn The connection that is requesting to read
52 * @param attr The attribute that's being read
53 * @param buf Buffer to place the read result in
54 * @param len Length of data to read
57 * @return Number of bytes read, or in case of an error - BT_GATT_ERR()
100 * @brief Attribute read call back for the Descriptor V5D4 (128-bit UUID)
103 * @param conn The connection that is requesting to read
104 * @param attr The attribute that's being read
105 * @param buf Buffer to place the read result in
[all …]
Dservice_b_2_3.c49 * @brief Attribute read call back for the Value V5 attribute
51 * @param conn The connection that is requesting to read
52 * @param attr The attribute that's being read
53 * @param buf Buffer to place the read result in
54 * @param len Length of data to read
57 * @return Number of bytes read, or in case of an error - BT_GATT_ERR()
100 * @brief Attribute read call back for the Descriptor V5D4 (128-bit UUID)
103 * @param conn The connection that is requesting to read
104 * @param attr The attribute that's being read
105 * @param buf Buffer to place the read result in
[all …]
/Zephyr-Core-2.7.6/arch/arm/include/aarch32/cortex_m/
Dcmse.h56 * @brief Read accessibility of an address
58 * Evaluates whether a specified memory location can be read according to the
75 * @brief Read and Write accessibility of an address
77 * Evaluates whether a specified memory location can be read/written according
90 * @return 1 if address is Read and Writable, 0 otherwise.
95 * @brief Read accessibility of an address range
98 * and size, can be read according to the permissions of the current state MPU
117 * @brief Read and Write accessibility of an address range
120 * and size, can be read/written according to the permissions of the current
134 * @return 1 if address range is Read and Writable, 0 otherwise.
[all …]
/Zephyr-Core-2.7.6/samples/drivers/soc_flash_nrf/
Dsample.yaml13 - "Data read: 1234"
14 - "Data read matches data written. Good!"
16 - "Data read: 1122"
17 - "Data read matches data written. Good!"
19 - "Data read: 1234"
20 - "Data read: 1234"
21 - "Data read matches data written. Good!"
/Zephyr-Core-2.7.6/include/drivers/misc/ft8xx/
Dft8xx_common.h22 * @brief FT8xx functions to write and read memory
53 * @brief Read 1 byte (8 bits) from FT8xx memory
55 * @param address Memory address to read from
57 * @return Value read from memory
62 * @brief Read 2 bytes (16 bits) from FT8xx memory
64 * @param address Memory address to read from
66 * @return Value read from memory
71 * @brief Read 4 bytes (32 bits) from FT8xx memory
73 * @param address Memory address to read from
75 * @return Value read from memory
/Zephyr-Core-2.7.6/tests/subsys/logging/log_msg/src/
Dlog_msg_test.c171 "Expected to read requested amount of data\n"); in test_log_hexdump_data_get_single_chunk()
178 /* Attempt to read more data than present in the message */ in test_log_hexdump_data_get_single_chunk()
180 rd_length = wr_length + 1; /* requesting read more data */ in test_log_hexdump_data_get_single_chunk()
189 "Expected to read requested amount of data\n"); in test_log_hexdump_data_get_single_chunk()
196 /* Attempt to read with non zero offset, requested length fits in the in test_log_hexdump_data_get_single_chunk()
200 rd_length = 1; /* requesting read more data */ in test_log_hexdump_data_get_single_chunk()
210 "Expected to read requested amount of data\n"); in test_log_hexdump_data_get_single_chunk()
217 /* Attempt to read with non zero offset, requested length DOES NOT fit in test_log_hexdump_data_get_single_chunk()
231 "Expected to read requested amount of data\n"); in test_log_hexdump_data_get_single_chunk()
259 /* Read whole data from offset = 0*/ in test_log_hexdump_data_get_two_chunks()
[all …]
/Zephyr-Core-2.7.6/tests/kernel/pipe/pipe_api/src/
Dtest_pipe_avail.c8 * @brief Tests for the Pipe read / write availability
49 zassert_equal(r_avail, 0, "read: expected: 0 actual: %u", r_avail); in test_pipe_avail_no_buffer()
55 zassert_equal(r_avail, 0, "read: expected: 0 actual: %u", r_avail); in test_pipe_avail_no_buffer()
62 * @brief Test available read / write space for r < w
73 * As shown above, the pipe will be able to read 3 bytes without blocking
78 * would read: a b c d
93 zassert_equal(r_avail, 3, "read: expected: 3 actual: %u", r_avail); in test_pipe_avail_r_lt_w()
100 * @brief Test available read / write space for w < r
112 * As shown above, the pipe will fbe able to read 5 bytes without blocking
117 * would read: e f g h
[all …]
/Zephyr-Core-2.7.6/tests/boards/altera_max10/qspi/src/
Dqspi_flash.c39 TC_PASS, "Flash read call failed!"); in test_qspi_flash()
47 /* Flash Write & Read Test */ in test_qspi_flash()
48 TC_PRINT(" Flash Write & Read Test..."); in test_qspi_flash()
55 TC_PASS, "Flash read call failed!"); in test_qspi_flash()
57 "Flash Write & Read Test failed!!"); in test_qspi_flash()
61 /* Flash Unaligned Read Test */ in test_qspi_flash()
62 TC_PRINT(" Flash Unaligned Read Test..."); in test_qspi_flash()
68 TC_PASS, "Flash read call failed!"); in test_qspi_flash()
70 TC_PASS, "Flash Write & Read Test failed!!"); in test_qspi_flash()
/Zephyr-Core-2.7.6/tests/kernel/pipe/pipe/src/
Dtest_pipe.c174 size_t read; in pipe_get_single() local
189 single_elements[index].size, &read, in pipe_get_single()
199 zassert_true((read == single_elements[index].sent_bytes), in pipe_get_single()
200 "Bytes read missmatch read is %d but expected is %d index = %d\n", in pipe_get_single()
201 read, single_elements[index].sent_bytes, index); in pipe_get_single()
203 zassert_true(rx_buffer_check(rx_buffer, read) == read, in pipe_get_single()
204 "Bytes read are not matching at index= %d\n expected =%d but received= %d", in pipe_get_single()
205 index, read, rx_buffer_check(rx_buffer, read)); in pipe_get_single()
252 size_t read; in pipe_get_multiple() local
267 multiple_elements[index].size, &read, in pipe_get_multiple()
[all …]
/Zephyr-Core-2.7.6/include/fs/
Dnvs.h123 * Read an entry from the file system.
126 * @param id Id of the entry to be read
128 * @param len Number of bytes to be read
130 * @return Number of bytes read. On success, it will be equal to the number of bytes requested
131 * to be read. When the return value is larger than the number of bytes requested to read this
132 * indicates not all bytes were read, and more data is available. On error, returns negative
140 * Read a history entry from the file system.
143 * @param id Id of the entry to be read
145 * @param len Number of bytes to be read
148 * @return Number of bytes read. On success, it will be equal to the number of bytes requested
[all …]
/Zephyr-Core-2.7.6/tests/boards/mec15xxevb_assy6853/qspi/src/
Dmain.c54 * - Read flash jedec id
72 /* read jedec id */ in test_spi_device()
92 zassert_true(ret == 0, "Read JEDEC ID spi_transceive failure: " in test_spi_device()
102 * - read register1 and wait for erase operation completed
147 /* read register1 to check whether erase operation completed */ in test_spi_sector_erase()
169 zassert_true(ret == 0, "Send read register1 spi_transceive " in test_spi_sector_erase()
226 * @brief Read data from flash using spi single mode
228 * - read data using spi single mode
229 * - check read buffer data whether correct
239 /* read data using spi single mode */ in test_spi_single_read()
[all …]
/Zephyr-Core-2.7.6/drivers/spi/
DKconfig.nrfx57 hex "SPI Port 0 over-read character"
62 Over-read character. Character clocked out after an over-read
91 hex "SPI Port 1 over-read character"
96 Over-read character. Character clocked out after an over-read
125 hex "SPI Port 2 over-read character"
130 Over-read character. Character clocked out after an over-read
149 hex "SPI Port 3 over-read character"
154 Over-read character. Character clocked out after an over-read
174 hex "SPI Port 4 over-read character"
179 Over-read character. Character clocked out after an over-read
/Zephyr-Core-2.7.6/include/arch/arm/aarch32/mpu/
Darm_mpu_v8m.h23 /* Privileged Read Write, Unprivileged No Access */
26 /* Privileged Read Write, Unprivileged Read Only */
29 /* Privileged Read Write, Unprivileged Read Write */
32 /* Privileged Read Write, Unprivileged Read Write */
35 /* Privileged Read Only, Unprivileged No Access */
38 /* Privileged Read Only, Unprivileged Read Only */
41 /* Privileged Read Only, Unprivileged Read Only */
66 /* Read/Write Allocation Configurations for Cacheable Memory */
67 #define R_NON_W_NON 0x0 /* Do not allocate Read/Write */
68 #define R_NON_W_ALLOC 0x1 /* Do not allocate Read, Allocate Write */
[all …]
/Zephyr-Core-2.7.6/samples/drivers/soc_flash_nrf/src/
Dmain.c72 printf(" Attempted to read 0x%x\n", offset); in main()
75 printf(" Flash read failed!\n"); in main()
78 printf(" Data read: %x\n", buf_word); in main()
80 printf(" Data read matches data written. Good!\n"); in main()
82 printf(" Data read does not match data written!\n"); in main()
104 printf(" Attempted to read 0x%x\n", offset); in main()
107 printf(" Flash read failed!\n"); in main()
110 printf(" Data read: %x\n", buf_word); in main()
112 printf(" Data read matches data written. Good!\n"); in main()
114 printf(" Data read does not match data written!\n"); in main()
[all …]
/Zephyr-Core-2.7.6/tests/net/socket/socketpair/src/
Dtest_socketpair_closed_ends.c18 #undef read
19 #define read(fd, buf, len) zsock_recv(fd, buf, len, 0) macro
69 res = read(sv[(!i) & 1], xx, sizeof(xx)); in test_socketpair_close_one_end_and_read_from_the_other()
70 zassert_not_equal(res, -1, "read(2) failed: %d", errno); in test_socketpair_close_one_end_and_read_from_the_other()
71 zassert_equal(res, 2, "expected to read 2 bytes but read %d", in test_socketpair_close_one_end_and_read_from_the_other()
74 res = read(sv[(!i) & 1], xx, sizeof(xx)); in test_socketpair_close_one_end_and_read_from_the_other()
76 "expected read(2) to succeed but read 0 bytes"); in test_socketpair_close_one_end_and_read_from_the_other()

12345678910>>...55