Go to the documentation of this file.
39 #ifndef MAXIM_UART_STDIO_H_
40 #define MAXIM_UART_STDIO_H_
47 int _write(
int,
char *,
int);
49 int _lseek(
int, off_t,
int);
50 int _read(
int,
char *,
int);
51 int _fstat(
int,
struct stat *);
#define STDERR_FILENO
Definition: maxim_uart_stdio.c:57
int _isatty(int)
Definition: maxim_uart_stdio.c:78
Header file for UART driver stdout/stdin redirection.
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:130
#define STDIN_FILENO
Definition: maxim_uart_stdio.c:55
#define STDERR_FILENO
Definition: maxim_uart_stdio.c:57
#define STDIN_FILENO
Definition: maxim_uart_stdio.c:55
Header file for UART driver stdout/stdin redirection.
int _close(int file)
Definition: maxim_uart_stdio.c:70
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:110
#define STDERR_FILENO
Definition: maxim_uart_stdio.c:57
#define STDOUT_FILENO
Definition: maxim_uart_stdio.c:56
int _lseek(int, off_t, int)
Definition: maxim_uart_stdio.c:86
#define STDOUT_FILENO
Definition: maxim_uart_stdio.c:56
int _read(int file, char *ptr, int len)
Definition: maxim_uart_stdio.c:106
Header file for UART driver stdout/stdin redirection.
void no_os_uart_stdio(struct no_os_uart_desc *desc)
Definition: maxim_uart_stdio.c:61
int _isatty(int file)
Definition: maxim_uart_stdio.c:78
void no_os_uart_stdio(struct no_os_uart_desc *)
Definition: no_os_uart.c:184
Stucture holding the UART descriptor.
Definition: no_os_uart.h:134
Header file for UART driver stdout/stdin redirection.
#define STDOUT_FILENO
Definition: maxim_uart_stdio.c:56
#define STDIN_FILENO
Definition: maxim_uart_stdio.c:55
#define STDIN_FILENO
Definition: maxim_uart_stdio.c:55
int _fstat(int file, struct stat *st)
Definition: maxim_uart_stdio.c:95
int _write(int file, char *ptr, int len)
Definition: maxim_uart_stdio.c:123
#define STDIN_FILENO
Definition: maxim_uart_stdio.c:55
int _lseek(int file, off_t offset, int whence)
Definition: maxim_uart_stdio.c:86
#define STDERR_FILENO
Definition: maxim_uart_stdio.c:57
int _read(int, char *, int)
Definition: maxim_uart_stdio.c:106
#define NULL
Definition: wrapper.h:64
#define STDERR_FILENO
Definition: maxim_uart_stdio.c:57
Header file of UART interface.
int _fstat(int, struct stat *)
Definition: maxim_uart_stdio.c:95
int _write(int, char *, int)
Definition: maxim_uart_stdio.c:123
Header file for UART driver stdout/stdin redirection.
Error macro definition for ARM Compiler.
#define STDOUT_FILENO
Definition: maxim_uart_stdio.c:56
int _close(int)
Definition: maxim_uart_stdio.c:70
#define STDOUT_FILENO
Definition: maxim_uart_stdio.c:56