STM32F429ZI Discovery board drivers
Dependents: 2a 2b 2c 2d1 ... more
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:
-
Interrupt status.
Definition at line 145 of file stm32f429i_discovery_ts.c.
Generated on Tue Jul 12 2022 16:29:24 by 1.7.2