STM32Cube BSP FW for STM32F769I-Discovery

Dependents:   mbed-os-example-blinky-5 DISCO-F769NI_TOUCHSCREEN_demo_custom_1 Datarecorder2 DISCO-F769NI_TOUCHSCREEN_demo ... more

Embed: (wiki syntax)

« Back to documentation index

TS Public Functions

TS Public Functions
[STM32F769I_DISCOVERY TS]

Modules

 TS Private Functions

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.

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 365 of file stm32f769i_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 260 of file stm32f769i_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 165 of file stm32f769i_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 226 of file stm32f769i_discovery_ts.c.