/* Configures User push-button in GPIO or EXTI Line Mode.  */
void UserButton_Init(void)
/* Configures User push-button in GPIO or EXTI Line Mode.  */
void UserButton_Init(void)
{
  USER_BUTTON_GPIO_CLK_ENABLE();
  LL_GPIO_SetPinMode(USER_BUTTON_GPIO_PORT, USER_BUTTON_PIN, LL_GPIO_MODE_INPUT);
  LL_GPIO_SetPinPull(USER_BUTTON_GPIO_PORT, USER_BUTTON_PIN, LL_GPIO_PULL_NO);
  USER_BUTTON_SYSCFG_SET_EXTI();
  USER_BUTTON_EXTI_LINE_ENABLE();
  USER_BUTTON_EXTI_FALLING_TRIG_ENABLE();
  NVIC_EnableIRQ(USER_BUTTON_EXTI_IRQn); 
  NVIC_SetPriority(USER_BUTTON_EXTI_IRQn,0x03);  
}