mikroSDK Reference Manual

Enable or disable the AHB2 peripheral clock. More...

Macros

#define __HAL_RCC_USB_OTG_FS_CLK_ENABLE()
 
#define __HAL_RCC_RNG_CLK_ENABLE()
 
#define __HAL_RCC_USB_OTG_FS_CLK_DISABLE()   (RCC->AHB2ENR &= ~(RCC_AHB2ENR_OTGFSEN))
 
#define __HAL_RCC_RNG_CLK_DISABLE()   (RCC->AHB2ENR &= ~(RCC_AHB2ENR_RNGEN))
 

Macro Definition Documentation

◆ __HAL_RCC_RNG_CLK_ENABLE

#define __HAL_RCC_RNG_CLK_ENABLE ( )
Value:
do { \
__IO uint32_t tmpreg = 0x00U; \
SET_BIT(RCC->AHB2ENR, RCC_AHB2ENR_RNGEN);\
/* Delay after an RCC peripheral clock enabling */ \
tmpreg = READ_BIT(RCC->AHB2ENR, RCC_AHB2ENR_RNGEN);\
UNUSED(tmpreg); \
} while(0)
#define __IO
Definition core_cm3.h:170

◆ __HAL_RCC_USB_OTG_FS_CLK_ENABLE

#define __HAL_RCC_USB_OTG_FS_CLK_ENABLE ( )
Value:
do {(RCC->AHB2ENR |= (RCC_AHB2ENR_OTGFSEN));\
__HAL_RCC_SYSCFG_CLK_ENABLE();\
}while(0)