STM32L476G-Discovery board drivers V1.0.0

Dependents:   DiscoLogger DISCO_L476VG_GlassLCD DISCO_L476VG_MicrophoneRecorder DISCO_L476VG_UART ... more

Embed: (wiki syntax)

« Back to documentation index

stm32l476g_discovery.h File Reference

stm32l476g_discovery.h File Reference

This file contains definitions for STM32L476G_DISCOVERY's LEDs, push-buttons hardware resources (MB1184). More...

Go to the source code of this file.

Enumerations

enum  Led_TypeDef
 

LED Types Definition.

More...
enum  JOYState_TypeDef
 

JOYSTICK Types Definition.

More...

Functions

uint32_t BSP_GetVersion (void)
 This method returns the STM32L476 DISCOVERY BSP Driver revision.
SupplyMode_TypeDef BSP_SupplyModeDetection (void)
 This method returns the STM32L476 DISCOVERY supply mode.
void BSP_LED_Init (Led_TypeDef Led)
 Configures LED GPIOs.
void BSP_LED_DeInit (Led_TypeDef Led)
 Unconfigures LED GPIOs.
void BSP_LED_On (Led_TypeDef Led)
 Turns selected LED On.
void BSP_LED_Off (Led_TypeDef Led)
 Turns selected LED Off.
void BSP_LED_Toggle (Led_TypeDef Led)
 Toggles the selected LED.
uint8_t BSP_JOY_Init (JOYMode_TypeDef Joy_Mode)
 Configures all buttons of the joystick in GPIO or EXTI modes.
void BSP_JOY_DeInit (void)
 Unonfigures all GPIOs used as buttons of the joystick.
JOYState_TypeDef BSP_JOY_GetState (void)
 Returns the current joystick status.

Detailed Description

This file contains definitions for STM32L476G_DISCOVERY's LEDs, push-buttons hardware resources (MB1184).

Author:
MCD Application Team
Attention:

© Copyright (c) 2016 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32l476g_discovery.h.