Skip to content
Snippets Groups Projects
Commit a464db86 authored by iliya's avatar iliya
Browse files

formatting

parent 961a3b05
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,8 @@ typedef void (*uart_callback_t)(int int_status);
* receiving. if NULL is given, no interrupt is configured. The callback
* will be called each time a character is received.
*/
void uart0_init_ref(uint32_t baudrate, uart_callback_t tx_callback, uart_callback_t rx_callback);
void uart0_init_ref(uint32_t baudrate, uart_callback_t tx_callback,
uart_callback_t rx_callback);
/* Description: UART 0 initialisation
*
......@@ -47,7 +48,7 @@ void uart0_init_ref(uint32_t baudrate, uart_callback_t tx_callback, uart_callbac
void uart0_send_ref(uint8_t *data, uint32_t length);
/* Description: Block until receiving one byte (polling)
* Return: byte read */
* Return: byte read */
char uart0_rec_byte_ref();
/* Description: stop UART0 interrupts. The switch off is only managed by the VIC. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment