ESP-IDF
spi_dev_s::ctrl
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (4/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_dev_s::ctrl
spi_dev_s::ctrl field
Syntax
Show:
Summary
Declaration
from
spi_struct.h:39
union
{
struct
{
uint32_t
reserved0
:
10
;
uint32_t
fcs_crc_en
:
1
;
uint32_t
tx_crc_en
:
1
;
uint32_t
wait_flash_idle_en
:
1
;
uint32_t
fastrd_mode
:
1
;
uint32_t
fread_dual
:
1
;
uint32_t
resandres
:
1
;
uint32_t
reserved16
:
4
;
uint32_t
fread_quad
:
1
;
uint32_t
wp
:
1
;
uint32_t
wrsr_2b
:
1
;
uint32_t
fread_dio
:
1
;
uint32_t
fread_qio
:
1
;
uint32_t
rd_bit_order
:
1
;
uint32_t
wr_bit_order
:
1
;
uint32_t
reserved27
:
5
;
}
;
uint32_t
val
;
}
ctrl
;
Examples
References
from
examples
Code
Location
Referrer
}
ctrl
;
spi_struct.h:59
SPIMEM_LL_APB
.
ctrl
.
val
=
0
;
bootloader_flash.c:585
bootloader_flash_execute_command_common()
dev
->
ctrl
.
val
=
0
;
spi_flash_ll.h:68
spi_flash_ll_reset()
dev
->
ctrl
.
val
=
0
;
spi_flash_ll.h:100
spi_flash_ll_erase_sector()
typeof
(
dev
->
ctrl
)
ctrl
;
spi_flash_ll.h:250
spi_flash_ll_set_read_mode()
ctrl
.
val
=
dev
->
ctrl
.
val
;
spi_flash_ll.h:251
spi_flash_ll_set_read_mode()
dev
->
ctrl
.
val
=
ctrl
.
val
;
spi_flash_ll.h:276
spi_flash_ll_set_read_mode()
dev
->
ctrl
.
wp
=
level
;
spi_flash_ll.h:467
spi_flash_ll_set_wp_level()
return
dev
->
ctrl
.
val
;
spi_flash_ll.h:477
spi_flash_ll_get_ctrl_val()
*
ctrl_reg
=
dev
->
ctrl
.
val
;
spi_flash_ll.h:503
spi_flash_ll_get_common_command_register_info()
dev
->
ctrl
.
val
=
ctrl_reg
;
spi_flash_ll.h:519
spi_flash_ll_set_common_command_register_info()
hw
->
ctrl
.
val
=
0
;
spi_ll.h:181
spi_ll_slave_init()
hw
->
ctrl
.
wr_bit_order
=
lsbfirst
;
spi_ll.h:414
spi_ll_set_tx_lsbfirst()
hw
->
ctrl
.
rd_bit_order
=
lsbfirst
;
spi_ll.h:425
spi_ll_set_rx_lsbfirst()
hw
->
ctrl
.
val
&=
~
SPI_LL_ONE_LINE_CTRL_MASK
;
spi_ll.h:547
spi_ll_master_set_line_mode()
hw
->
ctrl
.
fread_dual
=
1
;
spi_ll.h:556
spi_ll_master_set_line_mode()
hw
->
ctrl
.
fread_dio
=
1
;
spi_ll.h:560
spi_ll_master_set_line_mode()
hw
->
ctrl
.
fastrd_mode
=
1
;
spi_ll.h:565
spi_ll_master_set_line_mode()
hw
->
ctrl
.
fread_quad
=
1
;
spi_ll.h:570
spi_ll_master_set_line_mode()
hw
->
ctrl
.
fread_qio
=
1
;
spi_ll.h:574
spi_ll_master_set_line_mode()
hw
->
ctrl
.
fastrd_mode
=
1
;
spi_ll.h:579
spi_ll_master_set_line_mode()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
spi_dev_s::ctrl
is read by 12 functions:
All items filtered out
spi_dev_s::ctrl
spi_flash_ll_reset()
spi_flash_ll_erase_sector()
spi_flash_ll_set_read_mode()
spi_flash_ll_set_wp_level()
spi_flash_ll_get_ctrl_val()
spi_flash_ll_get_common_command_register_info()
spi_flash_ll_set_common_command_register_info()
bootloader_flash_execute_command_common()
spi_ll_slave_init()
spi_ll_set_tx_lsbfirst()
spi_ll_set_rx_lsbfirst()
spi_ll_master_set_line_mode()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out