ESP-IDF
mcpwm_operator_reg_t::fh_cfg0
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_operator_reg_t::fh_cfg0
mcpwm_operator_reg_t::fh_cfg0 field
Syntax
Show:
Summary
Declaration
from
mcpwm_struct.h:1433
mcpwm_fh_cfg0_reg_t
fh_cfg0
;
Examples
References
from
examples
Code
Location
Referrer
mcpwm_fh_cfg0_reg_t
fh_cfg0
;
mcpwm_struct.h:1433
mcpwm
->
operators
[
operator_id
]
.
fh_cfg0
.
val
&=
~
(
0x03
<
<
(
8
+
8
*
generator_id
+
4
*
MCPWM_LL_BRAKE_MODE_TO_REG_VAL
(
brake_mode
)
+
2
)
)
;
mcpwm_ll.h:861
mcpwm_ll_generator_set_action_on_brake_event()
mcpwm
->
operators
[
operator_id
]
.
fh_cfg0
.
val
|=
MCPWM_LL_GEN_ACTION_TO_REG_CAL
(
action
)
<
<
(
8
+
8
*
generator_id
+
4
*
MCPWM_LL_BRAKE_MODE_TO_REG_VAL
(
brake_mode
)
+
2
)
;
mcpwm_ll.h:862
mcpwm_ll_generator_set_action_on_brake_event()
mcpwm
->
operators
[
operator_id
]
.
fh_cfg0
.
val
&=
~
(
0x03
<
<
(
8
+
8
*
generator_id
+
4
*
MCPWM_LL_BRAKE_MODE_TO_REG_VAL
(
brake_mode
)
)
)
;
mcpwm_ll.h:864
mcpwm_ll_generator_set_action_on_brake_event()
mcpwm
->
operators
[
operator_id
]
.
fh_cfg0
.
val
|=
MCPWM_LL_GEN_ACTION_TO_REG_CAL
(
action
)
<
<
(
8
+
8
*
generator_id
+
4
*
MCPWM_LL_BRAKE_MODE_TO_REG_VAL
(
brake_mode
)
)
;
mcpwm_ll.h:865
mcpwm_ll_generator_set_action_on_brake_event()
mcpwm
->
operators
[
operator_id
]
.
fh_cfg0
.
val
|=
(
1
<
<
(
7
-
fault_sig
)
)
;
mcpwm_ll.h:1321
mcpwm_ll_brake_enable_oneshot_mode()
mcpwm
->
operators
[
operator_id
]
.
fh_cfg0
.
val
&=
~
(
1
<
<
(
7
-
fault_sig
)
)
;
mcpwm_ll.h:1323
mcpwm_ll_brake_enable_oneshot_mode()
mcpwm
->
operators
[
operator_id
]
.
fh_cfg0
.
val
|=
(
enable
<
<
(
3
-
fault_sig
)
)
;
mcpwm_ll.h:1338
mcpwm_ll_brake_enable_cbc_mode()
mcpwm
->
operators
[
operator_id
]
.
fh_cfg0
.
val
&=
~
(
1
<
<
(
3
-
fault_sig
)
)
;
mcpwm_ll.h:1340
mcpwm_ll_brake_enable_cbc_mode()
mcpwm
->
operators
[
operator_id
]
.
fh_cfg0
.
fh_sw_cbc
=
enable
;
mcpwm_ll.h:1385
mcpwm_ll_brake_enable_soft_cbc()
mcpwm
->
operators
[
operator_id
]
.
fh_cfg0
.
fh_sw_ost
=
enable
;
mcpwm_ll.h:1397
mcpwm_ll_brake_enable_soft_ost()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mcpwm_operator_reg_t::fh_cfg0
is read by 5 functions:
All items filtered out
mcpwm_operator_reg_t::fh_cfg0
mcpwm_ll_generator_set_action_on_brake_event()
mcpwm_ll_brake_enable_oneshot_mode()
mcpwm_ll_brake_enable_cbc_mode()
mcpwm_ll_brake_enable_soft_cbc()
mcpwm_ll_brake_enable_soft_ost()
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