STM32F429ZI Discovery board drivers

Dependents:   2a 2b 2c 2d1 ... more

Embed: (wiki syntax)

« Back to documentation index

STM32F429I DISCOVERY TS Private Functions

STM32F429I DISCOVERY TS Private Functions
[STM32F429I DISCOVERY TS]

Functions

uint8_t BSP_TS_Init (uint16_t XSize, uint16_t YSize)
 Initializes and configures the touch screen functionalities and configures all necessary hardware resources (GPIOs, clocks..).
uint8_t BSP_TS_ITConfig (void)
 Configures and enables the touch screen interrupts.
uint8_t BSP_TS_ITGetStatus (void)
 Gets the TS IT status.
void BSP_TS_GetState (TS_StateTypeDef *TsState)
 Returns status and positions of the touch screen.
void BSP_TS_ITClear (void)
 Clears all touch screen interrupts.

Function Documentation

void BSP_TS_GetState ( TS_StateTypeDef *  TsState )

Returns status and positions of the touch screen.

Parameters:
TsState,:Pointer to touch screen current state structure

Definition at line 155 of file stm32f429i_discovery_ts.c.

uint8_t BSP_TS_Init ( uint16_t  XSize,
uint16_t  YSize 
)

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

Parameters:
XSize,:The maximum X size of the TS area on LCD
YSize,:The maximum Y size of the TS area on LCD
Return values:
TS_OK,:if all initializations are OK. Other value if error.

Definition at line 102 of file stm32f429i_discovery_ts.c.

void BSP_TS_ITClear ( void   )

Clears all touch screen interrupts.

Definition at line 231 of file stm32f429i_discovery_ts.c.

uint8_t BSP_TS_ITConfig ( void   )

Configures and enables the touch screen interrupts.

Return values:
TS_OK,:if ITconfig is OK. Other value if error.

Definition at line 133 of file stm32f429i_discovery_ts.c.

uint8_t BSP_TS_ITGetStatus ( void   )

Gets the TS IT status.

Return values:
Interruptstatus.

Definition at line 145 of file stm32f429i_discovery_ts.c.