STM32c0. Issue in push button on external interrupt example
Hi All
I'm new to STM32 and I'm exploring it a little bit. I think I've found an issue in the HAL
in configuration Line is referred to the external interrupt line to be connected.
it is configured in the BSP with (void)HAL_EXTI_GetHandle(&hpb_exti[Button], BUTTON_EXTI_LINE[Button]);
where static const uint32_t BUTTON_EXTI_LINE[BUTTONn] = {BUTTON_USER_EXTI_LINE}; and BUTTON_USER_EXTI_LINE is 0x2000;
the problem is in the usage of Line (in all the stm32c0xx_hal_exti.c file!)

linepos is almost always 0 since EXTI_PIN_MASK is 1 and this is wrong. Removing the & all seems to work properly.
Since it one of the first test that I'm doing with the ST IDE and HAL might be I'm doing something wrong :D
