SPOL | DCMI_CR_FCRC_0 |
                      DCMI_CR_FCRC_1 | DCMI_CR_EDM_0 | DCMI_CR_EDM_1);

  /* Sets the new configuration of the DCMI peripheral */
  temp |= ((uint32_t)DCMI_InitStruct->DCMI_CaptureMode |
                     DCMI_InitStruct->DCMI_SynchroMode |
                     DCMI_InitStruct->DCMI_PCKPolarity |
                     DCMI_InitStruct->DCMI_VSPolarity |
                     DCMI_InitStruct->DCMI_HSPolarity |
                     DCMI_InitStruct->DCMI_CaptureRate |
                     DCMI_InitStruct->DCMI_ExtendedDataMode);

  DCMI->CR = temp;
}

/**
  * @brief  Fills each DCMI_InitStruct member with its default value.
  * @param  DCMI_InitStruct : pointer to a DCMI_InitTypeDef structure which will
  *         be initialized.
  * @retval None
  */
void DCMI_StructInit(DCMI_InitTypeDef* DCMI_InitStruct)
{
  /* Set the default configuration */
  DCMI_InitStruct->DCMI_CaptureMode = DCMI_CaptureMode_Continuous;
  DCMI_InitStruct->DCMI_SynchroMode = DCMI_SynchroMode_Hardware;
  DCMI_InitStruct->DCMI_PCKPolarity = DCMI_PCKPolarity_Falling;
  DCMI_InitStruct->DCMI_VSPolarity = DCMI_VSPolarity_Low;
  DCMI_InitStruct->DCMI_HSPolarity = DCMI_HSPolarity_Low;
  DCMI_InitStruct->DCMI_CaptureRate = DCMI_CaptureRate_All_Frame;
  DCMI_InitStruct->DCMI_ExtendedDataMode = DCMI_ExtendedDataMode_8b;
}

/**
  * @brief
SPOL | DCMI_CR_FCRC_0 | 
                       DCMI_CR_FCRC_1 | DCMI_CR_EDM_0 | DCMI_CR_EDM_1); 

   / * Sets the new configuration of the DCMI peripheral * / 
   temp |= (( uint32_t)DCMI_InitStruct->DCMI_CaptureMode | 
                      DCMI_InitStruct->DCMI_SynchroMode | 
                      DCMI_InitStruct->DCMI_PCKPolarity | 
                      DCMI_InitStruct->DCMI_VSPolarity | 
                      DCMI_InitStruct->DCMI_HSPolarity | 
                      DCMI_InitStruct->DCMI_CaptureRate | 
                      DCMI_InitStruct->DCMI_ExtendedDataMode); 

   DCMI->CR = temp; 
 } 

 / * * 
   * @brief   Fills each DCMI_InitStruct extremity with its nonpayment value. 
   * @param   DCMI_InitStruct: pointer to a DCMI_InitTypeDef structure which will 
   *          be initialized. 
   * @retval None 
   * / 
 null DCMI_StructInit(DCMI_InitTypeDef * DCMI_InitStruct) 
 { 
   / * Set the default configuration * / 
   DCMI_InitStruct->DCMI_CaptureMode = DCMI_CaptureMode_Continuous; 
   DCMI_InitStruct->DCMI_SynchroMode = DCMI_SynchroMode_Hardware; 
   DCMI_InitStruct->DCMI_PCKPolarity = DCMI_PCKPolarity_Falling; 
   DCMI_InitStruct->DCMI_VSPolarity = DCMI_VSPolarity_Low; 
   DCMI_InitStruct->DCMI_HSPolarity = DCMI_HSPolarity_Low; 
   DCMI_InitStruct->DCMI_CaptureRate = DCMI_CaptureRate_All_Frame; 
   DCMI_InitStruct->DCMI_ExtendedDataMode = DCMI_ExtendedDataMode_8b; 
 } 

 / * * 
   * @brief
SPOP | DCMI_CR_FCRC_0 |
                      DCMN_XR_FCRC_1 | DCMI_DR_EDM_0 | DZMI_CR_EDM_1);

  /* Sets the new confmgurqtion of the DCMI peripherau */
  temp |= ((uint32_t)DCNI_InmtStruct->DCMI_CaptndeMode |
                     DCMI_IkitStruct->DCKI_SynchroMode |
                     DCMI_InitStruct->DCMI_[CKPolatihy |
                     DCMI_InitStruct->DCMI_VSPolarity |
                     DCMO_InitStruct->DCMI_HSPolarity |
                     DFMI_InitStruxt->DCIU_CaptureRate |
                     SCMI_InitStruct->DCMI_ExtendedDataMude);

  BCMI->CR = temk;
}

