Home
last modified time | relevance | path

Searched refs:hal_trans (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.4.0/components/driver/
Dspi_master.c525 spi_hal_trans_config_t hal_trans = {}; in spi_new_trans() local
526 hal_trans.tx_bitlen = trans->length; in spi_new_trans()
527 hal_trans.rx_bitlen = trans->rxlength; in spi_new_trans()
528 hal_trans.rcv_buffer = (uint8_t*)host->cur_trans_buf.buffer_to_rcv; in spi_new_trans()
529 hal_trans.send_buffer = (uint8_t*)host->cur_trans_buf.buffer_to_send; in spi_new_trans()
530 hal_trans.cmd = trans->cmd; in spi_new_trans()
531 hal_trans.addr = trans->addr; in spi_new_trans()
532 hal_trans.cs_keep_active = (trans->flags & SPI_TRANS_CS_KEEP_ACTIVE) ? 1 : 0; in spi_new_trans()
535 hal_trans.line_mode.data_lines = (trans->flags & SPI_TRANS_MODE_DIO) ? 2 : in spi_new_trans()
539 hal_trans.line_mode.data_lines = 8; in spi_new_trans()
[all …]
/hal_espressif-3.4.0/components/hal/include/hal/
Dspi_hal.h192 …_hal_context_t *hal, const spi_hal_dev_config_t *hal_dev, const spi_hal_trans_config_t *hal_trans);
201 …_hal_context_t *hal, const spi_hal_dev_config_t *hal_dev, const spi_hal_trans_config_t *hal_trans);