stm32-metapac

Crates

git

Versions

stm32u5f9zi

Flavors

Module stm32_metapac::adf::vals

Enumsยง

  • DFLT trigger mode. This bitfield is set and cleared by software. It is used to select the trigger mode of the DFLT0.
  • Bitstream selection. This bitfield is set and cleared by software. It is used to select the bitstream to be used by the DFLT0.
  • CCK1 direction. This bit is set and reset by software. It is used to control the direction of the ADF_CCK1 pin.
  • Divider to control the CCK clock. This bit is set and reset by software. It is used to control the frequency of the bitstream clock on the CCK pin.
  • CCK clock enable. This bit is set and reset by software. It is used to control the generation of the bitstream clock on the CCK pin.
  • Select the CIC order. This bitfield is set and cleared by software. It is used to select the MCIC order.
  • Clock generator mode. This bit is set and reset by software. It is used to define the way the clock generator is enabled. This bit must not be changed if the filter is enabled (DFTEN = 1).
  • Data capture mode. This bitfield is set and cleared by software. It is used to define in which conditions, the samples provided by DLFT0 are stored into the memory.
  • Source data for the digital filter.
  • Sound trigger event configuration. This bit is set and cleared by software. It is used to define if the sddet_evt event is generated only when the SAD enters to MONITOR state or when the SAD enters or exits the DETECT state.
  • Frame size. This bitfield is set and cleared by software. it is used to define the size of one frame and also to define how many samples are taken into account to compute the short-term signal level.
  • Hangover time window. This bitfield is set and cleared by software. It is used to select the hangover time window.
  • High-pass filter cut-off frequency. This bitfield is set and cleared by software. it is used to select the cut-off frequency of the high-pass filter. F PCM represents the sampling frequency at HPF input.
  • LFRNB. This bitfield is set and cleared by software. It is used to define the number of learning frames to perform the first estimate of the noise level.
  • Reshaper filter decimation ratio. This bitfield is set and cleared by software. It is used to select the decimation ratio of the reshaper filter.
  • RXFIFO threshold selection. This bitfield is set and cleared by software. It is used to select the RXFIFO threshold.
  • SAD working mode. This bitfield is set and cleared by software. It is used to define the way the SAD works
  • SAD state. This bitfield is set and cleared by hardware. It indicates the SAD state and is meaningful only when SADEN = 1.
  • Serial clock source. This bitfield is set and cleared by software. It is used to select the clock source of the serial interface.
  • Serial interface mode. This bitfield is set and cleared by software. It is used to select the serial interface mode.
  • SNTHR. This bitfield is set and cleared by software. It is used to select the gain to be applied at CIC output. If the application attempts to write a new gain value while the previous one is not yet applied, this new gain value is ignored. Reading back this bitfield informs the application on the current gain value.
  • CKGEN trigger sensitivity selection. This bit is set and cleared by software. It is used to select the trigger sensitivity of the trigger signals. This bit is not significant if the CKGMOD = 0.
  • Digital filter trigger signal selection.