BSP files for STM32H747I-Discovery Copy from ST Cube delivery
Dependents: DISCO_H747I_LCD_demo DISCO_H747I_AUDIO_demo
stm32h747i_discovery.c File Reference
This file provides a set of firmware functions to manage LEDs, push-buttons, external SDRAM, external QSPI Flash, available on STM32H747I-Discovery board (MB1248) from STMicroelectronics. More...
Go to the source code of this file.
Functions | |
static void | I2Cx_MspInit (void) |
Initializes I2C MSP. | |
static void | I2Cx_Init (void) |
Initializes I2C HAL. | |
static void | I2Cx_Write (uint8_t Addr, uint8_t Reg, uint8_t Value) |
Writes a single data. | |
static uint8_t | I2Cx_Read (uint8_t Addr, uint8_t Reg) |
Reads a single data. | |
static HAL_StatusTypeDef | I2Cx_ReadMultiple (uint8_t Addr, uint16_t Reg, uint16_t MemAddress, uint8_t *Buffer, uint16_t Length) |
Reads multiple data. | |
static HAL_StatusTypeDef | I2Cx_WriteMultiple (uint8_t Addr, uint16_t Reg, uint16_t MemAddress, uint8_t *Buffer, uint16_t Length) |
Writes a value in a register of the device through BUS in using DMA mode. | |
static HAL_StatusTypeDef | I2Cx_IsDeviceReady (uint16_t DevAddress, uint32_t Trials) |
Checks if target device is ready for communication. | |
static void | I2Cx_Error (uint8_t Addr) |
Manages error callback by re-initializing I2C. | |
void | HDMI_IO_Init (void) |
Initializes HDMI IO low level. | |
void | HDMI_IO_Delay (uint32_t Delay) |
HDMI delay. | |
void | HDMI_IO_Write (uint8_t Addr, uint8_t Reg, uint8_t Value) |
HDMI writes single data. | |
uint8_t | HDMI_IO_Read (uint8_t Addr, uint8_t Reg) |
Reads single data with I2C communication channel from HDMI bridge. | |
void | AUDIO_IO_Init (void) |
Initializes Audio low level. | |
void | AUDIO_IO_DeInit (void) |
De-Initializes Audio low level. | |
void | AUDIO_IO_Write (uint8_t Addr, uint16_t Reg, uint16_t Value) |
Writes a single data. | |
uint16_t | AUDIO_IO_Read (uint8_t Addr, uint16_t Reg) |
Reads a single data. | |
void | AUDIO_IO_Delay (uint32_t Delay) |
AUDIO Codec delay. | |
void | CAMERA_IO_Init (void) |
Initializes Camera low level. | |
void | CAMERA_Delay (uint32_t Delay) |
Camera delay. | |
void | CAMERA_IO_Write (uint8_t Addr, uint16_t Reg, uint16_t Value) |
Camera writes single data. | |
uint16_t | CAMERA_IO_Read (uint8_t Addr, uint16_t Reg) |
Camera reads single data. | |
void | EEPROM_IO_Init (void) |
Initializes peripherals used by the I2C EEPROM driver. | |
HAL_StatusTypeDef | EEPROM_IO_WriteData (uint16_t DevAddress, uint16_t MemAddress, uint8_t *pBuffer, uint32_t BufferSize) |
Write data to I2C EEPROM driver in using DMA channel. | |
HAL_StatusTypeDef | EEPROM_IO_ReadData (uint16_t DevAddress, uint16_t MemAddress, uint8_t *pBuffer, uint32_t BufferSize) |
Read data from I2C EEPROM driver in using DMA channel. | |
HAL_StatusTypeDef | EEPROM_IO_IsDeviceReady (uint16_t DevAddress, uint32_t Trials) |
Checks if target device is ready for communication. | |
void | TS_IO_Init (void) |
Initialize I2C communication channel from MCU to TouchScreen (TS). | |
void | TS_IO_Write (uint8_t Addr, uint8_t Reg, uint8_t Value) |
Writes single data with I2C communication channel from MCU to TouchScreen. | |
uint8_t | TS_IO_Read (uint8_t Addr, uint8_t Reg) |
Reads single data with I2C communication channel from TouchScreen. | |
uint16_t | TS_IO_ReadMultiple (uint8_t Addr, uint8_t Reg, uint8_t *Buffer, uint16_t Length) |
Reads multiple data with I2C communication channel from TouchScreen. | |
void | TS_IO_WriteMultiple (uint8_t Addr, uint8_t Reg, uint8_t *Buffer, uint16_t Length) |
Writes multiple data with I2C communication channel from MCU to TouchScreen. | |
void | TS_IO_Delay (uint32_t Delay) |
Delay function used in TouchScreen low level driver. | |
void | OTM8009A_IO_Delay (uint32_t Delay) |
OTM8009A delay. | |
__weak void | BSP_ErrorNotify (void) |
BSP Error Notification. | |
uint32_t | BSP_GetVersion (void) |
This method returns the STM32H747I Discovery BSP Driver revision. | |
void | BSP_LED_Init (Led_TypeDef Led) |
Configures LED GPIO. | |
void | BSP_LED_DeInit (Led_TypeDef Led) |
DeInit LEDs. | |
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. | |
void | BSP_PB_Init (Button_TypeDef Button, ButtonMode_TypeDef Button_Mode) |
Configures button GPIO and EXTI Line. | |
void | BSP_PB_DeInit (Button_TypeDef Button) |
Push Button DeInit. | |
uint32_t | BSP_PB_GetState (Button_TypeDef Button) |
Returns the selected button state. | |
uint8_t | BSP_JOY_Init (JOYMode_TypeDef Joy_Mode) |
Configures all joystick's buttons in GPIO or EXTI modes. | |
void | BSP_JOY_DeInit (void) |
Un-configures all GPIOs used as joystick's buttons. | |
JOYState_TypeDef | BSP_JOY_GetState (void) |
Returns the current joystick status. |
Detailed Description
This file provides a set of firmware functions to manage LEDs, push-buttons, external SDRAM, external QSPI Flash, available on STM32H747I-Discovery board (MB1248) from STMicroelectronics.
This file includes the driver for Camera modules mounted on STM32H747I-DISCOVERY board.
- Attention:
© Copyright (c) 2019 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 stm32h747i_discovery.c.
Generated on Tue Jul 12 2022 18:45:42 by 1.7.2