ESP-IDF
pcnt_channel_level_action_t
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Values
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
pcnt_channel_level_action_t
pcnt_channel_level_action_t enum
Syntax
Show:
Summary
Declaration
from
pcnt_types.h:16
enum
{
PCNT_CHANNEL_LEVEL_ACTION_KEEP
,
PCNT_CHANNEL_LEVEL_ACTION_INVERSE
,
PCNT_CHANNEL_LEVEL_ACTION_HOLD
,
}
;
Values
Value
Declared as
Description
pcnt_channel_level_action_t::PCNT_CHANNEL_LEVEL_ACTION_KEEP
Keep current count mode.
pcnt_channel_level_action_t::PCNT_CHANNEL_LEVEL_ACTION_INVERSE
Invert current count mode (increase -> decrease, decrease -> increase).
pcnt_channel_level_action_t::PCNT_CHANNEL_LEVEL_ACTION_HOLD
Hold current count value.
Examples
References
from
examples
Code
Location
Scope
Referrer
typedef
enum
{
pcnt_types.h:16
}
pcnt_channel_level_action_t
;
pcnt_types.h:20
typedef
pcnt_channel_level_action_t
pcnt_ctrl_mode_t
;
pcnt_types_legacy.h:74
static
inline
esp_err_t
_pcnt_set_mode
(
pcnt_port_t
pcnt_port
,
pcnt_unit_t
unit
,
pcnt_channel_t
channel
,
pcnt_count_mode_t
pos_mode
,
pcnt_count_mode_t
neg_mode
,
pcnt_ctrl_mode_t
hctrl_mode
,
pcnt_ctrl_mode_t
lctrl_mode
)
pcnt_legacy.c:68
_pcnt_set_mode()
_pcnt_set_mode()::lctrl_mode
esp_err_t
pcnt_set_mode
(
pcnt_unit_t
unit
,
pcnt_channel_t
channel
,
pcnt_count_mode_t
pos_mode
,
pcnt_count_mode_t
neg_mode
,
pcnt_ctrl_mode_t
hctrl_mode
,
pcnt_ctrl_mode_t
lctrl_mode
)
pcnt_legacy.c:434
pcnt_set_mode()
pcnt_set_mode()::lctrl_mode
static
inline
void
pcnt_ll_set_level_action
(
pcnt_dev_t
*
hw
,
uint32_t
unit
,
uint32_t
channel
,
pcnt_channel_level_action_t
high_act
,
pcnt_channel_level_action_t
low_act
)
pcnt_ll.h:78
pcnt_ll_set_level_action()
pcnt_ll_set_level_action()::low_act
}
pcnt_channel_level_action_t
;
pcnt_types.h:20
pcnt_channel_level_action_t
typedef
pcnt_channel_level_action_t
pcnt_ctrl_mode_t
;
pcnt_types_legacy.h:74
pcnt_ctrl_mode_t
pcnt_ctrl_mode_t
lctrl_mode
;
/*!< PCNT low control mode */
pcnt_types_legacy.h:96
pcnt_config_t
pcnt_config_t::lctrl_mode
pcnt_ctrl_mode_t
hctrl_mode
;
/*!< PCNT high control mode */
pcnt_types_legacy.h:97
pcnt_config_t
pcnt_config_t::hctrl_mode
esp_err_t
pcnt_channel_set_level_action
(
pcnt_channel_handle_t
chan
,
pcnt_channel_level_action_t
high_act
,
pcnt_channel_level_action_t
low_act
)
pulse_cnt.c:840
pcnt_channel_set_level_action()
pcnt_channel_set_level_action()::low_act
esp_err_t
pcnt_channel_set_level_action
(
pcnt_channel_handle_t
chan
,
pcnt_channel_level_action_t
high_act
,
pcnt_channel_level_action_t
low_act
)
;
pulse_cnt.h:397
pcnt_channel_set_level_action()
pcnt_channel_set_level_action()::high_act
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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
Instance
Scope
Location
Project
pcnt_config_t::lctrl_mode
pcnt_config_t
pcnt_types_legacy.h:96
pcnt_config_t::hctrl_mode
pcnt_config_t
pcnt_types_legacy.h:97
_pcnt_set_mode()::hctrl_mode
_pcnt_set_mode()
pcnt_legacy.c:68
_pcnt_set_mode()::lctrl_mode
_pcnt_set_mode()
pcnt_legacy.c:68
pcnt_set_mode()::hctrl_mode
pcnt_set_mode()
pcnt_legacy.c:434
pcnt_set_mode()::lctrl_mode
pcnt_set_mode()
pcnt_legacy.c:434
pcnt_ll_set_level_action()::high_act
pcnt_ll_set_level_action()
pcnt_ll.h:78
pcnt_ll_set_level_action()::low_act
pcnt_ll_set_level_action()
pcnt_ll.h:78
pcnt_channel_set_level_action()::high_act
pcnt_channel_set_level_action()
pulse_cnt.c:840
pcnt_channel_set_level_action()::low_act
pcnt_channel_set_level_action()
pulse_cnt.c:840
pcnt_channel_set_level_action()::high_act
pcnt_channel_set_level_action()
pulse_cnt.h:397
pcnt_channel_set_level_action()::low_act
pcnt_channel_set_level_action()
pulse_cnt.h:397
Lifecycle
from
examples
All items filtered out
All items filtered out