STM32746G-Discovery BSP User Manual: STM32746G_DISCOVERY_TS Exported Constants

STM32746G-Discovery BSP Drivers

STM32746G-Discovery BSP User Manual
STM32746G_DISCOVERY_TS Exported Constants

Defines

#define TS_MAX_NB_TOUCH   ((uint32_t) FT5336_MAX_DETECTABLE_TOUCH)
 With FT5336 : maximum 5 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)

Enumerations

enum  TS_StatusTypeDef { TS_OK = 0x00, TS_ERROR = 0x01, TS_TIMEOUT = 0x02, TS_DEVICE_NOT_FOUND = 0x03 }
enum  TS_GestureIdTypeDef {
  GEST_ID_NO_GESTURE = 0x00, GEST_ID_MOVE_UP = 0x01, GEST_ID_MOVE_RIGHT = 0x02, GEST_ID_MOVE_DOWN = 0x03,
  GEST_ID_MOVE_LEFT = 0x04, GEST_ID_ZOOM_IN = 0x05, GEST_ID_ZOOM_OUT = 0x06, GEST_ID_NB_MAX = 0x07
}
 TS_GestureIdTypeDef Define Possible managed gesture identification values returned by touch screen driver. More...
enum  TS_TouchEventTypeDef {
  TOUCH_EVENT_NO_EVT = 0x00, TOUCH_EVENT_PRESS_DOWN = 0x01, TOUCH_EVENT_LIFT_UP = 0x02, TOUCH_EVENT_CONTACT = 0x03,
  TOUCH_EVENT_NB_MAX = 0x04
}
 TS_TouchEventTypeDef Define Possible touch events kind as returned values by touch screen IC Driver. More...

Define Documentation

#define TS_IRQ_PENDING   ((uint8_t) 1)

Definition at line 73 of file stm32746g_discovery_ts.h.

#define TS_MAX_NB_TOUCH   ((uint32_t) FT5336_MAX_DETECTABLE_TOUCH)

With FT5336 : maximum 5 touches detected simultaneously.

Definition at line 70 of file stm32746g_discovery_ts.h.

Referenced by BSP_TS_GetState(), and BSP_TS_ResetTouchData().

#define TS_NO_IRQ_PENDING   ((uint8_t) 0)

Definition at line 72 of file stm32746g_discovery_ts.h.

#define TS_SWAP_NONE   ((uint8_t) 0x01)

Definition at line 75 of file stm32746g_discovery_ts.h.

Referenced by BSP_TS_GetState().

#define TS_SWAP_X   ((uint8_t) 0x02)

Definition at line 76 of file stm32746g_discovery_ts.h.

Referenced by BSP_TS_GetState().

#define TS_SWAP_XY   ((uint8_t) 0x08)

Definition at line 78 of file stm32746g_discovery_ts.h.

Referenced by BSP_TS_GetState(), and BSP_TS_Init().

#define TS_SWAP_Y   ((uint8_t) 0x04)

Definition at line 77 of file stm32746g_discovery_ts.h.

Referenced by BSP_TS_GetState().


Enumeration Type Documentation

TS_GestureIdTypeDef Define Possible managed gesture identification values returned by touch screen driver.

Enumerator:
GEST_ID_NO_GESTURE 

Gesture not defined / recognized

GEST_ID_MOVE_UP 

Gesture Move Up

GEST_ID_MOVE_RIGHT 

Gesture Move Right

GEST_ID_MOVE_DOWN 

Gesture Move Down

GEST_ID_MOVE_LEFT 

Gesture Move Left

GEST_ID_ZOOM_IN 

Gesture Zoom In

GEST_ID_ZOOM_OUT 

Gesture Zoom Out

GEST_ID_NB_MAX 

max number of gesture id

Definition at line 127 of file stm32746g_discovery_ts.h.

Enumerator:
TS_OK 

Touch Ok

TS_ERROR 

Touch Error

TS_TIMEOUT 

Touch Timeout

TS_DEVICE_NOT_FOUND 

Touchscreen device not found

Definition at line 114 of file stm32746g_discovery_ts.h.

TS_TouchEventTypeDef Define Possible touch events kind as returned values by touch screen IC Driver.

Enumerator:
TOUCH_EVENT_NO_EVT 

Touch Event : undetermined

TOUCH_EVENT_PRESS_DOWN 

Touch Event Press Down

TOUCH_EVENT_LIFT_UP 

Touch Event Lift Up

TOUCH_EVENT_CONTACT 

Touch Event Contact

TOUCH_EVENT_NB_MAX 

max number of touch events kind

Definition at line 145 of file stm32746g_discovery_ts.h.

Generated on Fri Dec 30 2016 16:31:33 for STM32746G-Discovery BSP User Manual by   doxygen 1.7.6.1