![]() |
STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
|
Modules | |
Ft6x06_Imported_Functions | |
Ft6x06_Imported_Globals | |
Functions | |
void | ft6x06_Init (uint16_t DeviceAddr) |
ft6x06 Control functions More... | |
void | ft6x06_Reset (uint16_t DeviceAddr) |
Software Reset the ft6x06. More... | |
uint16_t | ft6x06_ReadID (uint16_t DeviceAddr) |
Read the ft6x06 device ID, pre intitalize I2C in case of need to be able to read the FT6206 device ID, and verify this is a FT6206. More... | |
void | ft6x06_TS_Start (uint16_t DeviceAddr) |
Configures the touch Screen IC device to start detecting touches. More... | |
uint8_t | ft6x06_TS_DetectTouch (uint16_t DeviceAddr) |
Return if there is touches detected or not. Try to detect new touches and forget the old ones (reset internal global variables). More... | |
void | ft6x06_TS_GetXY (uint16_t DeviceAddr, uint16_t *X, uint16_t *Y) |
Get the touch screen X and Y positions values Manage multi touch thanks to touch Index global variable 'ft6x06_handle.currActiveTouchIdx'. More... | |
void | ft6x06_TS_EnableIT (uint16_t DeviceAddr) |
Configure the FT6206 device to generate IT on given INT pin connected to MCU as EXTI. More... | |
void | ft6x06_TS_DisableIT (uint16_t DeviceAddr) |
Configure the FT6206 device to stop generating IT on the given INT pin connected to MCU as EXTI. More... | |
uint8_t | ft6x06_TS_ITStatus (uint16_t DeviceAddr) |
Get IT status from FT6206 interrupt status registers Should be called Following an EXTI coming to the MCU to know the detailed reason of the interrupt. More... | |
void | ft6x06_TS_ClearIT (uint16_t DeviceAddr) |
Clear IT status in FT6206 interrupt status clear registers Should be called Following an EXTI coming to the MCU. More... | |
void ft6x06_Init | ( | uint16_t | DeviceAddr | ) |
ft6x06 Control functions
Initialize the ft6x06 communication bus from MCU to FT6206 : ie I2C channel initialization (if required).
DeviceAddr | Device address on communication Bus (I2C slave address of FT6206). |
None | ft6x06 Control functions |
DeviceAddr | Device address on communication Bus (I2C slave address of FT6206). |
None |
uint16_t ft6x06_ReadID | ( | uint16_t | DeviceAddr | ) |
Read the ft6x06 device ID, pre intitalize I2C in case of need to be able to read the FT6206 device ID, and verify this is a FT6206.
DeviceAddr | I2C FT6x06 Slave address. |
The | Device ID (two bytes). |
Read the ft6x06 device ID, pre intitalize I2C in case of need to be able to read the FT6206 device ID, and verify this is a FT6206.
DeviceAddr | I2C FT6x06 Slave address. |
The | Device ID (two bytes). |
void ft6x06_Reset | ( | uint16_t | DeviceAddr | ) |
Software Reset the ft6x06.
DeviceAddr | Device address on communication Bus (I2C slave address of FT6206). |
None |
DeviceAddr | Device address on communication Bus (I2C slave address of FT6206). |
None |
void ft6x06_TS_ClearIT | ( | uint16_t | DeviceAddr | ) |
Clear IT status in FT6206 interrupt status clear registers Should be called Following an EXTI coming to the MCU.
DeviceAddr | Device address on communication Bus (I2C slave address of FT6206). |
TS | interrupts status |
DeviceAddr | Device address on communication Bus (I2C slave address of FT6206). |
None |
uint8_t ft6x06_TS_DetectTouch | ( | uint16_t | DeviceAddr | ) |
void ft6x06_TS_DisableIT | ( | uint16_t | DeviceAddr | ) |
void ft6x06_TS_EnableIT | ( | uint16_t | DeviceAddr | ) |
void ft6x06_TS_GetXY | ( | uint16_t | DeviceAddr, |
uint16_t * | X, | ||
uint16_t * | Y | ||
) |
Get the touch screen X and Y positions values Manage multi touch thanks to touch Index global variable 'ft6x06_handle.currActiveTouchIdx'.
DeviceAddr | Device address on communication Bus. |
X | Pointer to X position value |
Y | Pointer to Y position value |
None. |
uint8_t ft6x06_TS_ITStatus | ( | uint16_t | DeviceAddr | ) |
Get IT status from FT6206 interrupt status registers Should be called Following an EXTI coming to the MCU to know the detailed reason of the interrupt.
DeviceAddr | Device address on communication Bus (I2C slave address of FT6206). |
TS | interrupts status |
DeviceAddr | Device address on communication Bus (I2C slave address of FT6206). |
TS | interrupts status : always return 0 here |
void ft6x06_TS_Start | ( | uint16_t | DeviceAddr | ) |
Configures the touch Screen IC device to start detecting touches.
DeviceAddr | Device address on communication Bus (I2C slave address). |
None. | Configures the touch Screen IC device to start detecting touches. |
DeviceAddr | Device address on communication Bus (I2C slave address). |
None. |