What are weak functions and what are their uses? I am using a stm32f429 micro controller

When a function is prepended with the descriptor __weak it basically means that if you (the coder) do not define it, it is defined here. Let us take a look at my arch-nemesis “HAL_UART_RxCpltCallback()”. This function exists within the HAL of the STM32F4-HAL code base that you can download from ST-Micro. Within the file stm32f4xx_hal_uart.c … Read more