Macros | Enumerations | Functions
stm32f769i_discovery.h File Reference

This file contains definitions for STM32F769I-Discovery LEDs, push-buttons hardware resources. More...

#include "stm32f7xx_hal.h"
Include dependency graph for stm32f769i_discovery.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define AUDIO_I2C_ADDRESS   ((uint16_t)0x34)
 Audio I2C Slave address. More...
 
#define BUTTON_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOA_CLK_ENABLE()
 
#define BUTTON_USER   BUTTON_WAKEUP
 
#define BUTTONn   ((uint8_t)1)
 
#define DISCOVERY_AUDIO_I2Cx   I2C4
 User can use this section to tailor I2C4/I2C4 instance used and associated resources (audio codec). Definition for I2C4 clock resources. More...
 
#define DISCOVERY_AUDIO_I2Cx_CLK_ENABLE()   __HAL_RCC_I2C4_CLK_ENABLE()
 
#define DISCOVERY_AUDIO_I2Cx_ER_IRQn   I2C4_ER_IRQn
 
#define DISCOVERY_AUDIO_I2Cx_EV_IRQn   I2C4_EV_IRQn
 Definition of I2C4 interrupt requests. More...
 
#define DISCOVERY_AUDIO_I2Cx_FORCE_RESET()   __HAL_RCC_I2C4_FORCE_RESET()
 
#define DISCOVERY_AUDIO_I2Cx_RELEASE_RESET()   __HAL_RCC_I2C4_RELEASE_RESET()
 
#define DISCOVERY_AUDIO_I2Cx_SCL_AF   GPIO_AF4_I2C4
 
#define DISCOVERY_AUDIO_I2Cx_SCL_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOD_CLK_ENABLE()
 
#define DISCOVERY_AUDIO_I2Cx_SCL_GPIO_PORT   GPIOD
 
#define DISCOVERY_AUDIO_I2Cx_SCL_PIN   GPIO_PIN_12
 Definition for I2C4 Pins. More...
 
#define DISCOVERY_AUDIO_I2Cx_SDA_AF   GPIO_AF11_I2C4
 
#define DISCOVERY_AUDIO_I2Cx_SDA_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
 
#define DISCOVERY_AUDIO_I2Cx_SDA_GPIO_PORT   GPIOB
 
#define DISCOVERY_AUDIO_I2Cx_SDA_PIN   GPIO_PIN_7
 
#define DISCOVERY_DMAx_CLK_ENABLE()   __HAL_RCC_DMA1_CLK_ENABLE()
 
#define DISCOVERY_EXT_I2Cx   I2C1
 User can use this section to tailor I2C1/I2C1 instance used and associated resources. Definition for I2C1 clock resources. More...
 
#define DISCOVERY_EXT_I2Cx_CLK_ENABLE()   __HAL_RCC_I2C1_CLK_ENABLE()
 
#define DISCOVERY_EXT_I2Cx_ER_IRQn   I2C1_ER_IRQn
 
#define DISCOVERY_EXT_I2Cx_EV_IRQn   I2C1_EV_IRQn
 Definition of I2C interrupt requests. More...
 
#define DISCOVERY_EXT_I2Cx_FORCE_RESET()   __HAL_RCC_I2C1_FORCE_RESET()
 
#define DISCOVERY_EXT_I2Cx_RELEASE_RESET()   __HAL_RCC_I2C1_RELEASE_RESET()
 
#define DISCOVERY_EXT_I2Cx_SCL_PIN   GPIO_PIN_8
 Definition for I2C1 Pins. More...
 
#define DISCOVERY_EXT_I2Cx_SCL_SDA_AF   GPIO_AF4_I2C1
 
#define DISCOVERY_EXT_I2Cx_SCL_SDA_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
 
#define DISCOVERY_EXT_I2Cx_SCL_SDA_GPIO_PORT   GPIOB
 
#define DISCOVERY_EXT_I2Cx_SDA_PIN   GPIO_PIN_9
 
#define DISCOVERY_I2Cx_TIMING   ((uint32_t)0x40912732)
 
#define EEPROM_I2C_ADDRESS_A01   ((uint16_t)0xA0)
 EEPROM I2C Slave address 1. More...
 
#define EEPROM_I2C_ADDRESS_A02   ((uint16_t)0xA6)
 EEPROM I2C Slave address 2. More...
 
#define LCD_DSI_ADDRESS   TS_I2C_ADDRESS
 LCD DSI Slave I2C address 1. More...
 
#define LCD_DSI_ADDRESS_A02   TS_I2C_ADDRESS_A02
 LCD DSI Slave I2C address 2. More...
 
#define LED1_GPIO_PORT   ((GPIO_TypeDef*)GPIOJ)
 
#define LED1_PIN   ((uint32_t)GPIO_PIN_13)
 
#define LED2_GPIO_PORT   ((GPIO_TypeDef*)GPIOJ)
 
#define LED2_PIN   ((uint32_t)GPIO_PIN_5)
 
#define LEDn   ((uint8_t)2)
 
#define LEDx_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOJ_CLK_DISABLE()
 
#define LEDx_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOJ_CLK_ENABLE()
 
#define OTG_HS_OVER_CURRENT_PIN   GPIO_PIN_4
 USB OTG HS Over Current signal. More...
 
#define OTG_HS_OVER_CURRENT_PORT   GPIOD
 
#define OTG_HS_OVER_CURRENT_PORT_CLK_ENABLE()   __HAL_RCC_GPIOD_CLK_ENABLE()
 
#define SD_DETECT_EXTI_IRQn   EXTI15_10_IRQn
 
#define SD_DETECT_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOI_CLK_DISABLE()
 
