ESP-IDF
spi_dev_s::ctrl2
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/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::ctrl2
spi_dev_s::ctrl2 field
Syntax
Show:
Summary
Declaration
from
spi_struct.h:76
union
{
struct
{
uint32_t
setup_time
:
4
;
uint32_t
hold_time
:
4
;
uint32_t
reserved8_15
:
8
;
uint32_t
miso_delay_mode
:
2
;
uint32_t
miso_delay_num
:
3
;
uint32_t
mosi_delay_mode
:
2
;
uint32_t
mosi_delay_num
:
3
;
uint32_t
cs_delay_mode
:
2
;
uint32_t
cs_delay_num
:
4
;
}
;
uint32_t
val
;
}
ctrl2
;
Examples
References
from
examples
Code
Location
Referrer
}
ctrl2
;
spi_struct.h:89
dev
->
ctrl2
.
hold_time
=
hold_n
;
spi_flash_ll.h:404
spi_flash_ll_set_hold()
dev
->
ctrl2
.
setup_time
=
cs_setup_time
-
1
;
spi_flash_ll.h:411
spi_flash_ll_set_cs_setup()
hw
->
ctrl2
.
val
=
0
;
spi_ll.h:161
spi_ll_master_init()
hw
->
ctrl2
.
miso_delay_mode
=
0
;
spi_ll.h:464
spi_ll_slave_set_mode()
hw
->
ctrl2
.
miso_delay_num
=
0
;
spi_ll.h:465
spi_ll_slave_set_mode()
hw
->
ctrl2
.
mosi_delay_mode
=
2
;
spi_ll.h:466
spi_ll_slave_set_mode()
hw
->
ctrl2
.
mosi_delay_num
=
2
;
spi_ll.h:467
spi_ll_slave_set_mode()
hw
->
ctrl2
.
miso_delay_mode
=
2
;
spi_ll.h:471
spi_ll_slave_set_mode()
hw
->
ctrl2
.
miso_delay_num
=
0
;
spi_ll.h:472
spi_ll_slave_set_mode()
hw
->
ctrl2
.
mosi_delay_mode
=
0
;
spi_ll.h:473
spi_ll_slave_set_mode()
hw
->
ctrl2
.
mosi_delay_num
=
0
;
spi_ll.h:474
spi_ll_slave_set_mode()
hw
->
ctrl2
.
miso_delay_mode
=
0
;
spi_ll.h:479
spi_ll_slave_set_mode()
hw
->
ctrl2
.
miso_delay_num
=
0
;
spi_ll.h:480
spi_ll_slave_set_mode()
hw
->
ctrl2
.
mosi_delay_mode
=
1
;
spi_ll.h:481
spi_ll_slave_set_mode()
hw
->
ctrl2
.
mosi_delay_num
=
2
;
spi_ll.h:482
spi_ll_slave_set_mode()
hw
->
ctrl2
.
miso_delay_mode
=
1
;
spi_ll.h:486
spi_ll_slave_set_mode()
hw
->
ctrl2
.
miso_delay_num
=
0
;
spi_ll.h:487
spi_ll_slave_set_mode()
hw
->
ctrl2
.
mosi_delay_mode
=
0
;
spi_ll.h:488
spi_ll_slave_set_mode()
hw
->
ctrl2
.
mosi_delay_num
=
0
;
spi_ll.h:489
spi_ll_slave_set_mode()
hw
->
ctrl2
.
miso_delay_mode
=
0
;
spi_ll.h:500
spi_ll_slave_set_mode()
hw
->
ctrl2
.
miso_delay_num
=
2
;
spi_ll.h:501
spi_ll_slave_set_mode()
hw
->
ctrl2
.
mosi_delay_mode
=
0
;
spi_ll.h:502
spi_ll_slave_set_mode()
hw
->
ctrl2
.
mosi_delay_num
=
3
;
spi_ll.h:503
spi_ll_slave_set_mode()
hw
->
ctrl2
.
miso_delay_mode
=
0
;
spi_ll.h:507
spi_ll_slave_set_mode()
hw
->
ctrl2
.
miso_delay_num
=
2
;
spi_ll.h:508
spi_ll_slave_set_mode()
hw
->
ctrl2
.
mosi_delay_mode
=
0
;
spi_ll.h:509
spi_ll_slave_set_mode()
hw
->
ctrl2
.
mosi_delay_num
=
3
;
spi_ll.h:510
spi_ll_slave_set_mode()
hw
->
ctrl2
.
mosi_delay_mode
=
delay_mode
;
spi_ll.h:784
spi_ll_set_mosi_delay()
hw
->
ctrl2
.
mosi_delay_num
=
delay_num
;
spi_ll.h:785
spi_ll_set_mosi_delay()
hw
->
ctrl2
.
miso_delay_mode
=
delay_mode
;
spi_ll.h:799
spi_ll_set_miso_delay()
hw
->
ctrl2
.
miso_delay_num
=
delay_num
;
spi_ll.h:800
spi_ll_set_miso_delay()
hw
->
ctrl2
.
hold_time
=
hold
;
spi_ll.h:826
spi_ll_master_set_cs_hold()
hw
->
ctrl2
.
setup_time
=
setup
-
1
;
spi_ll.h:841
spi_ll_master_set_cs_setup()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
spi_dev_s::ctrl2
is read by 8 functions:
All items filtered out
spi_dev_s::ctrl2
spi_flash_ll_set_hold()
spi_flash_ll_set_cs_setup()
spi_ll_master_init()
spi_ll_slave_set_mode()
spi_ll_set_mosi_delay()
spi_ll_set_miso_delay()
spi_ll_master_set_cs_hold()
spi_ll_master_set_cs_setup()
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