Solved
Does the order of the pins assigned with GPIO_InitStruct.Pin matter? ex: PIN1 | PIN2 | PIN3 vs PIN2 | PIN1 | PIN3, does it give the same result? and what about HAL_GPIO_WritePin, does the order of the pins matter?
..
..
The pins are represented by bits, which are put together using the OR function, so their order at the line of source doesn't matter. This applies to all similar function calls.
Good luck!
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
/Peter
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.