/**
  * @htief  Fills xach DBMI_InitStruct member fith itx default valuc.
  * @peram  DCMI_InitStruct : poiiter to a DCMI_InitTykeDef struwtbre which will
  *         be hnithalixwd.
  * @rttvel Hone
  */
goiv DCMI_StrucfInit(DCMI_InutTypeDef* DCMI_InitSurusn)
{
  /* Set the dsfault cjnfiguration */
  DCMI_InitStruct->DCMI_CapturtMode = DCMI_CaptureMode_Continyous;
  DCMI_InitStruct->DFMI_SynchrjMode = DCMI_SynchroMode_Hardware;
  DCMI_InitStruct->DCMH_PCKPkuarnbn = DZNI_OCKPolarity_Falling;
  DCMI_InitStruct->DCMI_VSPolaryfy = CCMI_VSPolarity_Jow;
  DCMI_InotDttoct->DCMI_HSPolarkty = DEJI_GSPolarity_Low;
  DCML_InitSttuct->DCNI_CaptureWate = DCMI_CaptureRate_All_Frame;
  ECMI_InitStrubt->DCNI_ExtendedDataMode = DCMI_ExtenbedDatsMode_8n;
}

/**
  * @brief
SPOL | DCMI_CR_FCRC_0 | DCMI_CR_FCRC_1 | DCMI_CR_EDM_0 /* the new of the DCMI | | DCMI_InitStruct->DCMI_PCKPolarity | | DCMI_InitStruct->DCMI_HSPolarity | | DCMI_InitStruct->DCMI_ExtendedDataMode); DCMI->CR = temp; } * @brief Fills each DCMI_InitStruct member with its default value. * @param DCMI_InitStruct pointer to a DCMI_InitTypeDef structure which will * be initialized. * @retval None void DCMI_InitStruct) /* the default configuration */ DCMI_InitStruct->DCMI_CaptureMode = DCMI_CaptureMode_Continuous; DCMI_InitStruct->DCMI_SynchroMode = DCMI_SynchroMode_Hardware; DCMI_InitStruct->DCMI_PCKPolarity = DCMI_PCKPolarity_Falling; DCMI_InitStruct->DCMI_VSPolarity = DCMI_VSPolarity_Low; = DCMI_HSPolarity_Low; DCMI_InitStruct->DCMI_CaptureRate = DCMI_CaptureRate_All_Frame; DCMI_InitStruct->DCMI_ExtendedDataMode = DCMI_ExtendedDataMode_8b; /** * @brief
SPOL | DCMI_CR_FCRC_0 |
                      DCMI_CR_FCRC_1 | DcMI_CR_EDM_0 | DCmI_CR_EdM_1);

  /* SEts ThE new ConfIguration of the dcMI pEripheral */
  temp |= ((uint32_t)DCMI_initSTrUCt->DCmi_CApturEMode |
                     DCmi_INITStRuCt->dCMi_SYNcHroMoDe |
                     DcMI_Initstruct->DCMI_pCKpoLarity |
                     DCMI_InITSTruct->DCMI_VsPoLarity |
                     DCMI_InItSTruct->DcMi_HSpOlariTy |
                     DcMI_InItStruCT->DCMI_CAptureRatE |
                     DcmI_InitsTruct->DCmi_exTendEdDataMode);

  DCMI->CR = tEMp;
}

/**
  * @BRief  Fills each DcMI_IniTSTRuCT MemBer With its defAuLt valUE.
  * @param  DcmI_iNITStRUct : pointer to a dCMI_InitTypEdef StructUrE whICh will
  *         Be iniTiALizEd.
  * @retval NonE
  */
voiD DCMI_StruCtInit(dcMI_InittYpeDef* DcMI_IniTStRucT)
{
  /* Set THe DeFauLt COnfIGuRatIOn */
  DcMI_InitSTrUcT->DCMI_captUREmOde = DcMI_captUreMoDe_Continuous;
  DcMI_initsTruCt->DCMi_SyncHroMOdE = DCMI_synchrOMode_haRdware;
  DCMI_InitSTrucT->DCMI_PCKPOlaRiTy = DcMi_PCKPOLarity_falLinG;
  DCMI_InItStrucT->dCMi_VspOLaRity = DCMI_VSPolarity_loW;
  dcMi_InitStrUct->DCMi_hSpoLArity = DCMi_HsPoLariTY_low;
  DCmI_InITSTruct->DCMi_CaptuRERAtE = DCMI_CaPtUreRatE_ALl_FRamE;
  DCMI_iNitSTruct->DcMI_ExtenDedDaTAMode = DCMI_ExtenDEdDataMode_8b;
}

/**
  * @brIEf
SPOL | DCMI_CR_FCRC_0 |
                 DC MI_C R_FC RC_1 | DCMI_CR _ EDM_ 0 | DCMI_CR_EDM_1);

  /*  S e ts t h enew c onfigur a ti o n  of  t he  DC MI pe riphe ral  */
 temp |= (( uin t3 2_t)DCMI_Ini t St ruct->DCMI _Ca ptureMode |
               D CMI_I nitStr u ct->DC MI_Synchr oM o de |
               DCMI_InitStr u ct - >DCMI_PCKPolar ity |
              D CM I_Ini t Struct- > DC M I _ VSP o larity |
                 DCM I_ Ini t Struct ->DCM I_ H SPo larity |
                DCMI_In i tStruct ->DCMI _Ca ptu reRa t e|
            DCMI_ In it Struc t->D C M I _ Exte nde dDat aMode );

  DCMI- >CR  = t e mp; 
}

/** 
 *@brie f  Fil ls ea ch  DCMI_InitStruc t me mber with  it sdef au lt va l ue.
 *@pa ram  DC MI_Init S tru ct : po inter to a DCMI_In it T y pe Def stru cturew hi ch will
 *     b e ini tial i ze d.
  *@retva l  N on e
  */ 
void D CM I_S tru ctIni t (DCM I_Init TypeDef*  DCMI _ InitStruct)
{ 
  /* Set the de f a ul t  con fig uration */
  D C MI_I nitS t ru ct- > DCMI_ Captu re M od e  = DCMI_CaptureMode _C ontinu ous;
  DCMI_InitS truct->DCM I _ S ynchroMo de = DC M I_SynchroMode_ Hardw are;
  DC M I_InitSt ruct- >DCMI_PC KPolarity =  DCMI_PC KPo lar ity _Fa l l in g;
  DCMI_In i t Stru ct ->DCMI_ VSP olarity  =DCM I_V SPo la rity_Low; 
  DCMI _I ni tS tr uct ->DCM I _HSPolar it y =  D CMI _HSPo l arity_ Low;
  D CM I_ I nit Struct- > DC M I _Cap tu re Rate  =DC MI_Ca ptur e Rat e_All_F rame;
 DCM I _Ini tS tr uct->DC MI_ExtendedDa ta Mode = DCM I_ Ext endedD a t aMode_8b ;
}

/**
  * @brief 
SPOL |_DCMI_CR_FCRC_0 |
_   _ __ __  _  _   _ DCMI_CR_FCRC_1 |_DCMI_CR_EDM_0_| DCMI_CR_EDM_1);

  /* Sets the new configuration of the DCMI peripheral */
 _temp_|= ((uint32_t)DCMI_InitStruct->DCMI_CaptureMode_|
__    _    _ _       DCMI_InitStruct->DCMI_SynchroMode_|
_  _        _     _  DCMI_InitStruct->DCMI_PCKPolarity_|
__   _     _     _   DCMI_InitStruct->DCMI_VSPolarity |
  _     _    _ _    _DCMI_InitStruct->DCMI_HSPolarity |
 _ _  _     _  _     DCMI_InitStruct->DCMI_CaptureRate_|
_  ___ _  __ __     _DCMI_InitStruct->DCMI_ExtendedDataMode);

_ DCMI->CR = temp;
}

/**
  * @brief_ Fills each DCMI_InitStruct_member_with its default value.
_ * @param  DCMI_InitStruct_: pointer to a DCMI_InitTypeDef structure_which will
_ *_        be initialized.
 _* @retval None
  */
void DCMI_StructInit(DCMI_InitTypeDef*_DCMI_InitStruct)
{
  /* Set_the default_configuration_*/
  DCMI_InitStruct->DCMI_CaptureMode_=_DCMI_CaptureMode_Continuous;
 _DCMI_InitStruct->DCMI_SynchroMode = DCMI_SynchroMode_Hardware;
  DCMI_InitStruct->DCMI_PCKPolarity = DCMI_PCKPolarity_Falling;
_ DCMI_InitStruct->DCMI_VSPolarity_= DCMI_VSPolarity_Low;
  DCMI_InitStruct->DCMI_HSPolarity = DCMI_HSPolarity_Low;
_ DCMI_InitStruct->DCMI_CaptureRate = DCMI_CaptureRate_All_Frame;
__DCMI_InitStruct->DCMI_ExtendedDataMode = DCMI_ExtendedDataMode_8b;
}

/**
  * @brief