Expand description
Digital Filter and Sigma-Delta Modulator (DFSDM)
Re-exports§
pub use detector::*;pub use dma::*;pub use filter::*;pub use splits::*;pub use transceiver::*;pub use types::*;
Modules§
- config
- Config value types used across the driver: filter parameters, data packing and shift modes, clock/output sources, and trigger/edge configuration.
- detector
- Instance-level and filter-level detectors: the analog watchdog, extremes, short-circuit and clock-absence detectors.
- dma
- DMA support: the ring-buffered regular-conversion filter that reads converted samples via DMA.
- filter
- Filter and its interrupt handling: filter configuration, the filter driver type, the interrupt handler, and per-filter interrupt/event state.
- splits
- Split-build traits: the interface between
configure_pins’ closure tuple and the shape-dependent split structs. The split structs, selectors andChannelCfgTupleimpls are generated bybuild.rs(seesrc/dfsdm/codegen.rs) and glob-re-exported fromcrate::_generated::dfsdm. - transceiver
- Transceiver driver, its pin reference-counting storage, single-use pin selectors, and the pin-trait associations.
- types
- Type-system: sealed and capability markers, channel markers, pin-presence
(
PinSet) and channel-config tokens, indexed channel types and trigger types.
Structs§
- Channel
Selectors2 - The pin selectors handed to the
crate::dfsdm::Dfsdm::configure_pinsclosure. Declare each transceiver’s pins withcrate::dfsdm::Sel::datin,crate::dfsdm::Sel::datin_ckinorcrate::dfsdm::Sel::none. - Channel
Selectors4 - The pin selectors handed to the
crate::dfsdm::Dfsdm::configure_pinsclosure. Declare each transceiver’s pins withcrate::dfsdm::Sel::datin,crate::dfsdm::Sel::datin_ckinorcrate::dfsdm::Sel::none. - Channel
Selectors8 - The pin selectors handed to the
crate::dfsdm::Dfsdm::configure_pinsclosure. Declare each transceiver’s pins withcrate::dfsdm::Sel::datin,crate::dfsdm::Sel::datin_ckinorcrate::dfsdm::Sel::none. - Dfsdm
- DFSDM driver entry point.
- Dfsdm
Common - Holds references to the peripheral and the optional clock-output. Disables the RCC of the peripheral when dropped.
- Dfsdm
Split2 Ch1Flt - One
crate::dfsdm::TransceiverBuilderper transceiver, onecrate::dfsdm::FilterBuilderper filter, and the sharedcrate::dfsdm::DetectorsBuilder. - Dfsdm
Split4 Ch2Flt - One
crate::dfsdm::TransceiverBuilderper transceiver, onecrate::dfsdm::FilterBuilderper filter, and the sharedcrate::dfsdm::DetectorsBuilder. - Dfsdm
Split4 Ch4Flt - One
crate::dfsdm::TransceiverBuilderper transceiver, onecrate::dfsdm::FilterBuilderper filter, and the sharedcrate::dfsdm::DetectorsBuilder. - Dfsdm
Split8 Ch4Flt - One
crate::dfsdm::TransceiverBuilderper transceiver, onecrate::dfsdm::FilterBuilderper filter, and the sharedcrate::dfsdm::DetectorsBuilder. - Dfsdm
Split8 Ch6Flt - One
crate::dfsdm::TransceiverBuilderper transceiver, onecrate::dfsdm::FilterBuilderper filter, and the sharedcrate::dfsdm::DetectorsBuilder. - Dfsdm
Split8 Ch8Flt - One
crate::dfsdm::TransceiverBuilderper transceiver, onecrate::dfsdm::FilterBuilderper filter, and the sharedcrate::dfsdm::DetectorsBuilder.
Enums§
- Error
- DFSDM error.