On 1/7/25 9:27 AM, Jonathan Santos wrote: > Separate filter type and decimation rate from the sampling frequency > attribute. The new filter type attribute enables SINC3 and WIDEBAND > filters, which were previously unavailable. See related comments in my reply to the documentation patches about wideband vs. FIR and decimation rate vs. -3dB cutoff. > > Previously, combining decimation and MCLK divider in the sampling > frequency obscured performance trade-offs. Lower MCLK divider > settings increase power usage, while lower decimation rates reduce > precision by decreasing averaging. By creating a decimation attribute, > users gain finer control over performance. It seems like we would also want a power_mode attribute. We already have an attribute for this for used by accelerometers so there is some precedent for such an attribute. > > The addition of those attributes allows a wider range of sampling > frequencies and more access to the device features.