Would rather have it so that every peripheral instance
Like huart1, huart2 would have its own callback instead of having it together (void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)). That is legacy code.
Could apply to GPIO, ADC, UART, I2C, etc.
Anything with interrupts
Would rather have it so that every peripheral instance
Like huart1, huart2 would have its own callback instead of having it together (void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)). That is legacy code.
Could apply to GPIO, ADC, UART, I2C, etc.
Anything with interrupts