You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
475 B

  1. #ifndef __UART_H__
  2. #define __UART_H__
  3. /* *********************************************************************** */
  4. void uart_init (void);
  5. void uart_putc (uint8_t data);
  6. uint8_t uart_getc (void);
  7. uint8_t uart_rx_count (void);
  8. void uart_putstr (const char *str);
  9. void uart_put_hex (uint8_t data);
  10. uint8_t uart_get_hex (void);
  11. /* *********************************************************************** */
  12. #endif /* __UART_H__ */