Question
gpio_one_pin(zap_gpio.A.pin00.analog.lock_on); /// adc1-0 - PA0. 43
How do you like this record?
Here, a set of structure elements is used as a parameter. Yes, this is one giant structure for all MK legs, with all options for filling, including alternative functions. For each mk, you need to build your own unique structure (for F4, the catalog already exists). I am doing this by converting data from a cube, which is a little tedious. I made the first structure with my hands, and here I was really tired.
If anyone is interested - https://github.com/AVI-crak/gpio_one
