STM32L4R9I_EVAL BSP User Manual: LED Constants

STM32L4R9I_EVAL BSP

STM32L4R9I_EVAL BSP User Manual

Defines

#define LEDn   4
#define LED1_PIN   GPIO_PIN_15
#define LED1_GPIO_PORT   GPIOB
#define LED1_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define LED1_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOB_CLK_DISABLE()
#define LED2_PIN   GPIO_PIN_13
#define LED2_GPIO_PORT   GPIOH
#define LED2_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOH_CLK_ENABLE()
#define LED2_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOH_CLK_DISABLE()
#define LED3_PIN   GPIO_PIN_14
#define LED3_GPIO_PORT   GPIOH
#define LED3_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOH_CLK_ENABLE()
#define LED3_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOH_CLK_DISABLE()
#define LED4_PIN   GPIO_PIN_15
#define LED4_GPIO_PORT   GPIOH
#define LED4_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOH_CLK_ENABLE()
#define LED4_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOH_CLK_DISABLE()
#define LEDx_GPIO_CLK_ENABLE(__LED__)
#define LEDx_GPIO_CLK_DISABLE(__LED__)

Define Documentation

#define LED1_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOB_CLK_DISABLE()

Definition at line 159 of file stm32l4r9i_eval.h.

#define LED1_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 158 of file stm32l4r9i_eval.h.

#define LED1_GPIO_PORT   GPIOB

Definition at line 157 of file stm32l4r9i_eval.h.

#define LED1_PIN   GPIO_PIN_15

Definition at line 156 of file stm32l4r9i_eval.h.

#define LED2_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOH_CLK_DISABLE()

Definition at line 164 of file stm32l4r9i_eval.h.

#define LED2_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOH_CLK_ENABLE()

Definition at line 163 of file stm32l4r9i_eval.h.

#define LED2_GPIO_PORT   GPIOH

Definition at line 162 of file stm32l4r9i_eval.h.

#define LED2_PIN   GPIO_PIN_13

Definition at line 161 of file stm32l4r9i_eval.h.

#define LED3_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOH_CLK_DISABLE()

Definition at line 169 of file stm32l4r9i_eval.h.

#define LED3_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOH_CLK_ENABLE()

Definition at line 168 of file stm32l4r9i_eval.h.

#define LED3_GPIO_PORT   GPIOH

Definition at line 167 of file stm32l4r9i_eval.h.

#define LED3_PIN   GPIO_PIN_14

Definition at line 166 of file stm32l4r9i_eval.h.

#define LED4_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOH_CLK_DISABLE()

Definition at line 174 of file stm32l4r9i_eval.h.

#define LED4_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOH_CLK_ENABLE()

Definition at line 173 of file stm32l4r9i_eval.h.

#define LED4_GPIO_PORT   GPIOH

Definition at line 172 of file stm32l4r9i_eval.h.

#define LED4_PIN   GPIO_PIN_15

Definition at line 171 of file stm32l4r9i_eval.h.

#define LEDn   4

Definition at line 154 of file stm32l4r9i_eval.h.

#define LEDx_GPIO_CLK_DISABLE (   __LED__)
Value:
do { if((__LED__) == LED1) { __HAL_RCC_GPIOB_CLK_DISABLE(); } else \
                                              __HAL_RCC_GPIOH_CLK_DISABLE(); } while(0)

Definition at line 179 of file stm32l4r9i_eval.h.

#define LEDx_GPIO_CLK_ENABLE (   __LED__)
Value:
do { if((__LED__) == LED1) { __HAL_RCC_GPIOB_CLK_ENABLE(); } else \
                                              __HAL_RCC_GPIOH_CLK_ENABLE(); } while(0)

Definition at line 176 of file stm32l4r9i_eval.h.

Referenced by BSP_LED_DeInit(), and BSP_LED_Init().

Generated on Thu Oct 12 2017 10:54:00 for STM32L4R9I_EVAL BSP User Manual by   doxygen 1.7.6.1