Added missing macros.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12462 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
parent
426d45d6d4
commit
53093a74b0
|
@ -1263,6 +1263,34 @@
|
|||
#define rccResetFSMC() rccResetAHB3(RCC_AHB3RSTR_FMCRST)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @name DCMI peripheral specific RCC operations
|
||||
* @{
|
||||
*/
|
||||
/**
|
||||
* @brief Enables the DCMI peripheral clock.
|
||||
*
|
||||
* @param[in] lp low power enable flag
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
#define rccEnableDCMI(lp) rccEnableAHB2(RCC_AHB2ENR_DCMIEN, lp)
|
||||
|
||||
/**
|
||||
* @brief Disables the DCMI peripheral clock.
|
||||
+ *
|
||||
+ * @api
|
||||
*/
|
||||
#define rccDisableDCMI() rccDisableAHB2(RCC_AHB2ENR_DCMIEN)
|
||||
|
||||
/**
|
||||
* @brief Resets the DCMI peripheral.
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
#define rccResetDCMI() rccResetAHB2(RCC_AHB2RSTR_DCMIRST)
|
||||
/** @} */
|
||||
|
||||
/*===========================================================================*/
|
||||
/* External declarations. */
|
||||
/*===========================================================================*/
|
||||
|
|
|
@ -380,10 +380,12 @@
|
|||
#define STM32_IWDG_IS_WINDOWED TRUE
|
||||
|
||||
/* LTDC attributes.*/
|
||||
#define STM32_HAS_LTDC FALSE
|
||||
#define STM32_HAS_LTDC TRUE
|
||||
|
||||
/* DMA2D attributes.*/
|
||||
#define STM32_HAS_DMA2D FALSE
|
||||
#define STM32_HAS_DMA2D TRUE
|
||||
#define STM32_DMA2D_NUMBER 90
|
||||
#define STM32_DMA2D_HANDLER Vector1A8
|
||||
|
||||
/* FSMC attributes.*/
|
||||
#define STM32_HAS_FSMC TRUE
|
||||
|
@ -392,6 +394,11 @@
|
|||
#define STM32_HAS_CRC TRUE
|
||||
#define STM32_CRC_PROGRAMMABLE TRUE
|
||||
|
||||
/* DCMI attributes.*/
|
||||
#define STM32_HAS_DCMI TRUE
|
||||
#define STM32_DCMI_NUMBER 85
|
||||
#define STM32_DCMI_HANDLER Vector14C
|
||||
|
||||
#endif /* defined(STM32L4R5xx) || defined(STM32L4R7xx) ||
|
||||
defined(STM32L4R9xx) || defined(STM32L4S5xx) ||
|
||||
defined(STM32L4S7xx) || defined(STM32L4S9xx) */
|
||||
|
|
Loading…
Reference in New Issue