STLUX adc trigger
I am trying to configure an STLUX285 SMED to trigger an ADC measurement but am unable to find the documentation of the registers required to do this.
RM0380 claims "SMED as ADC trigger source" in section 21.16.
"AFR_IOMXP2" is supposed to have a bit called "ADC_HWtrg" yet I cannot find it.
likewise the bit "SMD_HWtrg" seems not to be documented anywhere.
How do I configure the SMED to trigger an ADC reading at a precise point in time?
For context:
The SMED is used to drive the primary mosfet of a flyback converter. I want to use it also to trigger an adc conversion of an aux winding.
