ESP-IDF
pcnt_isr_func
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
pcnt_isr_func
pcnt_isr_func variable
Syntax
Show:
Summary
Declaration
from
pcnt_legacy.c:61
static
pcnt_isr_func_t
*
pcnt_isr_func
=
NULL
;
Examples
References
from
examples
Code
Location
Referrer
static
pcnt_isr_func_t
*
pcnt_isr_func
=
NULL
;
pcnt_legacy.c:61
PCNT_CHECK
(
pcnt_isr_func
!=
NULL
,
"ISR service is not installed, call pcnt_install_isr_service() first"
,
ESP_ERR_INVALID_STATE
)
;
pcnt_legacy.c:274
_pcnt_isr_handler_add()
if
(
pcnt_isr_func
)
{
pcnt_legacy.c:279
_pcnt_isr_handler_add()
pcnt_isr_func
[
unit
]
.
fn
=
isr_handler
;
pcnt_legacy.c:280
_pcnt_isr_handler_add()
pcnt_isr_func
[
unit
]
.
args
=
args
;
pcnt_legacy.c:281
_pcnt_isr_handler_add()
PCNT_CHECK
(
pcnt_isr_func
!=
NULL
,
"ISR service is not installed"
,
ESP_ERR_INVALID_STATE
)
;
pcnt_legacy.c:292
_pcnt_isr_handler_remove()
if
(
pcnt_isr_func
)
{
pcnt_legacy.c:297
_pcnt_isr_handler_remove()
pcnt_isr_func
[
unit
]
.
fn
=
NULL
;
pcnt_legacy.c:298
_pcnt_isr_handler_remove()
pcnt_isr_func
[
unit
]
.
args
=
NULL
;
pcnt_legacy.c:299
_pcnt_isr_handler_remove()
if
(
pcnt_isr_func
[
unit
]
.
fn
!=
NULL
)
{
pcnt_legacy.c:318
pcnt_intr_service()
(
pcnt_isr_func
[
unit
]
.
fn
)
(
pcnt_isr_func
[
unit
]
.
args
)
;
pcnt_legacy.c:319
pcnt_intr_service()
PCNT_CHECK
(
pcnt_isr_func
==
NULL
,
"ISR service already installed"
,
ESP_ERR_INVALID_STATE
)
;
pcnt_legacy.c:327
_pcnt_isr_service_install()
pcnt_isr_func
=
(
pcnt_isr_func_t
*
)
calloc
(
SOC_PCNT_UNITS_PER_GROUP
,
sizeof
(
pcnt_isr_func_t
)
)
;
pcnt_legacy.c:329
_pcnt_isr_service_install()
if
(
pcnt_isr_func
==
NULL
)
{
pcnt_legacy.c:331
_pcnt_isr_service_install()
free
(
pcnt_isr_func
)
;
pcnt_legacy.c:337
_pcnt_isr_service_install()
pcnt_isr_func
=
NULL
;
pcnt_legacy.c:338
_pcnt_isr_service_install()
PCNT_CHECK
(
pcnt_isr_func
!=
NULL
,
"ISR Service not installed yet."
,
ESP_ERR_INVALID_STATE
)
;
pcnt_legacy.c:348
_pcnt_isr_service_uninstall()
free
(
pcnt_isr_func
)
;
pcnt_legacy.c:351
_pcnt_isr_service_uninstall()
pcnt_isr_func
=
NULL
;
pcnt_legacy.c:352
_pcnt_isr_service_uninstall()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
pcnt_isr_func
is written by 2 functions and is read by 5 functions:
_pcnt_isr_service_install()
_pcnt_isr_service_uninstall()
All items filtered out
pcnt_isr_func
_pcnt_isr_handler_add()
_pcnt_isr_handler_remove()
pcnt_intr_service()
_pcnt_isr_service_install()
_pcnt_isr_service_uninstall()
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