|
discoverpixy
|
This file contains all the functions prototypes for the LTDC firmware library. More...
#include "stm32f4xx.h"

Go to the source code of this file.
Classes | |
| struct | LTDC_InitTypeDef |
| LTDC Init structure definition. More... | |
| struct | LTDC_Layer_InitTypeDef |
| LTDC Layer structure definition. More... | |
| struct | LTDC_PosTypeDef |
| LTDC Position structure definition. More... | |
| struct | LTDC_RGBTypeDef |
| struct | LTDC_ColorKeying_InitTypeDef |
| struct | LTDC_CLUT_InitTypeDef |
Macros | |
| #define | LTDC_HorizontalSYNC ((uint32_t)0x00000FFF) |
| #define | LTDC_VerticalSYNC ((uint32_t)0x000007FF) |
| #define | IS_LTDC_HSYNC(HSYNC) ((HSYNC) <= LTDC_HorizontalSYNC) |
| #define | IS_LTDC_VSYNC(VSYNC) ((VSYNC) <= LTDC_VerticalSYNC) |
| #define | IS_LTDC_AHBP(AHBP) ((AHBP) <= LTDC_HorizontalSYNC) |
| #define | IS_LTDC_AVBP(AVBP) ((AVBP) <= LTDC_VerticalSYNC) |
| #define | IS_LTDC_AAW(AAW) ((AAW) <= LTDC_HorizontalSYNC) |
| #define | IS_LTDC_AAH(AAH) ((AAH) <= LTDC_VerticalSYNC) |
| #define | IS_LTDC_TOTALW(TOTALW) ((TOTALW) <= LTDC_HorizontalSYNC) |
| #define | IS_LTDC_TOTALH(TOTALH) ((TOTALH) <= LTDC_VerticalSYNC) |
| #define | LTDC_HSPolarity_AL ((uint32_t)0x00000000) |
| #define | LTDC_HSPolarity_AH LTDC_GCR_HSPOL |
| #define | IS_LTDC_HSPOL(HSPOL) |
| #define | LTDC_VSPolarity_AL ((uint32_t)0x00000000) |
| #define | LTDC_VSPolarity_AH LTDC_GCR_VSPOL |
| #define | IS_LTDC_VSPOL(VSPOL) |
| #define | LTDC_DEPolarity_AL ((uint32_t)0x00000000) |
| #define | LTDC_DEPolarity_AH LTDC_GCR_DEPOL |
| #define | IS_LTDC_DEPOL(DEPOL) |
| #define | LTDC_PCPolarity_IPC ((uint32_t)0x00000000) |
| #define | LTDC_PCPolarity_IIPC LTDC_GCR_PCPOL |
| #define | IS_LTDC_PCPOL(PCPOL) |
| #define | LTDC_IMReload LTDC_SRCR_IMR |
| #define | LTDC_VBReload LTDC_SRCR_VBR |
| #define | IS_LTDC_RELOAD(RELOAD) |
| #define | LTDC_Back_Color ((uint32_t)0x000000FF) |
| #define | IS_LTDC_BackBlueValue(BBLUE) ((BBLUE) <= LTDC_Back_Color) |
| #define | IS_LTDC_BackGreenValue(BGREEN) ((BGREEN) <= LTDC_Back_Color) |
| #define | IS_LTDC_BackRedValue(BRED) ((BRED) <= LTDC_Back_Color) |
| #define | LTDC_POS_CY LTDC_CPSR_CYPOS |
| #define | LTDC_POS_CX LTDC_CPSR_CXPOS |
| #define | IS_LTDC_GET_POS(POS) (((POS) <= LTDC_POS_CY)) |
| #define | IS_LTDC_LIPOS(LIPOS) ((LIPOS) <= 0x7FF) |
| #define | LTDC_CD_VDES LTDC_CDSR_VDES |
| #define | LTDC_CD_HDES LTDC_CDSR_HDES |
| #define | LTDC_CD_VSYNC LTDC_CDSR_VSYNCS |
| #define | LTDC_CD_HSYNC LTDC_CDSR_HSYNCS |
| #define | IS_LTDC_GET_CD(CD) |
| #define | LTDC_IT_LI LTDC_IER_LIE |
| #define | LTDC_IT_FU LTDC_IER_FUIE |
| #define | LTDC_IT_TERR LTDC_IER_TERRIE |
| #define | LTDC_IT_RR LTDC_IER_RRIE |
| #define | IS_LTDC_IT(IT) ((((IT) & (uint32_t)0xFFFFFFF0) == 0x00) && ((IT) != 0x00)) |
| #define | LTDC_FLAG_LI LTDC_ISR_LIF |
| #define | LTDC_FLAG_FU LTDC_ISR_FUIF |
| #define | LTDC_FLAG_TERR LTDC_ISR_TERRIF |
| #define | LTDC_FLAG_RR LTDC_ISR_RRIF |
| #define | IS_LTDC_FLAG(FLAG) |
| #define | LTDC_Pixelformat_ARGB8888 ((uint32_t)0x00000000) |
| #define | LTDC_Pixelformat_RGB888 ((uint32_t)0x00000001) |
| #define | LTDC_Pixelformat_RGB565 ((uint32_t)0x00000002) |
| #define | LTDC_Pixelformat_ARGB1555 ((uint32_t)0x00000003) |
| #define | LTDC_Pixelformat_ARGB4444 ((uint32_t)0x00000004) |
| #define | LTDC_Pixelformat_L8 ((uint32_t)0x00000005) |
| #define | LTDC_Pixelformat_AL44 ((uint32_t)0x00000006) |
| #define | LTDC_Pixelformat_AL88 ((uint32_t)0x00000007) |
| #define | IS_LTDC_Pixelformat(Pixelformat) |
| #define | LTDC_BlendingFactor1_CA ((uint32_t)0x00000400) |
| #define | LTDC_BlendingFactor1_PAxCA ((uint32_t)0x00000600) |
| #define | IS_LTDC_BlendingFactor1(BlendingFactor1) (((BlendingFactor1) == LTDC_BlendingFactor1_CA) || ((BlendingFactor1) == LTDC_BlendingFactor1_PAxCA)) |
| #define | LTDC_BlendingFactor2_CA ((uint32_t)0x00000005) |
| #define | LTDC_BlendingFactor2_PAxCA ((uint32_t)0x00000007) |
| #define | IS_LTDC_BlendingFactor2(BlendingFactor2) (((BlendingFactor2) == LTDC_BlendingFactor2_CA) || ((BlendingFactor2) == LTDC_BlendingFactor2_PAxCA)) |
| #define | LTDC_STOPPosition ((uint32_t)0x0000FFFF) |
| #define | LTDC_STARTPosition ((uint32_t)0x00000FFF) |
| #define | LTDC_DefaultColorConfig ((uint32_t)0x000000FF) |
| #define | LTDC_ColorFrameBuffer ((uint32_t)0x00001FFF) |
| #define | LTDC_LineNumber ((uint32_t)0x000007FF) |
| #define | IS_LTDC_HCONFIGST(HCONFIGST) ((HCONFIGST) <= LTDC_STARTPosition) |
| #define | IS_LTDC_HCONFIGSP(HCONFIGSP) ((HCONFIGSP) <= LTDC_STOPPosition) |
| #define | IS_LTDC_VCONFIGST(VCONFIGST) ((VCONFIGST) <= LTDC_STARTPosition) |
| #define | IS_LTDC_VCONFIGSP(VCONFIGSP) ((VCONFIGSP) <= LTDC_STOPPosition) |
| #define | IS_LTDC_DEFAULTCOLOR(DEFAULTCOLOR) ((DEFAULTCOLOR) <= LTDC_DefaultColorConfig) |
| #define | IS_LTDC_CFBP(CFBP) ((CFBP) <= LTDC_ColorFrameBuffer) |
| #define | IS_LTDC_CFBLL(CFBLL) ((CFBLL) <= LTDC_ColorFrameBuffer) |
| #define | IS_LTDC_CFBLNBR(CFBLNBR) ((CFBLNBR) <= LTDC_LineNumber) |
| #define | LTDC_colorkeyingConfig ((uint32_t)0x000000FF) |
| #define | IS_LTDC_CKEYING(CKEYING) ((CKEYING) <= LTDC_colorkeyingConfig) |
| #define | LTDC_CLUTWR ((uint32_t)0x000000FF) |
| #define | IS_LTDC_CLUTWR(CLUTWR) ((CLUTWR) <= LTDC_CLUTWR) |
Functions | |
| void | LTDC_DeInit (void) |
| Deinitializes the LTDC peripheral registers to their default reset values. More... | |
| void | LTDC_Init (LTDC_InitTypeDef *LTDC_InitStruct) |
| Initializes the LTDC peripheral according to the specified parameters in the LTDC_InitStruct. More... | |
| void | LTDC_StructInit (LTDC_InitTypeDef *LTDC_InitStruct) |
| Fills each LTDC_InitStruct member with its default value. More... | |
| void | LTDC_Cmd (FunctionalState NewState) |
| Enables or disables the LTDC Controller. More... | |
| void | LTDC_DitherCmd (FunctionalState NewState) |
| Enables or disables Dither. More... | |
| LTDC_RGBTypeDef | LTDC_GetRGBWidth (void) |
| Get the dither RGB width. More... | |
| void | LTDC_RGBStructInit (LTDC_RGBTypeDef *LTDC_RGB_InitStruct) |
| Fills each LTDC_RGBStruct member with its default value. More... | |
| void | LTDC_LIPConfig (uint32_t LTDC_LIPositionConfig) |
| Define the position of the line interrupt . More... | |
| void | LTDC_ReloadConfig (uint32_t LTDC_Reload) |
| reload layers registers with new parameters More... | |
| void | LTDC_LayerInit (LTDC_Layer_TypeDef *LTDC_Layerx, LTDC_Layer_InitTypeDef *LTDC_Layer_InitStruct) |
| Initializes the LTDC Layer according to the specified parameters in the LTDC_LayerStruct. More... | |
| void | LTDC_LayerStructInit (LTDC_Layer_InitTypeDef *LTDC_Layer_InitStruct) |
| Fills each LTDC_Layer_InitStruct member with its default value. More... | |
| void | LTDC_LayerCmd (LTDC_Layer_TypeDef *LTDC_Layerx, FunctionalState NewState) |
| Enables or disables the LTDC_Layer Controller. More... | |
| LTDC_PosTypeDef | LTDC_GetPosStatus (void) |
| Get the current position. More... | |
| void | LTDC_PosStructInit (LTDC_PosTypeDef *LTDC_Pos_InitStruct) |
| Fills each LTDC_Pos_InitStruct member with its default value. More... | |
| FlagStatus | LTDC_GetCDStatus (uint32_t LTDC_CD) |
| Checks whether the specified LTDC's flag is set or not. More... | |
| void | LTDC_ColorKeyingConfig (LTDC_Layer_TypeDef *LTDC_Layerx, LTDC_ColorKeying_InitTypeDef *LTDC_colorkeying_InitStruct, FunctionalState NewState) |
| Set and configure the color keying. More... | |
| void | LTDC_ColorKeyingStructInit (LTDC_ColorKeying_InitTypeDef *LTDC_colorkeying_InitStruct) |
| Fills each LTDC_colorkeying_InitStruct member with its default value. More... | |
| void | LTDC_CLUTCmd (LTDC_Layer_TypeDef *LTDC_Layerx, FunctionalState NewState) |
| Enables or disables CLUT. More... | |
| void | LTDC_CLUTInit (LTDC_Layer_TypeDef *LTDC_Layerx, LTDC_CLUT_InitTypeDef *LTDC_CLUT_InitStruct) |
| configure the CLUT. More... | |
| void | LTDC_CLUTStructInit (LTDC_CLUT_InitTypeDef *LTDC_CLUT_InitStruct) |
| Fills each LTDC_CLUT_InitStruct member with its default value. More... | |
| void | LTDC_LayerPosition (LTDC_Layer_TypeDef *LTDC_Layerx, uint16_t OffsetX, uint16_t OffsetY) |
| reconfigure the layer position. More... | |
| void | LTDC_LayerAlpha (LTDC_Layer_TypeDef *LTDC_Layerx, uint8_t ConstantAlpha) |
| reconfigure constant alpha. More... | |
| void | LTDC_LayerAddress (LTDC_Layer_TypeDef *LTDC_Layerx, uint32_t Address) |
| reconfigure layer address. More... | |
| void | LTDC_LayerSize (LTDC_Layer_TypeDef *LTDC_Layerx, uint32_t Width, uint32_t Height) |
| reconfigure layer size. More... | |
| void | LTDC_LayerPixelFormat (LTDC_Layer_TypeDef *LTDC_Layerx, uint32_t PixelFormat) |
| reconfigure layer pixel format. More... | |
| void | LTDC_ITConfig (uint32_t LTDC_IT, FunctionalState NewState) |
| Enables or disables the specified LTDC's interrupts. More... | |
| FlagStatus | LTDC_GetFlagStatus (uint32_t LTDC_FLAG) |
| Checks whether the specified LTDC's flag is set or not. More... | |
| void | LTDC_ClearFlag (uint32_t LTDC_FLAG) |
| Clears the LTDC's pending flags. More... | |
| ITStatus | LTDC_GetITStatus (uint32_t LTDC_IT) |
| Checks whether the specified LTDC's interrupt has occurred or not. More... | |
| void | LTDC_ClearITPendingBit (uint32_t LTDC_IT) |
| Clears the LTDC's interrupt pending bits. More... | |
This file contains all the functions prototypes for the LTDC firmware library.
Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:
http://www.st.com/software_license_agreement_liberty_v2
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
1.8.9.1