no-OS
maxim_uart_stdio.h
Go to the documentation of this file.
1 /***************************************************************************/
33 #ifndef MAXIM_UART_STDIO_H_
34 #define MAXIM_UART_STDIO_H_
35 
36 #include <sys/stat.h>
37 #include "no_os_uart.h"
38 
39 void no_os_uart_stdio(struct no_os_uart_desc *);
40 int _isatty(int);
41 int _write(int, char *, int);
42 int _close(int);
43 int _lseek(int, off_t, int);
44 int _read(int, char *, int);
45 int _fstat(int, struct stat *);
46 
47 #endif
STDERR_FILENO
#define STDERR_FILENO
Definition: maxim_uart_stdio.c:51
_isatty
int _isatty(int)
Definition: maxim_uart_stdio.c:72
maxim_uart_stdio.h
Header file for UART driver stdout/stdin redirection.
no_os_uart_write
int32_t no_os_uart_write(struct no_os_uart_desc *desc, const uint8_t *data, uint32_t bytes_number)
Write to UART.
Definition: no_os_uart.c:144
STDIN_FILENO
#define STDIN_FILENO
Definition: maxim_uart_stdio.c:49
STDERR_FILENO
#define STDERR_FILENO
Definition: maxim_uart_stdio.c:51
STDIN_FILENO
#define STDIN_FILENO
Definition: maxim_uart_stdio.c:49
maxim_uart_stdio.h
Header file for UART driver stdout/stdin redirection.
_close
int _close(int file)
Definition: maxim_uart_stdio.c:64
no_os_uart_read
int32_t no_os_uart_read(struct no_os_uart_desc *desc, uint8_t *data, uint32_t bytes_number)
Read data from UART.
Definition: no_os_uart.c:118
STDERR_FILENO
#define STDERR_FILENO
Definition: maxim_uart_stdio.c:51
STDOUT_FILENO
#define STDOUT_FILENO
Definition: maxim_uart_stdio.c:50
_lseek
int _lseek(int, off_t, int)
Definition: maxim_uart_stdio.c:80
STDOUT_FILENO
#define STDOUT_FILENO
Definition: maxim_uart_stdio.c:50
_read
int _read(int file, char *ptr, int len)
Definition: maxim_uart_stdio.c:100
maxim_uart_stdio.h
Header file for UART driver stdout/stdin redirection.
no_os_uart_stdio
void no_os_uart_stdio(struct no_os_uart_desc *desc)
Definition: maxim_uart_stdio.c:55
_isatty
int _isatty(int file)
Definition: maxim_uart_stdio.c:72
no_os_uart_stdio
void no_os_uart_stdio(struct no_os_uart_desc *)
Definition: no_os_uart.c:216
no_os_uart_desc
Stucture holding the UART descriptor.
Definition: no_os_uart.h:134
STDOUT_FILENO
#define STDOUT_FILENO
Definition: maxim_uart_stdio.c:50
maxim_uart_stdio.h
Header file for UART driver stdout/stdin redirection.
maxim_uart_stdio.h
Header file for UART driver stdout/stdin redirection.
STDIN_FILENO
#define STDIN_FILENO
Definition: maxim_uart_stdio.c:49
STDOUT_FILENO
#define STDOUT_FILENO
Definition: maxim_uart_stdio.c:50
STDIN_FILENO
#define STDIN_FILENO
Definition: maxim_uart_stdio.c:49
STDIN_FILENO
#define STDIN_FILENO
Definition: maxim_uart_stdio.c:49
STDOUT_FILENO
#define STDOUT_FILENO
Definition: maxim_uart_stdio.c:50
_fstat
int _fstat(int file, struct stat *st)
Definition: maxim_uart_stdio.c:89
_write
int _write(int file, char *ptr, int len)
Definition: maxim_uart_stdio.c:117
STDERR_FILENO
#define STDERR_FILENO
Definition: maxim_uart_stdio.c:51
STDIN_FILENO
#define STDIN_FILENO
Definition: maxim_uart_stdio.c:49
_lseek
int _lseek(int file, off_t offset, int whence)
Definition: maxim_uart_stdio.c:80
STDIN_FILENO
#define STDIN_FILENO
Definition: maxim_uart_stdio.c:49
STDERR_FILENO
#define STDERR_FILENO
Definition: maxim_uart_stdio.c:51
maxim_uart_stdio.h
Header file for UART driver stdout/stdin redirection.
_read
int _read(int, char *, int)
Definition: maxim_uart_stdio.c:100
NULL
#define NULL
Definition: wrapper.h:64
STDERR_FILENO
#define STDERR_FILENO
Definition: maxim_uart_stdio.c:51
STDERR_FILENO
#define STDERR_FILENO
Definition: maxim_uart_stdio.c:51
no_os_uart.h
Header file of UART interface.
_fstat
int _fstat(int, struct stat *)
Definition: maxim_uart_stdio.c:89
_write
int _write(int, char *, int)
Definition: maxim_uart_stdio.c:117
maxim_uart_stdio.h
Header file for UART driver stdout/stdin redirection.
errno.h
Error macro definition for ARM Compiler.
STDOUT_FILENO
#define STDOUT_FILENO
Definition: maxim_uart_stdio.c:50
_close
int _close(int)
Definition: maxim_uart_stdio.c:64
STDOUT_FILENO
#define STDOUT_FILENO
Definition: maxim_uart_stdio.c:50