git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8891 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
Giovanni Di Sirio 2016-02-14 10:25:03 +00:00
parent 61749d34be
commit abd680e3e1
1 changed files with 30 additions and 0 deletions

View File

@ -1099,6 +1099,36 @@
#define rccResetLPUART1() rccResetAPB1R2(RCC_APB1RSTR2_LPUART1RST)
/** @} */
/**
* @name FSMC peripherals specific RCC operations
* @{
*/
/**
* @brief Enables the FSMC peripheral clock.
*
* @param[in] lp low power enable flag
*
* @api
*/
#define rccEnableFSMC(lp) rccEnableAHB3(RCC_AHB3ENR_FMCEN, lp)
/**
* @brief Disables the FSMC peripheral clock.
*
* @param[in] lp low power enable flag
*
* @api
*/
#define rccDisableFSMC(lp) rccDisableAHB3(RCC_AHB3ENR_FMCEN, lp)
/**
* @brief Resets the FSMC peripheral.
*
* @api
*/
#define rccResetFSMC() rccResetAHB3(RCC_AHB3RSTR_FMCRST)
/** @} */
/*===========================================================================*/
/* External declarations. */
/*===========================================================================*/