ESP-IDF
mcpwm_dev_t::cap_chn_cfg
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
mcpwm_dev_t::cap_chn_cfg
mcpwm_dev_t::cap_chn_cfg field
Syntax
Show:
Summary
Declaration
from
mcpwm_struct.h:1447
volatile
mcpwm_cap_chn_cfg_reg_t
cap_chn_cfg
[
3
]
;
Examples
References
from
examples
Code
Location
Referrer
volatile
mcpwm_cap_chn_cfg_reg_t
cap_chn_cfg
[
3
]
;
mcpwm_struct.h:1447
mcpwm
->
cap_chn_cfg
[
channel
]
.
capn_en
=
enable
;
mcpwm_ll.h:1468
mcpwm_ll_capture_enable_channel()
mcpwm
->
cap_chn_cfg
[
channel
]
.
val
|=
1
<
<
2
;
mcpwm_ll.h:1535
mcpwm_ll_capture_enable_posedge()
mcpwm
->
cap_chn_cfg
[
channel
]
.
val
&=
~
(
1
<
<
2
)
;
mcpwm_ll.h:1537
mcpwm_ll_capture_enable_posedge()
mcpwm
->
cap_chn_cfg
[
channel
]
.
val
|=
1
<
<
1
;
mcpwm_ll.h:1551
mcpwm_ll_capture_enable_negedge()
mcpwm
->
cap_chn_cfg
[
channel
]
.
val
&=
~
(
1
<
<
1
)
;
mcpwm_ll.h:1553
mcpwm_ll_capture_enable_negedge()
mcpwm
->
cap_chn_cfg
[
channel
]
.
capn_in_invert
=
invert
;
mcpwm_ll.h:1566
mcpwm_ll_invert_input()
mcpwm
->
cap_chn_cfg
[
channel
]
.
capn_sw
=
1
;
// auto clear
mcpwm_ll.h:1577
mcpwm_ll_trigger_soft_capture()
HAL_FORCE_MODIFY_U32_REG_FIELD
(
mcpwm
->
cap_chn_cfg
[
channel
]
,
capn_prescale
,
prescale
-
1
)
;
mcpwm_ll.h:1616
mcpwm_ll_capture_set_prescale()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mcpwm_dev_t::cap_chn_cfg
is read by 6 functions:
All items filtered out
mcpwm_dev_t::cap_chn_cfg
mcpwm_ll_capture_enable_channel()
mcpwm_ll_capture_enable_posedge()
mcpwm_ll_capture_enable_negedge()
mcpwm_ll_invert_input()
mcpwm_ll_trigger_soft_capture()
mcpwm_ll_capture_set_prescale()
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