STM32F3xx_Nucleo_32 BSP User Manual
|
This file contains definitions for: More...
#include "stm32f3xx_hal.h"
Go to the source code of this file.
Defines | |
#define | LEDn 1 |
#define | LED3_PIN GPIO_PIN_3 |
#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 | LEDx_GPIO_CLK_ENABLE(__INDEX__) do {LED3_GPIO_CLK_ENABLE(); } while(0) |
#define | LEDx_GPIO_CLK_DISABLE(__INDEX__) LED3_GPIO_CLK_DISABLE()) |
#define | BSP_I2C1 I2C1 |
#define | BSP_I2C1_CLK_ENABLE() __HAL_RCC_I2C1_CLK_ENABLE() |
#define | BSP_I2C1_CLK_DISABLE() __HAL_RCC_I2C1_CLK_DISABLE() |
#define | BSP_I2C1_FORCE_RESET() __HAL_RCC_I2C1_FORCE_RESET() |
#define | BSP_I2C1_RELEASE_RESET() __HAL_RCC_I2C1_RELEASE_RESET() |
#define | BSP_I2C1_SCL_PIN GPIO_PIN_6 /* PB.6 add wire between D5 and A5 */ |
#define | BSP_I2C1_SDA_PIN GPIO_PIN_7 /* PB.7 add wire between D4 and A4 */ |
#define | BSP_I2C1_GPIO_PORT GPIOB /* GPIOB */ |
#define | BSP_I2C1_GPIO_CLK_ENABLE() __HAL_RCC_GPIOB_CLK_ENABLE() |
#define | BSP_I2C1_GPIO_CLK_DISABLE() __HAL_RCC_GPIOB_CLK_DISABLE() |
#define | BSP_I2C1_SCL_SDA_AF GPIO_AF4_I2C1 |
#define | BSP_I2C1_TIMEOUT_MAX 1000 |
#define | I2C1_TIMING 0xB0420F13 |
#define | DIGIT4_SEG7_RESET 10000 |
Enumerations | |
enum | Led_TypeDef { LED3 = 0, LED_GREEN = LED3 } |
LED Types Definition. More... | |
Functions | |
uint32_t | BSP_GetVersion (void) |
This method returns the STM32F3XX NUCLEO BSP Driver revision. | |
void | BSP_LED_Init (Led_TypeDef Led) |
Configures LED GPIO. | |
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. | |
HAL_StatusTypeDef | BSP_DIGIT4_SEG7_Init (void) |
BSP of the 4 digits 7 Segment Display shield for Arduino Nano - Gravitech. | |
HAL_StatusTypeDef | BSP_DIGIT4_SEG7_Display (uint32_t Value) |
BSP of the 4 digits 7 Segment Display shield for Arduino Nano - Gravitech. |
Detailed Description
This file contains definitions for:
- Attention:
© COPYRIGHT(c) 2016 STMicroelectronics
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file stm32f3xx_nucleo_32.h.
Generated on Wed May 31 2017 11:09:08 for STM32F3xx_Nucleo_32 BSP User Manual by 1.7.6.1