#define SD_DETECT_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOI_CLK_ENABLE()
 
#define SD_DETECT_GPIO_PORT   ((GPIO_TypeDef*)GPIOI)
 
#define SD_DETECT_PIN   ((uint32_t)GPIO_PIN_15)
 SD-detect signal. More...
 
#define TS_I2C_ADDRESS   ((uint16_t)0x54)
 TouchScreen FT6206 Slave I2C address 1. More...
 
#define TS_I2C_ADDRESS_A02   ((uint16_t)0x70)
 TouchScreen FT6336G Slave I2C address 2. More...
 
#define TS_INT_EXTI_IRQn   EXTI15_10_IRQn
 
#define TS_INT_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOI_CLK_DISABLE()
 
#define TS_INT_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOI_CLK_ENABLE()
 
#define TS_INT_GPIO_PORT   ((GPIO_TypeDef*)GPIOI)
 
#define TS_INT_PIN   ((uint32_t)GPIO_PIN_13)
 Touch screen interrupt signal. More...
 
#define USE_STM32F769I_DISCO
 Define for STM32F769I_DISCOVERY board. More...
 
#define USER_BUTTON_EXTI_IRQn   WAKEUP_BUTTON_EXTI_IRQn
 
#define USER_BUTTON_GPIO_CLK_DISABLE()   WAKEUP_BUTTON_GPIO_CLK_DISABLE()
 
#define USER_BUTTON_GPIO_CLK_ENABLE()   WAKEUP_BUTTON_GPIO_CLK_ENABLE()
 
#define USER_BUTTON_GPIO_PORT   WAKEUP_BUTTON_GPIO_PORT
 
#define USER_BUTTON_PIN   WAKEUP_BUTTON_PIN
 
#define WAKEUP_BUTTON_EXTI_IRQn   EXTI0_IRQn
 
#define WAKEUP_BUTTON_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOA_CLK_DISABLE()
 
#define WAKEUP_BUTTON_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOA_CLK_ENABLE()
 
#define WAKEUP_BUTTON_GPIO_PORT   GPIOA
 
#define WAKEUP_BUTTON_PIN   GPIO_PIN_0
 Wakeup push-button. More...
 

Enumerations

enum  Button_TypeDef {
  BUTTON_KEY = 0, BUTTON_KEY = 0, BUTTON_WAKEUP = 0, BUTTON_WAKEUP = 0,
  BUTTON_WAKEUP = 0U, BUTTONn
}
 Button_TypeDef STM32F769I_DISCOVERY board Buttons definitions. More...
 
enum  ButtonMode_TypeDef {
  BUTTON_MODE_GPIO = 0, BUTTON_MODE_EXTI = 1, BUTTON_MODE_GPIO = 0, BUTTON_MODE_EXTI = 1,
  BUTTON_MODE_GPIO = 0, BUTTON_MODE_EXTI = 1, BUTTON_MODE_GPIO = 0, BUTTON_MODE_EXTI = 1,
  BUTTON_MODE_GPIO = 0U, BUTTON_MODE_EXTI = 1U
}
 ButtonMode_TypeDef STM32F769I_DISCOVERY board Buttons Modes definitions. More...
 
enum  ButtonValue_TypeDef { PB_SET = 0, PB_RESET = !PB_SET, PB_SET = 0, PB_RESET = !PB_SET }
 
enum  DISCO_Status_TypeDef { DISCO_OK = 0, DISCO_ERROR = 1, DISCO_OK = 0, DISCO_ERROR = 1 }
 DISCO_Status_TypeDef STM32F769I_DISCO board Status return possible values. More...
 
enum  Led_TypeDef {
  LED4 = 0, LED3 = 1, LED5 = 2, LED6 = 3,
  LED4 = 0, LED3 = 1, LED5 = 2, LED6 = 3,
  LED1 = 0, LED_GREEN = LED1, LED2 = 1, LED_ORANGE = LED2,
  LED3 = 2, LED_RED = LED3, LED4 = 3, LED_BLUE = LED4,
  LED1 = 0, LED_RED = LED1, LED2 = 1, LED_GREEN = LED2,
  LED1 = 0U, LED_GREEN = LED1, LED2 = 1U, LED_ORANGE = LED2,
  LED3 = 2U, LED_RED = LED3, LED4 = 3U, LED_BLUE = LED4,
  LEDn
}
 Led_TypeDef STM32F769I_DISCOVERY board leds definitions. More...
 

Functions

uint32_t BSP_GetVersion (void)
 This method returns the STM32F4 DISCO BSP Driver revision. More...
 
void BSP_LED_DeInit (Led_TypeDef Led)
 DeInit LEDs. More...
 
void BSP_LED_Init (Led_TypeDef Led)
 Configures LED GPIO. More...
 
void BSP_LED_Off (Led_TypeDef Led)
 Turns selected LED Off. More...
 
void BSP_LED_On (Led_TypeDef Led)
 Turns selected LED On. More...
 
void BSP_LED_Toggle (Led_TypeDef Led)
 Toggles the selected LED. More...
 
void BSP_PB_DeInit (Button_TypeDef Button)
 Push Button DeInit. More...
 
uint32_t BSP_PB_GetState (Button_TypeDef Button)
 Returns the selected Button state. More...
 
void BSP_PB_Init (Button_TypeDef Button, ButtonMode_TypeDef Button_Mode)
 Configures Button GPIO and EXTI Line. More...
 

Detailed Description

This file contains definitions for STM32F769I-Discovery LEDs, push-buttons hardware resources.

Author
MCD Application Team
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 stm32f769i_discovery.h.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:01