libmaple/stm32f2-f4/usart.c
void usart_foreach(void (*fn)(usart_dev*)) {
    fn(USART1);
    fn(USART2);
    fn(USART3);
    fn(UART4);
    fn(UART5);
    fn(USART6);
}
/**
 * @brief Call a function on each USART.
 * @param fn Function to call.
 */
@brief Call a function on each USART.
@param fn Function to call.
@brief Call a function on each USART . @param fn Function to call .
void usart_foreach(void (*fn)(usart_dev*)) {
    fn(USART1);
    fn(USART2);
    fn(USART3);
    fn(UART4);
    fn(UART5);
    fn(USART6);
}
void usart_foreach ( void ( * fn ) ( usart_dev * ) ) { fn ( USART1 ) ; fn ( USART2 ) ; fn ( USART3 ) ; fn ( UART4 ) ; fn ( UART5 ) ; fn ( USART6 ) ; }
@brief Call a function on each USART.
@brief Call a function on each USART .