BSP files for STM32H747I-Discovery Copy from ST Cube delivery

Dependents:   DISCO_H747I_LCD_demo DISCO_H747I_AUDIO_demo

Embed: (wiki syntax)

« Back to documentation index

Exported Functions

Exported Functions
[STM32H747I_DISCOVERY_TS]

Functions

uint8_t BSP_TS_Init (uint16_t ts_SizeX, uint16_t ts_SizeY)
 Initializes and configures the touch screen functionalities and configures all necessary hardware resources (GPIOs, I2C, clocks..).
uint8_t BSP_TS_ITConfig (void)
 Configures and enables the touch screen interrupts.
uint8_t BSP_TS_GetState (TS_StateTypeDef *TS_State)
 Returns status and positions of the touch screen.
uint8_t BSP_TS_Get_GestureId (TS_StateTypeDef *TS_State)
 Update gesture Id following a touch detected.
uint8_t BSP_TS_ResetTouchData (TS_StateTypeDef *TS_State)
 Function used to reset all touch data before a new acquisition of touch information.
__weak void BSP_TS_INT_MspInit (void)
 Initializes the TS_INT pin MSP.

Function Documentation

uint8_t BSP_TS_Get_GestureId ( TS_StateTypeDef *  TS_State )

Update gesture Id following a touch detected.

Parameters:
TS_State,:Pointer to touch screen current state structure
Return values:
TS_OKif all initializations are OK. Other value if error.

Definition at line 308 of file stm32h747i_discovery_ts.c.

uint8_t BSP_TS_GetState ( TS_StateTypeDef *  TS_State )

Returns status and positions of the touch screen.

Parameters:
TS_State,:Pointer to touch screen current state structure
Return values:
TS_OKif all initializations are OK. Other value if error.

Definition at line 203 of file stm32h747i_discovery_ts.c.

uint8_t BSP_TS_Init ( uint16_t  ts_SizeX,
uint16_t  ts_SizeY 
)

Initializes and configures the touch screen functionalities and configures all necessary hardware resources (GPIOs, I2C, clocks..).

Parameters:
ts_SizeX: Maximum X size of the TS area on LCD
ts_SizeY: Maximum Y size of the TS area on LCD
Return values:
TS_OKif all initializations are OK. Other value if error.

Definition at line 108 of file stm32h747i_discovery_ts.c.

__weak void BSP_TS_INT_MspInit ( void   )

Initializes the TS_INT pin MSP.

Return values:
None

Definition at line 388 of file stm32h747i_discovery_ts.c.

uint8_t BSP_TS_ITConfig ( void   )

Configures and enables the touch screen interrupts.

Return values:
TS_OKif all initializations are OK. Other value if error.

Definition at line 169 of file stm32h747i_discovery_ts.c.

uint8_t BSP_TS_ResetTouchData ( TS_StateTypeDef *  TS_State )

Function used to reset all touch data before a new acquisition of touch information.

Parameters:
TS_State,:Pointer to touch screen current state structure
Return values:
TS_OKif OK, TE_ERROR if problem found.

Definition at line 357 of file stm32h747i_discovery_ts.c.