34 lines
664 B
C
34 lines
664 B
C
/******************************************************************************
|
|
*
|
|
* Copyright (c) 2017-2019 by Löwenware Ltd
|
|
* Please, refer LICENSE file for legal information
|
|
*
|
|
******************************************************************************/
|
|
|
|
/**
|
|
* @file uart.h
|
|
* @author Ilja Kartašov <ik@lowenware.com>
|
|
* @brief
|
|
*
|
|
* @see https://lowenware.com/
|
|
*/
|
|
|
|
#ifndef UART_H_8AFC47F9_2953_42C1_A5C1_1AE5A1F52CD0
|
|
#define UART_H_8AFC47F9_2953_42C1_A5C1_1AE5A1F52CD0
|
|
|
|
|
|
#define UART_BASE 0x09000000
|
|
|
|
void
|
|
uart_init(void);
|
|
|
|
|
|
void
|
|
uart_putc(unsigned char c);
|
|
|
|
|
|
void
|
|
uart_puts(const unsigned char *s);
|
|
|
|
#endif /* !UART_H */
|