no-OS
uart_stdio.h
Go to the documentation of this file.
1 /***************************************************************************/
39 #ifndef _UART_STDIO_H_
40 #define _UART_STDIO_H_
41 
42 #include "uart.h"
43 
44 void init_uart_stdio(struct uart_desc *desc);
45 
46 #endif //_UART_STDIO_H_
STDERR_FILENO
#define STDERR_FILENO
Definition: uart_stdio.c:49
_lseek
int _lseek(int fd, int ptr, int dir)
Definition: uart_stdio.c:94
_close
int _close(int fd)
Definition: uart_stdio.c:85
_isatty
int _isatty(int fd)
Definition: uart_stdio.c:56
_write
int _write(int fd, char *ptr, int len)
Definition: uart_stdio.c:65
init_uart_stdio
void init_uart_stdio(struct uart_desc *desc)
Definition: uart_stdio.c:51
_read
int _read(int fd, char *ptr, int len)
Definition: uart_stdio.c:104
STDIN_FILENO
#define STDIN_FILENO
Definition: uart_stdio.c:47
_fstat
int _fstat(int fd, struct stat *st)
Definition: uart_stdio.c:122
uart.h
Header file of UART interface.
STDOUT_FILENO
#define STDOUT_FILENO
Definition: uart_stdio.c:48
uart_read
int32_t uart_read(struct uart_desc *desc, uint8_t *data, uint32_t bytes_number)
Read data from UART. Blocking function.
Definition: uart.c:271
uart_desc
Stucture holding the UART descriptor.
Definition: uart.h:120
uart_write
int32_t uart_write(struct uart_desc *desc, const uint8_t *data, uint32_t bytes_number)
Write data to UART. Blocking function.
Definition: uart.c:318
init_uart_stdio
void init_uart_stdio(struct uart_desc *desc)
Definition: uart_stdio.c:51