STM32F4HAL_DSI is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

STM32F4HAL_DSI class

@class STM32F4HAL_DSI STM32F4HAL_DSI.hpp platform/hal/ST/mcu/stm32f4x9/STM32F4HAL_DSI.hpp HAL implementation for STM32F4, for DSI displays HAL implementation for STM32F4. Based on the ST CubeF4 API. This version uses the DSI display peripheral. This HAL implementation uses DSI in adapted command mode, and supports both single- and double buffering. Please refer to the implementation cpp file for details on this implementation. @sa HAL

Syntax

class STM32F4HAL_DSI : public touchgfx::HAL { public:     STM32F4HAL_DSI(touchgfx::DMA_Interface& dma, touchgfx::LCD& display, touchgfx::TouchController& tc, uint16_t width, uint16_t height) : touchgfx::HAL(dma, display, tc, width, height)     {     }     virtual void disableInterrupts();     virtual void enableInterrupts();     virtual void configureInterrupts();     virtual void enableLCDControllerInterrupt(); protected:     virtual uint16_t* getTFTFrameBuffer() const;     virtual void setTFTFrameBuffer(uint16_t* adr);     virtual void setFrameBufferStartAddress(void* adr, uint16_t depth = 16, bool useDoubleBuffering = true, bool useAnimationStorage = true);     virtual bool beginFrame();     virtual void endFrame(); };

Methods

disableInterrupts()

@fn virtual void STM32F4HAL_DSI::disableInterrupts(); Disables the DMA and LCD interrupts. Disables the DMA and LCD interrupts. Read more...

enableInterrupts()

@fn virtual void STM32F4HAL_DSI::enableInterrupts(); Enables the DMA and LCD interrupts. Enables the DMA and LCD interrupts. Read more...

configureInterrupts()

@fn virtual void STM32F4HAL_DSI::configureInterrupts(); Sets the DMA and LCD interrupt priorities. Sets the DMA and LCD interrupt priorities. Read more...

enableLCDControllerInterrupt()

@fn virtual void STM32F4HAL_DSI::enableLCDControllerInterrupt(); Configure the LCD controller to fire interrupts at VSYNC. Configure the LCD controller to fire interrupts at VSYNC. Called automatically once TouchGFX initialization has completed. Read more...

getTFTFrameBuffer() const

@fn virtual uint16_t* STM32F4HAL_DSI::getTFTFrameBuffer() const; Gets the frame buffer address used by the TFT controller. Gets the frame buffer address used by the TFT controller. Read more...

setTFTFrameBuffer()

@fn virtual void STM32F4HAL_DSI::setTFTFrameBuffer(uint16_t* adr); Sets the frame buffer address used by the TFT controller. Sets the frame buffer address used by the TFT controller. Read more...

setFrameBufferStartAddress()

@fn virtual void setFrameBufferStartAddress(void* adr, uint16_t depth = 16, bool useDoubleBuffering = true, bool useAnimationStorage = true); This function is overridden in order to detect whether it is used in single- or double buffering mode. Read more...

beginFrame()

This function is overridden to detect whether there are any frame buffer changes in this frame. Read more...

endFrame()

This function is overridden to detect whether there are any frame buffer changes in this frame. Read more...