STM32412G-Discovery BSP User Manual: STM32412G Discovery TS Exported Constants

STM32412G-Discovery BSP Drivers

STM32412G-Discovery BSP User Manual
STM32412G Discovery TS Exported Constants

Defines

#define TS_MAX_NB_TOUCH   ((uint32_t) FT6206_MAX_DETECTABLE_TOUCH)
 With FT6206 : maximum 2 touches detected simultaneously.
#define TS_NO_IRQ_PENDING   ((uint8_t) 0)
#define TS_IRQ_PENDING   ((uint8_t) 1)
#define TS_SWAP_NONE   ((uint8_t) 0x01)
#define TS_SWAP_X   ((uint8_t) 0x02)
#define TS_SWAP_Y   ((uint8_t) 0x04)
#define TS_SWAP_XY   ((uint8_t) 0x08)
#define TS_ORIENTATION_PORTRAIT   ((uint8_t) 0)
#define TS_ORIENTATION_LANDSCAPE   ((uint8_t) 1)
#define TS_ORIENTATION_LANDSCAPE_ROT180   ((uint8_t) 2)

Define Documentation

#define TS_IRQ_PENDING   ((uint8_t) 1)

Definition at line 74 of file stm32412g_discovery_ts.h.

#define TS_MAX_NB_TOUCH   ((uint32_t) FT6206_MAX_DETECTABLE_TOUCH)

With FT6206 : maximum 2 touches detected simultaneously.

Definition at line 71 of file stm32412g_discovery_ts.h.

Referenced by BSP_TS_GetState().

#define TS_NO_IRQ_PENDING   ((uint8_t) 0)

Definition at line 73 of file stm32412g_discovery_ts.h.

#define TS_ORIENTATION_LANDSCAPE   ((uint8_t) 1)

Definition at line 82 of file stm32412g_discovery_ts.h.

Referenced by BSP_TS_Init().

#define TS_ORIENTATION_LANDSCAPE_ROT180   ((uint8_t) 2)

Definition at line 83 of file stm32412g_discovery_ts.h.

Referenced by BSP_TS_InitEx().

#define TS_ORIENTATION_PORTRAIT   ((uint8_t) 0)

Definition at line 81 of file stm32412g_discovery_ts.h.

Referenced by BSP_TS_InitEx().

#define TS_SWAP_NONE   ((uint8_t) 0x01)

Definition at line 76 of file stm32412g_discovery_ts.h.

#define TS_SWAP_X   ((uint8_t) 0x02)

Definition at line 77 of file stm32412g_discovery_ts.h.

Referenced by BSP_TS_GetState(), and BSP_TS_InitEx().

#define TS_SWAP_XY   ((uint8_t) 0x08)

Definition at line 79 of file stm32412g_discovery_ts.h.

Referenced by BSP_TS_GetState(), and BSP_TS_InitEx().

#define TS_SWAP_Y   ((uint8_t) 0x04)

Definition at line 78 of file stm32412g_discovery_ts.h.

Referenced by BSP_TS_GetState(), and BSP_TS_InitEx().

Generated on Tue Jan 24 2017 11:28:06 for STM32412G-Discovery BSP User Manual by   doxygen 1.7.6.1