0 Members and 1 Guest are viewing this topic.
I actually like it. You just create a flash array of those structs to configure the pins.Easy to read, easy to switch, easy to diff.Yes it takes a bit flash. But it would take an equal (if not larger) amount of flash if you write all the register configure lines separate.