19#ifndef __STM32F4xx_HAL_DCMI_EX_H
20#define __STM32F4xx_HAL_DCMI_EX_H
26#if defined(STM32F407xx) || defined(STM32F417xx) || defined(STM32F427xx) || defined(STM32F437xx) ||\
27 defined(STM32F429xx) || defined(STM32F439xx) || defined(STM32F446xx) || defined(STM32F469xx) ||\
85#if defined(STM32F446xx) || defined(STM32F469xx) || defined(STM32F479xx)
106#if defined(STM32F446xx) || defined(STM32F469xx) || defined(STM32F479xx)
114#define DCMI_BSM_ALL 0x00000000U
115#define DCMI_BSM_OTHER ((uint32_t)DCMI_CR_BSM_0)
116#define DCMI_BSM_ALTERNATE_4 ((uint32_t)DCMI_CR_BSM_1)
117#define DCMI_BSM_ALTERNATE_2 ((uint32_t)(DCMI_CR_BSM_0 | DCMI_CR_BSM_1))
126#define DCMI_OEBS_ODD 0x00000000U
127#define DCMI_OEBS_EVEN ((uint32_t)DCMI_CR_OEBS)
136#define DCMI_LSM_ALL 0x00000000U
137#define DCMI_LSM_ALTERNATE_2 ((uint32_t)DCMI_CR_LSM)
146#define DCMI_OELS_ODD 0x00000000U
147#define DCMI_OELS_EVEN ((uint32_t)DCMI_CR_OELS)
163#define DCMI_POSITION_ESCR_LSC (uint32_t)DCMI_ESCR_LSC_Pos
164#define DCMI_POSITION_ESCR_LEC (uint32_t)DCMI_ESCR_LEC_Pos
165#define DCMI_POSITION_ESCR_FEC (uint32_t)DCMI_ESCR_FEC_Pos
168#if defined(STM32F446xx) || defined(STM32F469xx) || defined(STM32F479xx)
172#define IS_DCMI_BYTE_SELECT_MODE(MODE)(((MODE) == DCMI_BSM_ALL) || \
173 ((MODE) == DCMI_BSM_OTHER) || \
174 ((MODE) == DCMI_BSM_ALTERNATE_4) || \
175 ((MODE) == DCMI_BSM_ALTERNATE_2))
177#define IS_DCMI_BYTE_SELECT_START(POLARITY)(((POLARITY) == DCMI_OEBS_ODD) || \
178 ((POLARITY) == DCMI_OEBS_EVEN))
180#define IS_DCMI_LINE_SELECT_MODE(MODE)(((MODE) == DCMI_LSM_ALL) || \
181 ((MODE) == DCMI_LSM_ALTERNATE_2))
183#define IS_DCMI_LINE_SELECT_START(POLARITY)(((POLARITY) == DCMI_OELS_ODD) || \
184 ((POLARITY) == DCMI_OELS_EVEN))
This file contains HAL common defines, enumeration, macros and structures definitions.
DCMIEx Embedded Synchronisation CODE Init structure definition.
DCMI Init structure definition.
uint32_t ExtendedDataMode
DCMI_CodesInitTypeDef SyncroCode