git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13924 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2020-11-26 10:24:04 +00:00
parent cf2f2c017c
commit d80ef59b81
1 changed files with 6 additions and 6 deletions

View File

@ -901,27 +901,27 @@
* @{
*/
/**
* @brief Enables the USB1_OTG_HS peripheral clock.
* @brief Enables the USB1_OTG_FS peripheral clock.
*
* @param[in] lp low power enable flag
*
* @api
*/
#define rccEnableUSB1_OTG_HS(lp) rccEnableAHB1(RCC_AHB1ENR_USB1OTGHSEN, lp)
#define rccEnableUSB1_OTG_FS(lp) rccEnableAHB1(RCC_AHB1ENR_USB2OTGFSEN, lp)
/**
* @brief Disables the USB1_OTG_HS peripheral clock.
* @brief Disables the USB1_OTG_FS peripheral clock.
*
* @api
*/
#define rccDisableUSB1_OTG_HS() rccDisableAHB1(RCC_AHB1ENR_USB1OTGHSEN)
#define rccDisableUSB1_OTG_FS() rccDisableAHB1(RCC_AHB1ENR_USB2OTGFSEN)
/**
* @brief Resets the USB1_OTG_HS peripheral.
* @brief Resets the USB1_OTG_FS peripheral.
*
* @api
*/
#define rccResetUSB1_OTG_HS() rccResetAHB1(RCC_AHB1RSTR_USB1OTGHSRST)
#define rccResetUSB1_OTG_FS() rccResetAHB1(RCC_AHB1RSTR_USB2OTGFSRST)
/**
* @brief Enables the USB2_OTG_HS peripheral clock.