aboutsummaryrefslogtreecommitdiff
path: root/src/inc/uart/uart.h
blob: 6e24df5adcd276a3f7fc978b37ecb236755be68f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef UART_H
#define UART_H
  #include <util/setbaud.h>
  #include <avr/interrupt.h>

  /// #define STRING_SIZE 32
  /// typedef struct
  /// {
    /// char data[STRING_SIZE];
    /// int8_t size;
  /// } string;
  /// volatile string uart_string;

  void uart_init();
  void uart_putc(char c);

#endif
..