ESP-IDF
mcpwm_context_t::cap_isr_func
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (3/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
mcpwm_context_t::cap_isr_func
mcpwm_context_t::cap_isr_func field
Syntax
Show:
Summary
Declaration
from
mcpwm_legacy.c:111
cap_isr_func_t
cap_isr_func
[
SOC_MCPWM_CAPTURE_CHANNELS_PER_TIMER
]
;
Examples
References
from
examples
Code
Location
Referrer
cap_isr_func_t
cap_isr_func
[
SOC_MCPWM_CAPTURE_CHANNELS_PER_TIMER
]
;
// handler for ISR callback, one for each cap ch
mcpwm_legacy.c:111
if
(
curr_context
->
cap_isr_func
[
i
]
.
fn
!=
NULL
)
{
mcpwm_legacy.c:832
mcpwm_default_isr_handler()
if
(
curr_context
->
cap_isr_func
[
i
]
.
fn
(
curr_context
->
group_id
,
i
,
&
edata
,
mcpwm_legacy.c:837
mcpwm_default_isr_handler()
curr_context
->
cap_isr_func
[
i
]
.
args
)
)
{
mcpwm_legacy.c:838
mcpwm_default_isr_handler()
ESP_RETURN_ON_FALSE
(
context
[
mcpwm_num
]
.
cap_isr_func
[
cap_channel
]
.
fn
==
NULL
,
ESP_ERR_INVALID_STATE
,
TAG
,
mcpwm_legacy.c:853
mcpwm_capture_enable_channel()
context
[
mcpwm_num
]
.
cap_isr_func
[
cap_channel
]
.
fn
=
cap_conf
->
capture_cb
;
mcpwm_legacy.c:888
mcpwm_capture_enable_channel()
context
[
mcpwm_num
]
.
cap_isr_func
[
cap_channel
]
.
args
=
cap_conf
->
user_data
;
mcpwm_legacy.c:889
mcpwm_capture_enable_channel()
context
[
mcpwm_num
]
.
cap_isr_func
[
cap_channel
]
.
fn
=
NULL
;
mcpwm_legacy.c:914
mcpwm_capture_disable_channel()
context
[
mcpwm_num
]
.
cap_isr_func
[
cap_channel
]
.
args
=
NULL
;
mcpwm_legacy.c:915
mcpwm_capture_disable_channel()
if
(
context
[
mcpwm_num
]
.
cap_isr_func
[
i
]
.
fn
!=
NULL
)
{
mcpwm_legacy.c:919
mcpwm_capture_disable_channel()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mcpwm_context_t::cap_isr_func
is read by 3 functions:
All items filtered out
mcpwm_context_t::cap_isr_func
mcpwm_default_isr_handler()
mcpwm_capture_enable_channel()
mcpwm_capture_disable_channel()
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