Posted on February 07, 2016 at 19:55
Hello,
I have an array, that should contain structures for the input and output pins as follows:
typedef
struct
inputStruct
{
uint16_t pin;
GPIO_TypeDef *port;
}input_t;
struct
inputStruct inpu...
Posted on February 07, 2016 at 21:15Yeah should be pointers to work. Didn't notice that, debugging would possibly have shown me the bug. Oh never heard of bit banding before. Nobody told us in study such thing exists but looks good on the first view...