Home
last modified time | relevance | path

Searched refs:msg1 (Results 1 – 22 of 22) sorted by relevance

/bsp/nxp/mcx/mcxn/frdm-mcxn236/board/ports/
A Dspi_sample.c50 static struct rt_spi_message msg1; in spi_sample() local
57 msg1.send_buf = &t_buf; in spi_sample()
58 msg1.recv_buf = &r_buf; in spi_sample()
59 msg1.length = sizeof(t_buf); in spi_sample()
60 msg1.cs_take = 1; in spi_sample()
61 msg1.cs_release = 1; in spi_sample()
62 msg1.next = RT_NULL; in spi_sample()
64 rt_spi_transfer_message(spi_dev, &msg1); in spi_sample()
/bsp/nxp/mcx/mcxn/frdm-mcxn947/board/ports/
A Dspi_sample.c50 static struct rt_spi_message msg1; in spi_sample() local
57 msg1.send_buf = &t_buf; in spi_sample()
58 msg1.recv_buf = &r_buf; in spi_sample()
59 msg1.length = sizeof(t_buf); in spi_sample()
60 msg1.cs_take = 1; in spi_sample()
61 msg1.cs_release = 1; in spi_sample()
62 msg1.next = RT_NULL; in spi_sample()
64 rt_spi_transfer_message(spi_dev, &msg1); in spi_sample()
/bsp/Infineon/psoc6-cy8ckit-062S2-43012/board/ports/
A Dspi_sample.c49 static struct rt_spi_message msg1; in spi_sample() local
63 msg1.send_buf = &t_buf; in spi_sample()
64 msg1.recv_buf = &r_buf; in spi_sample()
65 msg1.length = sizeof(t_buf); in spi_sample()
66 msg1.cs_take = 1; in spi_sample()
67 msg1.cs_release = 0; in spi_sample()
68 msg1.next = RT_NULL; in spi_sample()
70 rt_spi_transfer_message(spi_dev, &msg1); in spi_sample()
/bsp/Infineon/psoc6-evaluationkit-062S2/board/ports/
A Dspi_sample.c49 static struct rt_spi_message msg1; in spi_sample() local
63 msg1.send_buf = &t_buf; in spi_sample()
64 msg1.recv_buf = &r_buf; in spi_sample()
65 msg1.length = sizeof(t_buf); in spi_sample()
66 msg1.cs_take = 1; in spi_sample()
67 msg1.cs_release = 0; in spi_sample()
68 msg1.next = RT_NULL; in spi_sample()
70 rt_spi_transfer_message(spi_dev, &msg1); in spi_sample()
/bsp/stm32/stm32mp157a-st-ev1/board/ports/
A Dspi_sample.c50 static struct rt_spi_message msg1; in spi_sample() local
64 msg1.send_buf = &t_buf; in spi_sample()
65 msg1.recv_buf = &r_buf; in spi_sample()
66 msg1.length = sizeof(t_buf); in spi_sample()
67 msg1.cs_take = 1; in spi_sample()
68 msg1.cs_release = 0; in spi_sample()
69 msg1.next = RT_NULL; in spi_sample()
71 rt_spi_transfer_message(spi_dev, &msg1); in spi_sample()
/bsp/Infineon/libraries/templates/PSOC62/board/ports/
A Dspi_sample.c49 static struct rt_spi_message msg1; in spi_sample() local
63 msg1.send_buf = &t_buf; in spi_sample()
64 msg1.recv_buf = &r_buf; in spi_sample()
65 msg1.length = sizeof(t_buf); in spi_sample()
66 msg1.cs_take = 1; in spi_sample()
67 msg1.cs_release = 0; in spi_sample()
68 msg1.next = RT_NULL; in spi_sample()
70 rt_spi_transfer_message(spi_dev, &msg1); in spi_sample()
/bsp/Infineon/psoc6-cy8ckit-062-BLE/board/ports/
A Dspi_sample.c49 static struct rt_spi_message msg1; in spi_sample() local
63 msg1.send_buf = &t_buf; in spi_sample()
64 msg1.recv_buf = &r_buf; in spi_sample()
65 msg1.length = sizeof(t_buf); in spi_sample()
66 msg1.cs_take = 1; in spi_sample()
67 msg1.cs_release = 0; in spi_sample()
68 msg1.next = RT_NULL; in spi_sample()
70 rt_spi_transfer_message(spi_dev, &msg1); in spi_sample()
/bsp/Infineon/psoc6-cy8ckit-062-WIFI-BT/board/ports/
A Dspi_sample.c49 static struct rt_spi_message msg1; in spi_sample() local
63 msg1.send_buf = &t_buf; in spi_sample()
64 msg1.recv_buf = &r_buf; in spi_sample()
65 msg1.length = sizeof(t_buf); in spi_sample()
66 msg1.cs_take = 1; in spi_sample()
67 msg1.cs_release = 0; in spi_sample()
68 msg1.next = RT_NULL; in spi_sample()
70 rt_spi_transfer_message(spi_dev, &msg1); in spi_sample()
/bsp/Infineon/psoc6-cy8ckit-062s4/board/ports/
A Dspi_sample.c49 static struct rt_spi_message msg1; in spi_sample() local
63 msg1.send_buf = &t_buf; in spi_sample()
64 msg1.recv_buf = &r_buf; in spi_sample()
65 msg1.length = sizeof(t_buf); in spi_sample()
66 msg1.cs_take = 1; in spi_sample()
67 msg1.cs_release = 0; in spi_sample()
68 msg1.next = RT_NULL; in spi_sample()
70 rt_spi_transfer_message(spi_dev, &msg1); in spi_sample()
/bsp/Infineon/psoc6-cy8cproto-062S3-4343W/board/ports/
A Dspi_sample.c49 static struct rt_spi_message msg1; in spi_sample() local
63 msg1.send_buf = &t_buf; in spi_sample()
64 msg1.recv_buf = &r_buf; in spi_sample()
65 msg1.length = sizeof(t_buf); in spi_sample()
66 msg1.cs_take = 1; in spi_sample()
67 msg1.cs_release = 0; in spi_sample()
68 msg1.next = RT_NULL; in spi_sample()
70 rt_spi_transfer_message(spi_dev, &msg1); in spi_sample()
/bsp/stm32/stm32mp157a-st-discovery/board/ports/
A Dspi_sample.c49 static struct rt_spi_message msg1; in spi_sample() local
63 msg1.send_buf = &t_buf; in spi_sample()
64 msg1.recv_buf = &r_buf; in spi_sample()
65 msg1.length = sizeof(t_buf); in spi_sample()
66 msg1.cs_take = 1; in spi_sample()
67 msg1.cs_release = 0; in spi_sample()
68 msg1.next = RT_NULL; in spi_sample()
70 rt_spi_transfer_message(spi_dev, &msg1); in spi_sample()
/bsp/bouffalo_lab/libraries/rt_drivers/sample/
A Dspi_sample.c51 static struct rt_spi_message msg1; in spi_sample() local
65 msg1.send_buf = &t_buf; in spi_sample()
66 msg1.recv_buf = &r_buf; in spi_sample()
67 msg1.length = sizeof(t_buf); in spi_sample()
68 msg1.cs_take = 1; in spi_sample()
69 msg1.cs_release = 0; in spi_sample()
70 msg1.next = RT_NULL; in spi_sample()
72 rt_spi_transfer_message(spi_dev, &msg1); in spi_sample()
/bsp/phytium/libraries/drivers_example/
A Dspi_sample.c61 static struct rt_spi_message msg1, msg2; in fspim_test_sample() local
63 msg1.send_buf = &send_to_flash_id; in fspim_test_sample()
64 msg1.recv_buf = RT_NULL; in fspim_test_sample()
65 msg1.length = 1; in fspim_test_sample()
66 msg1.cs_take = 1; in fspim_test_sample()
67 msg1.cs_release = 0; in fspim_test_sample()
68 msg1.next = &msg2; in fspim_test_sample()
82 rt_spi_transfer_message(spi_device, &msg1); in fspim_test_sample()
/bsp/raspberry-pi/raspi4-32/driver/touch/
A Ddrv_xpt2046.c49 struct rt_spi_message msg1,msg2,msg3,msg4; in touch_read_x_y() local
58 msg1.send_buf = &read_x_id; in touch_read_x_y()
59 msg1.recv_buf = RT_NULL; in touch_read_x_y()
60 msg1.length = 1; in touch_read_x_y()
61 msg1.cs_take = 1; in touch_read_x_y()
62 msg1.cs_release = 0; in touch_read_x_y()
63 msg1.next = &msg2; in touch_read_x_y()
86 rt_spi_transfer_message(touch_dev, &msg1); in touch_read_x_y()
/bsp/ht32/ht32f52352/applications/
A Dtest.c420 struct rt_i2c_msg msg1[2]; in i2c_thread() local
425 msg1[0].addr = 0x51; in i2c_thread()
426 msg1[0].flags = RT_I2C_WR; in i2c_thread()
427 msg1[0].buf = eeprom_date.data; in i2c_thread()
438 msg1[0].addr = 0x51; in i2c_thread()
439 msg1[0].flags = RT_I2C_WR; in i2c_thread()
440 msg1[0].buf = &write_addr; in i2c_thread()
441 msg1[0].len = 1; in i2c_thread()
443 msg1[1].addr = 0x51; in i2c_thread()
444 msg1[1].flags = RT_I2C_RD; in i2c_thread()
[all …]
/bsp/ht32/ht32f12366/applications/
A Dtest.c419 struct rt_i2c_msg msg1[2]; in i2c_thread() local
424 msg1[0].addr = 0x51; in i2c_thread()
425 msg1[0].flags = RT_I2C_WR; in i2c_thread()
426 msg1[0].buf = eeprom_date.data; in i2c_thread()
437 msg1[0].addr = 0x51; in i2c_thread()
438 msg1[0].flags = RT_I2C_WR; in i2c_thread()
439 msg1[0].buf = &write_addr; in i2c_thread()
440 msg1[0].len = 1; in i2c_thread()
442 msg1[1].addr = 0x51; in i2c_thread()
443 msg1[1].flags = RT_I2C_RD; in i2c_thread()
[all …]
/bsp/wch/risc-v/ch569w-evt/applications/
A Dtest.c241 struct rt_spi_message msg1, msg2; in test_spi_master() local
259 msg1.send_buf = buf; in test_spi_master()
260 msg1.recv_buf = RT_NULL; in test_spi_master()
261 msg1.length = 4; in test_spi_master()
262 msg1.cs_take = 1; in test_spi_master()
263 msg1.cs_release = 0; in test_spi_master()
264 msg1.next = &msg2; in test_spi_master()
273 rt_spi_transfer_message(&spi_dev_w25q, &msg1); in test_spi_master()
281 if (rt_spi_transfer_message(&spi_dev_w25q, &msg1) == RT_NULL) in test_spi_master()
/bsp/hc32/tests/
A Dtest_spi.c105 struct rt_spi_message msg1, msg2; in w25q_read_uid() local
107 msg1.send_buf = txBuf; in w25q_read_uid()
108 msg1.recv_buf = RT_NULL; in w25q_read_uid()
109 msg1.length = 5; in w25q_read_uid()
110 msg1.cs_take = 1; in w25q_read_uid()
111 msg1.cs_release = 0; in w25q_read_uid()
112 msg1.next = &msg2; in w25q_read_uid()
121 rt_spi_transfer_message(device, &msg1); in w25q_read_uid()
/bsp/ht32/ht32f53252/applications/
A Dtest.c420 struct rt_i2c_msg msg1[2]; in i2c_thread() local
425 msg1[0].addr = 0x51; in i2c_thread()
426 msg1[0].flags = RT_I2C_WR; in i2c_thread()
427 msg1[0].buf = eeprom_date.data; in i2c_thread()
438 msg1[0].addr = 0x51; in i2c_thread()
439 msg1[0].flags = RT_I2C_WR; in i2c_thread()
440 msg1[0].buf = &write_addr; in i2c_thread()
441 msg1[0].len = 1; in i2c_thread()
443 msg1[1].addr = 0x51; in i2c_thread()
444 msg1[1].flags = RT_I2C_RD; in i2c_thread()
[all …]
/bsp/raspberry-pi/raspi3-32/applications/
A Dtest_device.c208 struct rt_spi_message msg1, msg2; in test_spi() local
210 msg1.send_buf = &w25x_read_id; in test_spi()
211 msg1.recv_buf = RT_NULL; in test_spi()
212 msg1.length = 1; in test_spi()
213 msg1.cs_take = 1; in test_spi()
214 msg1.cs_release = 0; in test_spi()
215 msg1.next = &msg2; in test_spi()
224 rt_spi_transfer_message(spi0_dev0, &msg1); in test_spi()
/bsp/synwit/swm320-mini/applications/
A Dmain.c314 struct rt_spi_message msg1, msg2; in spi_w25q_sample() local
316 msg1.send_buf = &w25x_read_id; in spi_w25q_sample()
317 msg1.recv_buf = RT_NULL; in spi_w25q_sample()
318 msg1.length = 1; in spi_w25q_sample()
319 msg1.cs_take = 1; in spi_w25q_sample()
320 msg1.cs_release = 0; in spi_w25q_sample()
321 msg1.next = &msg2; in spi_w25q_sample()
330 rt_spi_transfer_message(spi_dev_w25q, &msg1); in spi_w25q_sample()
/bsp/synwit/swm341-mini/applications/
A Dmain.c476 struct rt_spi_message msg1, msg2; in spi_w25q_sample() local
478 msg1.send_buf = &w25x_read_id; in spi_w25q_sample()
479 msg1.recv_buf = RT_NULL; in spi_w25q_sample()
480 msg1.length = 1; in spi_w25q_sample()
481 msg1.cs_take = 1; in spi_w25q_sample()
482 msg1.cs_release = 0; in spi_w25q_sample()
483 msg1.next = &msg2; in spi_w25q_sample()
492 rt_spi_transfer_message(spi_dev_w25q, &msg1); in spi_w25q_sample()

Completed in 44 milliseconds