Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define __HAL_RCC_GPIOx_CLK_ENABLE(x) do { \
- __IO uint32_t tmpreg; \
- SET_BIT(RCC->AHB1ENR, (0x1UL << (x*1U)));\
- /* Delay after an RCC peripheral clock enabling */ \
- tmpreg = READ_BIT(RCC->AHB1ENR, (0x1UL << (x*1U)));\
- UNUSED(tmpreg); \
- } while(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement