git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_20.3.x@13923 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2020-11-26 10:19:46 +00:00
parent fb19f28572
commit bc9cab83df
1 changed files with 56 additions and 0 deletions

View File

@ -489,6 +489,62 @@
#define rccResetADC3() rccResetAHB4(RCC_AHB4RSTR_ADC3RST)
/** @} */
/**
* @name CRYP peripheral specific RCC operations
* @{
*/
/**
* @brief Enables the CRYP peripheral clock.
*
* @param[in] lp low power enable flag
*
* @api
*/
#define rccEnableCRYP(lp) rccEnableAHB2(RCC_AHB2ENR_CRYPEN, lp)
/**
* @brief Disables the CRYP peripheral clock.
*
* @api
*/
#define rccDisableCRYP() rccDisableAHB2(RCC_AHB2ENR_CRYPEN)
/**
* @brief Resets the CRYP peripheral.
*
* @api
*/
#define rccResetCRYP() rccResetAHB2(RCC_AHB2RSTR_CRYPRST)
/** @} */
/**
* @name HASH peripheral specific RCC operations
* @{
*/
/**
* @brief Enables the HASH peripheral clock.
*
* @param[in] lp low power enable flag
*
* @api
*/
#define rccEnableHASH(lp) rccEnableAHB2(RCC_AHB2ENR_HASHEN, lp)
/**
* @brief Disables the HASH peripheral clock.
*
* @api
*/
#define rccDisableHASH() rccDisableAHB2(RCC_AHB2ENR_HASHEN)
/**
* @brief Resets the HASH peripheral.
*
* @api
*/
#define rccResetHASH() rccResetAHB2(RCC_AHB2RSTR_HASHRST)
/** @} */
/**
* @name DAC peripheral specific RCC operations
* @{