ESP-IDF
pcnt_unit_t::fsm
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (1/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
pcnt_unit_t::fsm
pcnt_unit_t::fsm field
Syntax
Show:
Summary
Declaration
from
pulse_cnt.c:117
pcnt_unit_fsm_t
fsm
;
Examples
References
from
examples
Code
Location
Referrer
pcnt_unit_fsm_t
fsm
;
// record PCNT unit's driver state
pulse_cnt.c:117
unit
->
fsm
=
PCNT_UNIT_FSM_INIT
;
pulse_cnt.c:302
pcnt_new_unit()
ESP_RETURN_ON_FALSE
(
unit
->
fsm
==
PCNT_UNIT_FSM_INIT
,
ESP_ERR_INVALID_STATE
,
TAG
,
"unit not in init state"
)
;
pulse_cnt.c:322
pcnt_del_unit()
ESP_RETURN_ON_FALSE
(
unit
->
fsm
==
PCNT_UNIT_FSM_INIT
,
ESP_ERR_INVALID_STATE
,
TAG
,
"unit not in init state"
)
;
pulse_cnt.c:389
pcnt_unit_set_glitch_filter()
ESP_RETURN_ON_FALSE
(
unit
->
fsm
==
PCNT_UNIT_FSM_INIT
,
ESP_ERR_INVALID_STATE
,
TAG
,
"unit not in init state"
)
;
pulse_cnt.c:412
pcnt_unit_enable()
unit
->
fsm
=
PCNT_UNIT_FSM_ENABLE
;
pulse_cnt.c:423
pcnt_unit_enable()
ESP_RETURN_ON_FALSE
(
unit
->
fsm
==
PCNT_UNIT_FSM_ENABLE
,
ESP_ERR_INVALID_STATE
,
TAG
,
"unit not in enable state"
)
;
pulse_cnt.c:430
pcnt_unit_disable()
unit
->
fsm
=
PCNT_UNIT_FSM_INIT
;
pulse_cnt.c:441
pcnt_unit_disable()
ESP_RETURN_ON_FALSE_ISR
(
unit
->
fsm
==
PCNT_UNIT_FSM_ENABLE
,
ESP_ERR_INVALID_STATE
,
TAG
,
"unit not enabled yet"
)
;
pulse_cnt.c:448
pcnt_unit_start()
ESP_RETURN_ON_FALSE_ISR
(
unit
->
fsm
==
PCNT_UNIT_FSM_ENABLE
,
ESP_ERR_INVALID_STATE
,
TAG
,
"unit not enabled yet"
)
;
pulse_cnt.c:462
pcnt_unit_stop()
ESP_RETURN_ON_FALSE
(
unit
->
fsm
==
PCNT_UNIT_FSM_INIT
,
ESP_ERR_INVALID_STATE
,
TAG
,
"unit not in init state"
)
;
pulse_cnt.c:525
pcnt_unit_register_event_callbacks()
ESP_GOTO_ON_FALSE
(
unit
->
fsm
==
PCNT_UNIT_FSM_INIT
,
ESP_ERR_INVALID_STATE
,
err
,
TAG
,
"unit not in init state"
)
;
pulse_cnt.c:715
pcnt_new_channel()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
pcnt_unit_t::fsm
is written by 3 functions and is read by 8 functions:
pcnt_new_unit()
pcnt_unit_enable()
pcnt_unit_disable()
All items filtered out
pcnt_unit_t::fsm
pcnt_del_unit()
pcnt_unit_set_glitch_filter()
pcnt_unit_enable()
pcnt_unit_disable()
pcnt_unit_start()
pcnt_unit_stop()
pcnt_unit_register_event_callbacks()
pcnt_new_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