STM32L0538-Discovery BSP User Manual: STM32L0538_DISCOVERY_LOW_LEVEL_LED

STM32L0538-Discovery BSP Drivers

STM32L0538-Discovery BSP User Manual

Define for STM32L0538_DISCO board. More...

Defines

#define LEDn   2
#define LED3_PIN   GPIO_PIN_4
#define LED3_GPIO_PORT   GPIOB
#define LED3_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define LED3_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOB_CLK_DISABLE()
#define LED4_PIN   GPIO_PIN_5
#define LED4_GPIO_PORT   GPIOA
#define LED4_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOA_CLK_ENABLE()
#define LED4_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOA_CLK_DISABLE()
#define LEDx_GPIO_CLK_ENABLE(__INDEX__)   do {if(__INDEX__ == 0) LED3_GPIO_CLK_ENABLE(); else LED4_GPIO_CLK_ENABLE();} while (0)
#define LEDx_GPIO_CLK_DISABLE(__INDEX__)   (((__INDEX__) == 0) ? LED3_GPIO_CLK_DISABLE() : LED4_GPIO_CLK_DISABLE())

Detailed Description

Define for STM32L0538_DISCO board.


Define Documentation

#define LED3_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOB_CLK_DISABLE()

Definition at line 103 of file stm32l0538_discovery.h.

#define LED3_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 102 of file stm32l0538_discovery.h.

#define LED3_GPIO_PORT   GPIOB

Definition at line 101 of file stm32l0538_discovery.h.

#define LED3_PIN   GPIO_PIN_4

Definition at line 100 of file stm32l0538_discovery.h.

#define LED4_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOA_CLK_DISABLE()

Definition at line 108 of file stm32l0538_discovery.h.

#define LED4_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 107 of file stm32l0538_discovery.h.

#define LED4_GPIO_PORT   GPIOA

Definition at line 106 of file stm32l0538_discovery.h.

#define LED4_PIN   GPIO_PIN_5

Definition at line 105 of file stm32l0538_discovery.h.

#define LEDn   2

Definition at line 98 of file stm32l0538_discovery.h.

#define LEDx_GPIO_CLK_DISABLE (   __INDEX__)    (((__INDEX__) == 0) ? LED3_GPIO_CLK_DISABLE() : LED4_GPIO_CLK_DISABLE())

Definition at line 111 of file stm32l0538_discovery.h.

#define LEDx_GPIO_CLK_ENABLE (   __INDEX__)    do {if(__INDEX__ == 0) LED3_GPIO_CLK_ENABLE(); else LED4_GPIO_CLK_ENABLE();} while (0)

Definition at line 110 of file stm32l0538_discovery.h.

Referenced by BSP_LED_Init().

Generated on Mon Aug 28 2017 14:51:54 for STM32L0538-Discovery BSP User Manual by   doxygen 1.7.6.1