Snippet - Using register class to make analog signal output on Cerberus

Using register class to make analog signal output on Cerberus

This program is example on how to make analog signal out put using register class.

1 Like

Thanks Dat! Quite a bit of addressing and bit-twiddling for a C# programmer like me. Fortunately, been there done that in a past life, so it’s not foreign, just forgotten. I’ve got the base addresses ported from stm32f4xx.h to a C# class, as well as most of the peripheral struct typedefs from same. Actually, their just classes of more addresses offset from the base addresses. I’ll be working on the register bit definitions next. Please, anyone, stop me if you’ve done this already :). I’ll figure out how to code share and upload it once I’m finished.