Button to be configured This parameter can be one of the following values: @arg BUTTON_WAKEUP: Wakeup Push Button
ButtonMode
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 15 libraries and example projects: