/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: uart.h * Author: jens * * Created on 9. Januar 2017, 08:05 */ #include #ifndef UART_H #define UART_H typedef struct _suart_if_t { volatile uint32_t *pCTRL; volatile uint32_t *pDATA; volatile uint32_t *pBAUD; } uart_if_t; #ifdef __cplusplus extern "C" { #endif int UART_readchar(void const *pInst); void UART_writechar(void const *pInst, char c); #ifdef __cplusplus } #endif #endif /* UART_H */