Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: DiscoLogger DISCO_L476VG_GlassLCD DISCO_L476VG_MicrophoneRecorder DISCO_L476VG_UART ... more
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).
- 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.
Generated on Tue Jul 12 2022 18:37:22 by
1.7.2