Question
Enable the UART2 Peripheral Clock
Hello, I am doing a UART example and I need to find the command to Enable the UART2 Peripheral Clock. I have enabled the GPIO clock:
__HAL_RCC_GPIOA_CLK_ENABLE(); // stm32f4xx_hal_rcc.h
and now I need to enable the UART2 Clock Peripheral.
Can anyone please help me.
Thank you,
Joe