Home
last modified time | relevance | path

Searched refs:spi_device_handle_t (Results 1 – 25 of 31) sorted by relevance

12

/hal_espressif-3.4.0/components/esp_serial_slave_link/include/esp_serial_slave_link/
Dessl_spi.h28 spi_device_handle_t *spi; ///< Pointer to SPI device handle.
165 esp_err_t essl_spi_rdbuf(spi_device_handle_t spi, uint8_t *out_data, int addr, int len, uint32_t fl…
183 esp_err_t essl_spi_rdbuf_polling(spi_device_handle_t spi, uint8_t *out_data, int addr, int len, uin…
201 esp_err_t essl_spi_wrbuf(spi_device_handle_t spi, const uint8_t *data, int addr, int len, uint32_t …
219 esp_err_t essl_spi_wrbuf_polling(spi_device_handle_t spi, const uint8_t *data, int addr, int len, u…
238 esp_err_t essl_spi_rddma(spi_device_handle_t spi, uint8_t *out_data, int len, int seg_len, uint32_t…
253 esp_err_t essl_spi_rddma_seg(spi_device_handle_t spi, uint8_t *out_data, int seg_len, uint32_t flag…
268 esp_err_t essl_spi_rddma_done(spi_device_handle_t spi, uint32_t flags);
287 esp_err_t essl_spi_wrdma(spi_device_handle_t spi, const uint8_t *data, int len, int seg_len, uint32…
302 esp_err_t essl_spi_wrdma_seg(spi_device_handle_t spi, const uint8_t *data, int seg_len, uint32_t fl…
[all …]
/hal_espressif-3.4.0/components/driver/include/driver/
Dspi_master.h154 typedef struct spi_device_t *spi_device_handle_t; ///< Handle for a device on a SPI bus typedef
174 …st_device_t host_id, const spi_device_interface_config_t *dev_config, spi_device_handle_t *handle);
186 esp_err_t spi_bus_remove_device(spi_device_handle_t handle);
207 esp_err_t spi_device_queue_trans(spi_device_handle_t handle, spi_transaction_t *trans_desc, TickTyp…
229 esp_err_t spi_device_get_trans_result(spi_device_handle_t handle, spi_transaction_t **trans_desc, T…
248 esp_err_t spi_device_transmit(spi_device_handle_t handle, spi_transaction_t *trans_desc);
271 esp_err_t spi_device_polling_start(spi_device_handle_t handle, spi_transaction_t *trans_desc, TickT…
289 esp_err_t spi_device_polling_end(spi_device_handle_t handle, TickType_t ticks_to_wait);
308 esp_err_t spi_device_polling_transmit(spi_device_handle_t handle, spi_transaction_t *trans_desc);
325 esp_err_t spi_device_acquire_bus(spi_device_handle_t device, TickType_t wait);
[all …]
/hal_espressif-3.4.0/examples/peripherals/spi_master/lcd/main/
Dspi_master_example_main.c187 void lcd_cmd(spi_device_handle_t spi, const uint8_t cmd) in lcd_cmd()
206 void lcd_data(spi_device_handle_t spi, const uint8_t *data, int len) in lcd_data()
227 uint32_t lcd_get_id(spi_device_handle_t spi) in lcd_get_id()
245 void lcd_init(spi_device_handle_t spi) in lcd_init()
316 static void send_lines(spi_device_handle_t spi, int ypos, uint16_t *linedata) in send_lines()
367 static void send_line_finish(spi_device_handle_t spi) in send_line_finish()
383 static void display_pretty_colors(spi_device_handle_t spi) in display_pretty_colors()
418 spi_device_handle_t spi; in app_main()
/hal_espressif-3.4.0/components/esp_serial_slave_link/
Dessl_spi.c43 spi_device_handle_t spi; // Pointer to SPI device handle.
101 esp_err_t essl_spi_rdbuf(spi_device_handle_t spi, uint8_t *out_data, int addr, int len, uint32_t fl… in essl_spi_rdbuf()
117 esp_err_t essl_spi_rdbuf_polling(spi_device_handle_t spi, uint8_t *out_data, int addr, int len, uin… in essl_spi_rdbuf_polling()
133 esp_err_t essl_spi_wrbuf(spi_device_handle_t spi, const uint8_t *data, int addr, int len, uint32_t … in essl_spi_wrbuf()
148 esp_err_t essl_spi_wrbuf_polling(spi_device_handle_t spi, const uint8_t *data, int addr, int len, u… in essl_spi_wrbuf_polling()
163 esp_err_t essl_spi_rddma_seg(spi_device_handle_t spi, uint8_t *out_data, int seg_len, uint32_t flag… in essl_spi_rddma_seg()
177 esp_err_t essl_spi_rddma_done(spi_device_handle_t spi, uint32_t flags) in essl_spi_rddma_done()
186 esp_err_t essl_spi_rddma(spi_device_handle_t spi, uint8_t *out_data, int len, int seg_len, uint32_t… in essl_spi_rddma()
207 esp_err_t essl_spi_wrdma_seg(spi_device_handle_t spi, const uint8_t *data, int seg_len, uint32_t fl… in essl_spi_wrdma_seg()
221 esp_err_t essl_spi_wrdma_done(spi_device_handle_t spi, uint32_t flags) in essl_spi_wrdma_done()
[all …]
/hal_espressif-3.4.0/examples/peripherals/spi_slave_hd/segment_mode/seg_master/main/
Dapp_main.c90 static void init_master_hd(spi_device_handle_t* out_spi) in init_master_hd()
106 static esp_err_t wait_for_slave_ready(spi_device_handle_t spi) in wait_for_slave_ready()
129 static esp_err_t get_slave_max_buf_size(spi_device_handle_t spi, uint32_t *out_send_size, uint32_t … in get_slave_max_buf_size()
149 static uint32_t get_slave_tx_buf_size(spi_device_handle_t spi) in get_slave_tx_buf_size()
173 static uint32_t get_slave_rx_buf_num(spi_device_handle_t spi) in get_slave_rx_buf_num()
195 spi_device_handle_t spi; in app_main()
/hal_espressif-3.4.0/components/driver/test/
Dtest_spi_bus_lock.c39 spi_device_handle_t handle;
58 spi_device_handle_t handle = ((task_context_t*)arg)->handle; in spi_task1()
84 spi_device_handle_t handle = ((task_context_t*)arg)->handle; in spi_task2()
117 spi_device_handle_t handle = ((task_context_t*)arg)->handle; in spi_task3()
303 static IRAM_ATTR esp_err_t test_polling_send(spi_device_handle_t handle) in test_polling_send()
318 static IRAM_ATTR NOINLINE_ATTR void test_acquire(spi_device_handle_t handle) in test_acquire()
337 spi_device_handle_t handle;
Dtest_spi_master.c41 spi_device_handle_t handle; in check_spi_pre_n_for()
102 static spi_device_handle_t setup_spi_bus_loopback(int clkspeed, bool dma) in setup_spi_bus_loopback()
122 spi_device_handle_t handle; in setup_spi_bus_loopback()
132 static int spi_test(spi_device_handle_t handle, int num_bytes) in spi_test()
200 spi_device_handle_t handle = setup_spi_bus_loopback(80000, true);
255 spi_device_handle_t handle1 = setup_spi_bus_loopback(80000, true);
256 spi_device_handle_t handle2;
302 spi_device_handle_t spi; in test_master_pins()
543 spi_device_handle_t spi;
645 spi_device_handle_t spi;
[all …]
Dtest_spi_slave_hd.c97 static void init_master_hd(spi_device_handle_t* spi, const spitest_param_set_t* config, int freq) in init_master_hd()
213 static void test_hd_start(spi_device_handle_t *spi, int freq, const spitest_param_set_t* cfg, testh… in test_hd_start()
269 void test_wrdma(testhd_context_t* ctx, const spitest_param_set_t *cfg, spi_device_handle_t spi) in test_wrdma()
295 void test_rddma(testhd_context_t* ctx, const spitest_param_set_t* cfg, spi_device_handle_t spi) in test_rddma()
336 spi_device_handle_t spi; in test_hd_loop()
507 spi_device_handle_t spi;
624 spi_device_handle_t spi; in hd_master()
Dtest_spi_slave.c26 static spi_device_handle_t spi;
41 static void master_init( spi_device_handle_t* spi) in master_init()
285 spi_device_handle_t spi; in unaligned_test_master()
Dtest_spi_sio.c40 spi_device_handle_t spi;
121 spi_device_handle_t spi; in test_sio_master_round()
Dtest_spi_param.c61 static void local_test_start(spi_device_handle_t *spi, int freq, const spitest_param_set_t* pset, s… in local_test_start()
140 static void local_test_end(spi_device_handle_t spi) in local_test_end()
150 spi_device_handle_t spi; in local_test_loop()
547 spi_device_handle_t spi; in TEST_SPI_LOCAL()
684 static void test_master_start(spi_device_handle_t *spi, int freq, const spitest_param_set_t* pset, … in test_master_start()
747 spi_device_handle_t spi; in test_master_loop()
Dtest_common_spi.c203 void master_free_device_bus(spi_device_handle_t spi) in master_free_device_bus()
/hal_espressif-3.4.0/examples/peripherals/spi_slave_hd/append_mode/master/main/
Dapp_main.c31 static void init_driver(spi_device_handle_t *out_spi, essl_handle_t *out_essl) in init_driver()
33 spi_device_handle_t spi; in init_driver()
142 spi_device_handle_t spi; in app_main()
/hal_espressif-3.4.0/components/driver/
Dspi_master.c304 …ost_device_t host_id, const spi_device_interface_config_t *dev_config, spi_device_handle_t *handle) in spi_bus_add_device()
429 esp_err_t spi_bus_remove_device(spi_device_handle_t handle) in spi_bus_remove_device()
674 static SPI_MASTER_ISR_ATTR esp_err_t check_trans_valid(spi_device_handle_t handle, spi_transaction_… in check_trans_valid()
786 esp_err_t SPI_MASTER_ATTR spi_device_queue_trans(spi_device_handle_t handle, spi_transaction_t *tra… in spi_device_queue_trans()
832 esp_err_t SPI_MASTER_ATTR spi_device_get_trans_result(spi_device_handle_t handle, spi_transaction_t… in spi_device_get_trans_result()
854 esp_err_t SPI_MASTER_ATTR spi_device_transmit(spi_device_handle_t handle, spi_transaction_t *trans_… in spi_device_transmit()
927 esp_err_t SPI_MASTER_ISR_ATTR spi_device_polling_start(spi_device_handle_t handle, spi_transaction_… in spi_device_polling_start()
963 esp_err_t SPI_MASTER_ISR_ATTR spi_device_polling_end(spi_device_handle_t handle, TickType_t ticks_t… in spi_device_polling_end()
997 esp_err_t SPI_MASTER_ISR_ATTR spi_device_polling_transmit(spi_device_handle_t handle, spi_transacti… in spi_device_polling_transmit()
/hal_espressif-3.4.0/examples/ethernet/enc28j60/components/eth_enc28j60/
Desp_eth_enc28j60.h32 spi_device_handle_t spi_hdl; /*!< Handle of SPI device driver */
/hal_espressif-3.4.0/examples/peripherals/spi_slave/sender/main/
Dapp_main.c112 spi_device_handle_t handle; in app_main()
/hal_espressif-3.4.0/examples/ethernet/enc28j60/main/
Denc28j60_example_main.c97 spi_device_handle_t spi_handle = NULL; in app_main()
/hal_espressif-3.4.0/components/driver/test/include/test/
Dtest_common_spi.h284 void master_free_device_bus(spi_device_handle_t spi);
/hal_espressif-3.4.0/examples/ethernet/eth2ap/main/
Dethernet_example_main.c179 spi_device_handle_t spi_handle = NULL; in initialize_ethernet()
/hal_espressif-3.4.0/examples/peripherals/spi_master/hd_eeprom/components/eeprom/
Dspi_eeprom.c47 spi_device_handle_t spi; ///< SPI device handle
/hal_espressif-3.4.0/examples/ethernet/basic/main/
Dethernet_example_main.c156 spi_device_handle_t spi_handle[CONFIG_EXAMPLE_SPI_ETHERNETS_NUM] = { NULL }; in app_main()
/hal_espressif-3.4.0/examples/network/simple_sniffer/main/
Dsimple_sniffer_example_main.c156 spi_device_handle_t spi_handle = NULL; in initialize_eth()
/hal_espressif-3.4.0/examples/ethernet/iperf/main/
Dcmd_ethernet.c240 spi_device_handle_t spi_handle = NULL; in register_ethernet()
/hal_espressif-3.4.0/components/esp_lcd/src/
Desp_lcd_panel_io_spi.c38 spi_device_handle_t spi_dev; // SPI device handle
/hal_espressif-3.4.0/examples/common_components/protocol_examples_common/
Dconnect.c396 spi_device_handle_t spi_handle = NULL; in eth_start()

12