touchgfx::HAL::setDisplayOrientation() method
@fn virtual void HAL::setDisplayOrientation(DisplayOrientation orientation) Sets the desired display orientation (landscape or portrait). Sets the desired display orientation (landscape or portrait). If desired orientation is different from the native orientation of the display, a rotation is automatically applied. The rotation does not incur any performance cost.
Arguments
orientation
The desired display orientation.
Notes
A screen transition must occur before this takes effect!
Data read by touchgfx::HAL::setDisplayOrientation()
Data written by touchgfx::HAL::setDisplayOrientation()
touchgfx::HAL::setDisplayOrientation()