Go to the documentation of this file.
33 #ifndef _STM32_UART_STDIO_H_
34 #define _STM32_UART_STDIO_H_
42 int _write(
int fd,
char* ptr,
int len);
44 int _lseek(
int fd,
int ptr,
int dir);
45 int _read(
int fd,
char* ptr,
int len);
46 int _fstat(
int fd,
struct stat* st);
int _write(int fd, char *ptr, int len)
Definition: maxim_uart_stdio.c:117
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
int _fstat(int fd, struct stat *st)
Definition: maxim_uart_stdio.c:89
void no_os_uart_stdio(struct no_os_uart_desc *desc)
Definition: no_os_uart.c:216
int _close(int fd)
Definition: stm32_uart_stdio.c:94
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
int _read(int fd, char *ptr, int len)
Definition: stm32_uart_stdio.c:113
Stucture holding the UART descriptor.
Definition: no_os_uart.h:134
Header file of UART driver for STM32.
Header file of stm32 UART driver stdout/stdin redirection.
#define STDERR_FILENO
Definition: stm32_uart_stdio.c:52
int _isatty(int fd)
Definition: maxim_uart_stdio.c:72
void * extra
Definition: no_os_uart.h:147
int _write(int fd, char *ptr, int len)
Definition: stm32_uart_stdio.c:77
#define STDIN_FILENO
Definition: stm32_uart_stdio.c:50
void no_os_uart_stdio(struct no_os_uart_desc *desc)
Definition: stm32_uart_stdio.c:56
int _fstat(int fd, struct stat *st)
Definition: stm32_uart_stdio.c:130
#define STDOUT_FILENO
Definition: stm32_uart_stdio.c:51
#define NULL
Definition: wrapper.h:64
int _isatty(int fd)
Definition: stm32_uart_stdio.c:68
int _lseek(int fd, int ptr, int dir)
Definition: stm32_uart_stdio.c:103
int _close(int fd)
Definition: maxim_uart_stdio.c:64
int _read(int fd, char *ptr, int len)
Definition: maxim_uart_stdio.c:100
int _lseek(int fd, int ptr, int dir)
Definition: stm32_uart_stdio.c:103
Header file of UART interface.
Error macro definition for ARM Compiler.