Button to be configured This parameter can be one of the following values: @arg BUTTON_WAKEUP: Wakeup Push Button @arg BUTTON_USER: User Push Button
Button_Mode
Button mode This parameter can be one of the following values: @arg BUTTON_MODE_GPIO: Button will be used as simple IO @arg BUTTON_MODE_EXTI: Button will be connected to EXTI line with interrupt generation capability
Examples
BSP_PB_Init() is referenced by 36 libraries and example projects: