Available on crate feature
unstable
only.Expand description
§PCNT - Unit Module
§Overview
The unit
module is responsible for configuring and handling individual
units of the PCNT
peripheral. Each unit represents a separate instance of
the PCNT
module, identified by unit numbers like Unit0
, Unit1
, and so
on. Users can interact with these units to configure settings such as low
and high limits, thresholds, and optional filtering. The unit module also
enables users to pause, resume, and clear the counter, as well as enable or
disable interrupts for specific events associated with the unit.
Structs§
- Represents the counter within a pulse counter unit.
- Events that can occur in a pulse counter unit.
- Invalid filter threshold value
- Invalid high limit - must be > 0
- Invalid low limit - must be < 0
- Represents a pulse counter unit.
Enums§
- the current status of the counter.