|
discoverpixy
|
DMA2D driver modules. More...
|
Modules | |
| DMA2D_Exported_Constants | |
| DMA2D_Private_Functions | |
Classes | |
| struct | DMA2D_InitTypeDef |
| DMA2D Init structure definition. More... | |
| struct | DMA2D_FG_InitTypeDef |
| struct | DMA2D_BG_InitTypeDef |
Macros | |
| #define | CR_MASK ((uint32_t)0xFFFCE0FC) /* DMA2D CR Mask */ |
| #define | PFCCR_MASK ((uint32_t)0x00FC00C0) /* DMA2D FGPFCCR Mask */ |
| #define | DEAD_MASK ((uint32_t)0xFFFF00FE) /* DMA2D DEAD Mask */ |
Functions | |
| void | DMA2D_DeInit (void) |
| Deinitializes the DMA2D peripheral registers to their default reset values. More... | |
| void | DMA2D_Init (DMA2D_InitTypeDef *DMA2D_InitStruct) |
| Initializes the DMA2D peripheral according to the specified parameters in the DMA2D_InitStruct. More... | |
| void | DMA2D_StructInit (DMA2D_InitTypeDef *DMA2D_InitStruct) |
| void | DMA2D_StartTransfer (void) |
| Start the DMA2D transfer. More... | |
| void | DMA2D_AbortTransfer (void) |
| Aboart the DMA2D transfer. More... | |
| void | DMA2D_Suspend (FunctionalState NewState) |
| Stop or continue the DMA2D transfer. More... | |
| void | DMA2D_FGConfig (DMA2D_FG_InitTypeDef *DMA2D_FG_InitStruct) |
| Configures the Foreground according to the specified parameters in the DMA2D_FGStruct. More... | |
| void | DMA2D_FG_StructInit (DMA2D_FG_InitTypeDef *DMA2D_FG_InitStruct) |
| Fills each DMA2D_FGStruct member with its default value. More... | |
| void | DMA2D_BGConfig (DMA2D_BG_InitTypeDef *DMA2D_BG_InitStruct) |
| Configures the Background according to the specified parameters in the DMA2D_BGStruct. More... | |
| void | DMA2D_BG_StructInit (DMA2D_BG_InitTypeDef *DMA2D_BG_InitStruct) |
| Fills each DMA2D_BGStruct member with its default value. More... | |
| void | DMA2D_FGStart (FunctionalState NewState) |
| Start the automatic loading of the CLUT or abort the transfer. More... | |
| void | DMA2D_BGStart (FunctionalState NewState) |
| Start the automatic loading of the CLUT or abort the transfer. More... | |
| void | DMA2D_DeadTimeConfig (uint32_t DMA2D_DeadTime, FunctionalState NewState) |
| Configures the DMA2D dead time. More... | |
| void | DMA2D_LineWatermarkConfig (uint32_t DMA2D_LWatermarkConfig) |
| Define the configuration of the line watermark . More... | |
| void | DMA2D_ITConfig (uint32_t DMA2D_IT, FunctionalState NewState) |
| Enables or disables the specified DMA2D's interrupts. More... | |
| FlagStatus | DMA2D_GetFlagStatus (uint32_t DMA2D_FLAG) |
| Checks whether the specified DMA2D's flag is set or not. More... | |
| void | DMA2D_ClearFlag (uint32_t DMA2D_FLAG) |
| Clears the DMA2D's pending flags. More... | |
| ITStatus | DMA2D_GetITStatus (uint32_t DMA2D_IT) |
| Checks whether the specified DMA2D's interrupt has occurred or not. More... | |
| void | DMA2D_ClearITPendingBit (uint32_t DMA2D_IT) |
| Clears the DMA2D's interrupt pending bits. More... | |
DMA2D driver modules.
| void DMA2D_AbortTransfer | ( | void | ) |
Aboart the DMA2D transfer.
| void DMA2D_BG_StructInit | ( | DMA2D_BG_InitTypeDef * | DMA2D_BG_InitStruct | ) |
Fills each DMA2D_BGStruct member with its default value.
| DMA2D_BGStruct | pointer to a DMA2D_BGTypeDef structure which will be initialized. |
| None |
< Initialize the DMA2D background memory address
< Initialize the DMA2D background offset
< Initialize the DMA2D background color mode
< Initialize the DMA2D background CLUT color mode
< Initialize the DMA2D background CLUT size
< Initialize the DMA2D background alpha mode
< Initialize the DMA2D background alpha value
< Initialize the DMA2D background blue value
< Initialize the DMA2D background green value
< Initialize the DMA2D background red value
< Initialize the DMA2D background CLUT memory address
| void DMA2D_BGConfig | ( | DMA2D_BG_InitTypeDef * | DMA2D_BG_InitStruct | ) |
Configures the Background according to the specified parameters in the DMA2D_BGStruct.
| DMA2D_BGStruct | pointer to a DMA2D_BGTypeDef structure that contains the configuration information for the specified Background. |
| None |
| void DMA2D_BGStart | ( | FunctionalState | NewState | ) |
Start the automatic loading of the CLUT or abort the transfer.
| NewState | new state of the DMA2D peripheral. This parameter can be: ENABLE or DISABLE. |
| None |
| void DMA2D_ClearFlag | ( | uint32_t | DMA2D_FLAG | ) |
Clears the DMA2D's pending flags.
| DMA2D_FLAG | specifies the flag to clear. This parameter can be any combination of the following values:
|
| None |
| void DMA2D_ClearITPendingBit | ( | uint32_t | DMA2D_IT | ) |
Clears the DMA2D's interrupt pending bits.
| DMA2D_IT | specifies the interrupt pending bit to clear. This parameter can be any combination of the following values:
|
| None |
| void DMA2D_DeadTimeConfig | ( | uint32_t | DMA2D_DeadTime, |
| FunctionalState | NewState | ||
| ) |
Configures the DMA2D dead time.
| DMA2D_DeadTime | specifies the DMA2D dead time. This parameter can be one of the following values: |
| None |
| void DMA2D_DeInit | ( | void | ) |
Deinitializes the DMA2D peripheral registers to their default reset values.
| None |
| None |

