Try and fix some of the specifics from old f4 source material.
Sampling time and sequence length, along with the vbat channel are specific to the f4/f7, and can't be shared with the l1 and friends. Pull them out to their own common file.