STM32F4xx_Nucleo_144 BSP User Manual: STM32F4XX NUCLEO 144 LOW LEVEL BUTTON

STM32F4xx Nucleo 144 BSP Drivers

STM32F4xx_Nucleo_144 BSP User Manual
STM32F4XX NUCLEO 144 LOW LEVEL BUTTON

Defines

#define BUTTONn   1
#define USER_BUTTON_PIN   GPIO_PIN_13
 Key push-button.
#define USER_BUTTON_GPIO_PORT   GPIOC
#define USER_BUTTON_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOC_CLK_ENABLE()
#define USER_BUTTON_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOC_CLK_DISABLE()
#define USER_BUTTON_EXTI_LINE   GPIO_PIN_13
#define USER_BUTTON_EXTI_IRQn   EXTI15_10_IRQn
#define BUTTONx_GPIO_CLK_ENABLE(__INDEX__)   USER_BUTTON_GPIO_CLK_ENABLE()
#define BUTTONx_GPIO_CLK_DISABLE(__INDEX__)   USER_BUTTON_GPIO_CLK_DISABLE()
#define KEY_BUTTON_PIN   USER_BUTTON_PIN
#define KEY_BUTTON_GPIO_PORT   USER_BUTTON_GPIO_PORT
#define KEY_BUTTON_GPIO_CLK_ENABLE()   USER_BUTTON_GPIO_CLK_ENABLE()
#define KEY_BUTTON_GPIO_CLK_DISABLE()   USER_BUTTON_GPIO_CLK_DISABLE()
#define KEY_BUTTON_EXTI_LINE   USER_BUTTON_EXTI_LINE
#define KEY_BUTTON_EXTI_IRQn   USER_BUTTON_EXTI_IRQn
#define OTG_FS1_OVER_CURRENT_PIN   GPIO_PIN_7
 Discovery Pins definition TODO : to be modified/reviewed.
#define OTG_FS1_OVER_CURRENT_PORT   GPIOG
#define OTG_FS1_OVER_CURRENT_PORT_CLK_ENABLE()   __HAL_RCC_GPIOG_CLK_ENABLE()
#define OTG_FS1_POWER_SWITCH_PIN   GPIO_PIN_6
#define OTG_FS1_POWER_SWITCH_PORT   GPIOG
#define OTG_FS1_POWER_SWITCH_PORT_CLK_ENABLE()   __HAL_RCC_GPIOG_CLK_ENABLE()

Define Documentation

#define BUTTONn   1

Definition at line 153 of file stm32f4xx_nucleo_144.h.

#define BUTTONx_GPIO_CLK_DISABLE (   __INDEX__)    USER_BUTTON_GPIO_CLK_DISABLE()

Definition at line 166 of file stm32f4xx_nucleo_144.h.

#define BUTTONx_GPIO_CLK_ENABLE (   __INDEX__)    USER_BUTTON_GPIO_CLK_ENABLE()

Definition at line 165 of file stm32f4xx_nucleo_144.h.

Referenced by BSP_PB_Init().

Definition at line 174 of file stm32f4xx_nucleo_144.h.

Definition at line 173 of file stm32f4xx_nucleo_144.h.

Definition at line 171 of file stm32f4xx_nucleo_144.h.

Definition at line 170 of file stm32f4xx_nucleo_144.h.

Definition at line 169 of file stm32f4xx_nucleo_144.h.

#define OTG_FS1_OVER_CURRENT_PIN   GPIO_PIN_7

Discovery Pins definition TODO : to be modified/reviewed.

Definition at line 183 of file stm32f4xx_nucleo_144.h.

#define OTG_FS1_OVER_CURRENT_PORT   GPIOG

Definition at line 184 of file stm32f4xx_nucleo_144.h.

#define OTG_FS1_OVER_CURRENT_PORT_CLK_ENABLE ( )    __HAL_RCC_GPIOG_CLK_ENABLE()

Definition at line 185 of file stm32f4xx_nucleo_144.h.

#define OTG_FS1_POWER_SWITCH_PIN   GPIO_PIN_6

Definition at line 187 of file stm32f4xx_nucleo_144.h.

#define OTG_FS1_POWER_SWITCH_PORT   GPIOG

Definition at line 188 of file stm32f4xx_nucleo_144.h.

#define OTG_FS1_POWER_SWITCH_PORT_CLK_ENABLE ( )    __HAL_RCC_GPIOG_CLK_ENABLE()

Definition at line 189 of file stm32f4xx_nucleo_144.h.

#define USER_BUTTON_EXTI_IRQn   EXTI15_10_IRQn

Definition at line 163 of file stm32f4xx_nucleo_144.h.

#define USER_BUTTON_EXTI_LINE   GPIO_PIN_13

Definition at line 162 of file stm32f4xx_nucleo_144.h.

#define USER_BUTTON_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOC_CLK_DISABLE()

Definition at line 161 of file stm32f4xx_nucleo_144.h.

#define USER_BUTTON_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOC_CLK_ENABLE()

Definition at line 160 of file stm32f4xx_nucleo_144.h.

#define USER_BUTTON_GPIO_PORT   GPIOC

Definition at line 159 of file stm32f4xx_nucleo_144.h.

#define USER_BUTTON_PIN   GPIO_PIN_13

Key push-button.

Definition at line 158 of file stm32f4xx_nucleo_144.h.

Generated on Wed Jan 13 2016 13:58:21 for STM32F4xx_Nucleo_144 BSP User Manual by   doxygen 1.7.6.1