| void DMA2D_FG_StructInit | ( | DMA2D_FG_InitTypeDef * | DMA2D_FG_InitStruct | ) |
Fills each DMA2D_FGStruct member with its default value.
| DMA2D_FGStruct | pointer to a DMA2D_FGTypeDef structure which will be initialized. |
| None |
< Initialize the DMA2D foreground memory address
< Initialize the DMA2D foreground offset
< Initialize the DMA2D foreground color mode
< Initialize the DMA2D foreground CLUT color mode
< Initialize the DMA2D foreground CLUT size
< Initialize the DMA2D foreground alpha mode
< Initialize the DMA2D foreground alpha value
< Initialize the DMA2D foreground blue value
< Initialize the DMA2D foreground green value
< Initialize the DMA2D foreground red value
< Initialize the DMA2D foreground CLUT memory address
| void DMA2D_FGConfig | ( | DMA2D_FG_InitTypeDef * | DMA2D_FG_InitStruct | ) |
Configures the Foreground according to the specified parameters in the DMA2D_FGStruct.
| DMA2D_FGStruct | pointer to a DMA2D_FGTypeDef structure that contains the configuration information for the specified Background. |
| None |
| void DMA2D_FGStart | ( | FunctionalState | NewState | ) |
Start the automatic loading of the CLUT or abort the transfer.
| NewState | new state of the DMA2D peripheral. This parameter can be: ENABLE or DISABLE. |
| None |
| FlagStatus DMA2D_GetFlagStatus | ( | uint32_t | DMA2D_FLAG | ) |
Checks whether the specified DMA2D's flag is set or not.
| DMA2D_FLAG | specifies the flag to check. This parameter can be one of the following values:
|
| The | new state of DMA2D_FLAG (SET or RESET). |
| ITStatus DMA2D_GetITStatus | ( | uint32_t | DMA2D_IT | ) |
Checks whether the specified DMA2D's interrupt has occurred or not.
| DMA2D_IT | specifies the DMA2D interrupts sources to check. This parameter can be one of the following values:
|
| The | new state of the DMA2D_IT (SET or RESET). |
| void DMA2D_Init | ( | DMA2D_InitTypeDef * | DMA2D_InitStruct | ) |
Initializes the DMA2D peripheral according to the specified parameters in the DMA2D_InitStruct.
| DMA2D_InitStruct | pointer to a DMA2D_InitTypeDef structure that contains the configuration information for the specified DMA2D peripheral. |
| None |
Fills each DMA2D_InitStruct member with its default value.
| DMA2D_InitStruct | pointer to a DMA2D_InitTypeDef structure which will be initialized. |
| None |
| void DMA2D_ITConfig | ( | uint32_t | DMA2D_IT, |
| FunctionalState | NewState | ||
| ) |
Enables or disables the specified DMA2D's interrupts.
| DMA2D_IT | specifies the DMA2D interrupts sources to be enabled or disabled. This parameter can be any combination of the following values:
|
| NewState | new state of the specified DMA2D interrupts. This parameter can be: ENABLE or DISABLE. |
| None |
| void DMA2D_LineWatermarkConfig | ( | uint32_t | DMA2D_LWatermarkConfig | ) |
Define the configuration of the line watermark .
| DMA2D_LWatermarkConfig | Line Watermark configuration. |
| None |
| void DMA2D_StartTransfer | ( | void | ) |
Start the DMA2D transfer.
| void DMA2D_Suspend | ( | FunctionalState | NewState | ) |
Stop or continue the DMA2D transfer.
| NewState | new state of the DMA2D peripheral. This parameter can be: ENABLE or DISABLE. |
| None |
1.8.9.1