STM32Cube BSP FW for STM32F769I-Discovery
Dependents: mbed-os-example-blinky-5 DISCO-F769NI_TOUCHSCREEN_demo_custom_1 Datarecorder2 DISCO-F769NI_TOUCHSCREEN_demo ... more
Diff: Drivers/BSP/STM32F769I-Discovery/stm32f769i_discovery.h
- Revision:
- 1:3e58f8a39705
- Parent:
- 0:c0f3bbab73d2
- Child:
- 4:72a949940ad6
- Child:
- 6:05b81d60cdae
diff -r c0f3bbab73d2 -r 3e58f8a39705 Drivers/BSP/STM32F769I-Discovery/stm32f769i_discovery.h --- a/Drivers/BSP/STM32F769I-Discovery/stm32f769i_discovery.h Fri Feb 10 13:08:21 2017 +0100 +++ b/Drivers/BSP/STM32F769I-Discovery/stm32f769i_discovery.h Thu Feb 23 14:14:08 2017 +0100 @@ -2,8 +2,8 @@ ****************************************************************************** * @file stm32f769i_discovery.h * @author MCD Application Team - * @version V1.1.0 - * @date 29-August-2016 + * @version V2.0.0 + * @date 30-December-2016 * @brief This file contains definitions for STM32F769I-Discovery LEDs, * push-buttons hardware resources. ****************************************************************************** @@ -52,15 +52,15 @@ * @{ */ -/** @addtogroup STM32F769I_Discovery +/** @addtogroup STM32F769I_DISCOVERY * @{ */ -/** @defgroup STM32F769I_Discovery_LOW_LEVEL STM32F769I-Discovery LOW LEVEL +/** @defgroup STM32F769I_DISCOVERY_LOW_LEVEL STM32F769I-Discovery LOW LEVEL * @{ */ -/** @defgroup STM32F769I_Discovery_LOW_LEVEL_Exported_Types STM32F769I Discovery Low Level Exported Types +/** @defgroup STM32F769I_DISCOVERY_LOW_LEVEL_Exported_Types STM32F769I Discovery Low Level Exported Types * @{ */ @@ -72,7 +72,7 @@ #endif /** @brief Led_TypeDef - * STM32F769I_Discovery board leds definitions. + * STM32F769I_DISCOVERY board leds definitions. */ typedef enum { @@ -83,7 +83,7 @@ } Led_TypeDef; /** @brief Button_TypeDef - * STM32F769I_Discovery board Buttons definitions. + * STM32F769I_DISCOVERY board Buttons definitions. */ typedef enum { @@ -93,7 +93,7 @@ #define BUTTON_USER BUTTON_WAKEUP /** @brief ButtonMode_TypeDef - * STM32F769I_Discovery board Buttons Modes definitions. + * STM32F769I_DISCOVERY board Buttons Modes definitions. */ typedef enum { @@ -126,12 +126,12 @@ * @} */ -/** @defgroup STM32F769I_Discovery_LOW_LEVEL_Exported_Constants STM32F769I Discovery Low Level Exported Constants +/** @defgroup STM32F769I_DISCOVERY_LOW_LEVEL_Exported_Constants STM32F769I Discovery Low Level Exported Constants * @{ */ -/** @addtogroup STM32F769I_Discovery_LOW_LEVEL_LED STM32F769I Discovery Low Level Led +/** @addtogroup STM32F769I_DISCOVERY_LOW_LEVEL_LED STM32F769I Discovery Low Level Led * @{ */ /* Always four leds for all revisions of Discovery boards */ @@ -152,7 +152,7 @@ * @} */ -/** @addtogroup STM32F769I_Discovery_LOW_LEVEL_BUTTON STM32F769I Discovery Low Level Button +/** @addtogroup STM32F769I_DISCOVERY_LOW_LEVEL_BUTTON STM32F769I Discovery Low Level Button * @{ */ /* Only one User/Wakeup button */ @@ -206,11 +206,16 @@ #define TS_INT_EXTI_IRQn EXTI15_10_IRQn /** - * @brief TouchScreen FT6206 Slave I2C address + * @brief TouchScreen FT6206 Slave I2C address 1 */ #define TS_I2C_ADDRESS ((uint16_t)0x54) /** + * @brief TouchScreen FT6336G Slave I2C address 2 + */ +#define TS_I2C_ADDRESS_A02 ((uint16_t)0x70) + +/** * @brief Audio I2C Slave address */ #define AUDIO_I2C_ADDRESS ((uint16_t)0x34) @@ -289,14 +294,14 @@ * @} */ -/** @defgroup STM32F769I_Discovery_LOW_LEVEL_Exported_Macros STM32F769I Discovery Low Level Exported Macros +/** @defgroup STM32F769I_DISCOVERY_LOW_LEVEL_Exported_Macros STM32F769I Discovery Low Level Exported Macros * @{ */ /** * @} */ -/** @defgroup STM32F769I_Discovery_LOW_LEVEL_Exported_Functions STM32F769I Discovery Low Level Exported Functions +/** @defgroup STM32F769I_DISCOVERY_LOW_LEVEL_Exported_Functions STM32F769I Discovery Low Level Exported Functions * @{ */ uint32_t BSP_GetVersion(void);