ESP-IDF
i2c_dev_s::ctr
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
i2c_dev_s::ctr
i2c_dev_s::ctr field
Syntax
Show:
Summary
Declaration
from
i2c_struct.h:23
union
{
struct
{
uint32_t
sda_force_out
:
1
;
uint32_t
scl_force_out
:
1
;
uint32_t
sample_scl_level
:
1
;
uint32_t
reserved3
:
1
;
uint32_t
ms_mode
:
1
;
uint32_t
trans_start
:
1
;
uint32_t
tx_lsb_first
:
1
;
uint32_t
rx_lsb_first
:
1
;
uint32_t
clk_en
:
1
;
uint32_t
reserved9
:
23
;
}
;
uint32_t
val
;
}
ctr
;
Examples
References
from
examples
Code
Location
Referrer
}
ctr
;
i2c_struct.h:37
hw
->
ctr
.
tx_lsb_first
=
tx_mode
;
i2c_ll.h:433
i2c_ll_set_data_mode()
hw
->
ctr
.
rx_lsb_first
=
rx_mode
;
i2c_ll.h:434
i2c_ll_set_data_mode()
hw
->
ctr
.
trans_start
=
1
;
i2c_ll.h:514
i2c_ll_start_trans()
typeof
(
hw
->
ctr
)
ctrl_reg
;
i2c_ll.h:691
i2c_ll_master_init()
hw
->
ctr
.
val
=
ctrl_reg
.
val
;
i2c_ll.h:696
i2c_ll_master_init()
typeof
(
hw
->
ctr
)
ctrl_reg
;
i2c_ll.h:708
i2c_ll_slave_init()
hw
->
ctr
.
val
=
ctrl_reg
.
val
;
i2c_ll.h:712
i2c_ll_slave_init()
*
tx_mode
=
(
i2c_trans_mode_t
)
(
hw
->
ctr
.
tx_lsb_first
)
;
i2c_ll.h:1120
i2c_ll_get_data_mode()
*
rx_mode
=
(
i2c_trans_mode_t
)
(
hw
->
ctr
.
rx_lsb_first
)
;
i2c_ll.h:1121
i2c_ll_get_data_mode()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
i2c_dev_s::ctr
is read by 5 functions:
All items filtered out
i2c_dev_s::ctr
i2c_ll_set_data_mode()
i2c_ll_start_trans()
i2c_ll_master_init()
i2c_ll_slave_init()
i2c_ll_get_data_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