esp_hal::pcnt

Module channel

Source
Available on crate feature unstable only.
Expand description

§PCNT - Channel Configuration

§Overview

The channel module allows users to configure and manage individual channels of the PCNT peripheral. It provides methods to set various parameters for each channel, such as control modes for signal edges, action on control level, and configurations for positive and negative edge count modes.

Structs§

  • Represents a channel within a pulse counter unit.

Enums§

  • Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is high.
  • Configures the behavior when the signal input of channel %s detects a negative edge.