Closed KamilDuljas closed 10 months ago
Hello @KamilDuljas,
Thank you for your report. In fact, MY_GPIO_PIN 0x0003U
is a valid parameter for the IS_GPIO_PIN
macro as this macro accepts any combination of GPIO_PIN_x
where x can be (0..15). We'll add this information in a comment to clarify things.
With Regards,
ST Internal Reference: 153705
This macro has not fully test coverage for GPIO pin. For example, if I defined my pin manually:
define MY_GPIO_PIN 0x0003U
and use IS_GPIO_PIN(MY_GPIO_PIN), then it return true, but it should not