ESP-IDF
+
0
/1 examples
SourceVu will show references to
spi_flash_trans_t
from the following samples and libraries:
custom_flash_driver sample
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
spi_flash_trans_t
spi_flash_trans_t struct
Definition of a common transaction. Also holds the return value.
Syntax
Show:
Summary
Declaration
from
spi_flash_types.h:18
typedef
struct
{
uint8_t
reserved
;
uint8_t
mosi_len
;
uint8_t
miso_len
;
uint8_t
address_bitlen
;
uint32_t
address
;
const
uint8_t
*
mosi_data
;
uint8_t
*
miso_data
;
uint32_t
flags
;
#define
SPI_FLASH_TRANS_FLAG_CMD16
BIT
(
0
)
#define
SPI_FLASH_TRANS_FLAG_IGNORE_BASEIO
BIT
(
1
)
#define
SPI_FLASH_TRANS_FLAG_BYTE_SWAP
BIT
(
2
)
#define
SPI_FLASH_TRANS_FLAG_PE_CMD
BIT
(
3
)
uint16_t
command
;
uint8_t
dummy_bitlen
;
uint32_t
io_mode
;
}
spi_flash_trans_t
;
Fields
Field
Declared as
spi_flash_trans_t::reserved
uint8_t
spi_flash_trans_t::mosi_len
uint8_t
spi_flash_trans_t::miso_len
uint8_t
spi_flash_trans_t::address_bitlen
uint8_t
spi_flash_trans_t::address
uint32_t
spi_flash_trans_t::mosi_data
const
uint8_t
*
spi_flash_trans_t::miso_data
uint8_t
*
spi_flash_trans_t::flags
uint32_t
spi_flash_trans_t::command
uint16_t
spi_flash_trans_t::dummy_bitlen
uint8_t
spi_flash_trans_t::io_mode
uint32_t
Examples
spi_flash_trans_t
is referenced by 1 libraries and example projects:
custom_flash_driver sample
References
from
0/1
examples
Code
Location
Scope
Referrer
typedef
struct
{
spi_flash_types.h:18
}
spi_flash_trans_t
;
spi_flash_types.h:34
spi_flash_trans_t
t
=
{
memspi_host_driver.c:94
memspi_host_read_id_hs()
spi_flash_trans_t
t
=
{
memspi_host_driver.c:119
memspi_host_read_status_hs()
spi_flash_trans_t
t
=
{
0
}
;
memspi_host_driver.c:142
memspi_host_erase_chip()
spi_flash_trans_t
t
=
{
memspi_host_driver.c:151
memspi_host_erase_sector()
spi_flash_trans_t
t
=
{
memspi_host_driver.c:163
memspi_host_erase_block()
spi_flash_trans_t
t
=
{
memspi_host_driver.c:175
memspi_host_program_page()
spi_flash_trans_t
t
=
{
memspi_host_driver.c:187
memspi_host_read()
spi_flash_trans_t
t
=
{
memspi_host_driver.c:200
memspi_host_set_write_protect()
spi_flash_trans_t
t
;
spi_flash_chip_generic.c:125
spi_flash_chip_generic_reset()
t
=
(
spi_flash_trans_t
)
{
spi_flash_chip_generic.c:126
spi_flash_chip_generic_reset()
t
=
(
spi_flash_trans_t
)
{
spi_flash_chip_generic.c:134
spi_flash_chip_generic_reset()
spi_flash_trans_t
transfer
=
{
spi_flash_chip_generic.c:576
spi_flash_chip_generic_read_unique_id()
spi_flash_trans_t
t
=
{
spi_flash_chip_generic.c:615
spi_flash_chip_generic_get_caps()
spi_flash_trans_t
t
=
{
spi_flash_chip_generic.c:698
spi_flash_common_read_qe_sr()
spi_flash_trans_t
t
=
{
spi_flash_chip_generic.c:710
spi_flash_common_write_qe_sr()
spi_flash_trans_t
t
=
{
}
;
spi_flash_chip_mxic_opi.c:70
spi_flash_chip_mxic_opi_set_write_protect()
spi_flash_trans_t
t
=
{
spi_flash_chip_mxic_opi.c:102
spi_flash_chip_mxic_opi_read_id()
spi_flash_trans_t
t
=
{
spi_flash_chip_mxic_opi.c:137
spi_flash_chip_mxic_opi_read_reg()
spi_flash_trans_t
t
=
{
spi_flash_chip_mxic_opi.c:179
spi_flash_chip_mxic_opi_erase_chip()
spi_flash_trans_t
t
=
{
spi_flash_chip_mxic_opi.c:207
spi_flash_chip_mxic_opi_erase_sector()
spi_flash_trans_t
t
=
{
spi_flash_chip_mxic_opi.c:236
spi_flash_chip_mxic_opi_erase_block()
spi_flash_trans_t
t
=
{
spi_flash_chip_mxic_opi.c:265
spi_flash_chip_mxic_opi_page_program()
spi_flash_trans_t
t
=
{
spi_flash_chip_mxic_opi.c:318
spi_flash_chip_mxic_opi_get_io_mode()
spi_flash_trans_t
t
=
{
spi_flash_chip_winbond.c:198
spi_flash_command_winbond_program_4B()
spi_flash_trans_t
t
=
{
spi_flash_chip_winbond.c:212
spi_flash_command_winbond_erase_sector_4B()
spi_flash_trans_t
t
=
{
spi_flash_chip_winbond.c:224
spi_flash_command_erase_block_4B()
esp_err_t
spi_flash_hal_common_command
(
spi_flash_host_inst_t
*
host
,
spi_flash_trans_t
*
trans
)
;
spi_flash_hal.h:125
spi_flash_hal_common_command()
spi_flash_hal_common_command()::trans
esp_err_t
spi_flash_hal_common_command
(
spi_flash_host_inst_t
*
host
,
spi_flash_trans_t
*
trans
)
spi_flash_hal_common.inc:167
spi_flash_hal_common_command()
spi_flash_hal_common_command()::trans
}
spi_flash_trans_t
;
spi_flash_types.h:34
spi_flash_trans_t
esp_err_t
(
*
common_command
)
(
spi_flash_host_inst_t
*
host
,
spi_flash_trans_t
*
t
)
;
spi_flash_types.h:144
Call Tree
from
0/1
examples
All items filtered out
All items filtered out
Data Use
from
0/1
examples
All items filtered out
All items filtered out
Class Tree
from
0/1
examples
All items filtered out
All items filtered out
Override Tree
from
0/1
examples
All items filtered out
All items filtered out
Implementations
from
0/1
examples
All items filtered out
All items filtered out
Instances
from
0/1
examples
Instance
Scope
Location
Project
spi_flash_hal_common_command()::trans
spi_flash_hal_common_command()
spi_flash_hal.h:125
spi_flash_hal_common_command()::trans
spi_flash_hal_common_command()
spi_flash_hal_common.inc:167
Lifecycle
from
0/1
examples
All items filtered out
All items filtered out