touchgfx::HAL::getTFTCurrentLine() method
@fn virtual uint16_t HAL::getTFTCurrentLine() Get the current line (Y) of the TFT controller This function is used to obtain the progress of the TFT controller. More specifically, the line (or Y-value) currently being transferred. Note: The value must be adjusted to account for vertical back porch before returning, such that the value is always within the range of 0 <= value < actual display height in pixels It is used for the REFRESH_STRATEGY_OPTIM_SINGLE_BUFFER_TFT_CTRL frame refresh strategy in order to synchronize frame buffer drawing with TFT controller progress. If this strategy is used, the concrete HAL subclass must provide an override of this function that returns correct line value. If this strategy is not used, then the getTFTCurrentLine function is never called and can be disregarded.
virtual uint16_t getTFTCurrentLine();
Return value
In this default implementation, 0xFFFF is returned to signify "not implemented".
Examples
touchgfx::HAL::getTFTCurrentLine() is referenced by
2 libraries and example projects.
Functions calling touchgfx::HAL::getTFTCurrentLine()
touchgfx::HAL::getTFTCurrentLine()
Type of touchgfx::HAL::getTFTCurrentLine()
touchgfx::HAL::getTFTCurrentLine()
uint16_t all items filtered out