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

STM32F4HAL class

@class STM32F4HAL STM32F4HAL.hpp platform/hal/ST/mcu/stm32f4x9/STM32F4HAL.hpp HAL implementation for STM32F4. HAL implementation for STM32F4. Based on the ST CubeF4 API. @sa HAL

Syntax

class STM32F4HAL : public touchgfx::HAL { public:     STM32F4HAL(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();     virtual uint16_t getTFTCurrentLine(); protected:     virtual uint16_t* getTFTFrameBuffer() const;     virtual void setTFTFrameBuffer(uint16_t* adr); };

Methods

disableInterrupts()

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

enableInterrupts()

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

configureInterrupts()

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

enableLCDControllerInterrupt()

@fn virtual void STM32F4HAL::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...

getTFTCurrentLine()

@fn virtual uint16_t getTFTCurrentLine() Get the current line (Y) of the TFT controller This function is used to obtain the progress of the TFT (LTDC) 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. Read more...

getTFTFrameBuffer() const

@fn virtual uint16_t* STM32F4HAL::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::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...