![]() |
no-OS
|
Implementation file of stm32 UART driver stdout/stdin redirection. More...
#include <_ansi.h>#include <_syslist.h>#include <errno.h>#include <sys/time.h>#include <sys/times.h>#include <limits.h>#include <signal.h>#include <stdint.h>#include <stdio.h>#include "no_os_uart.h"#include "stm32_uart_stdio.h"#include "stm32_hal.h"Macros | |
| #define | STDIN_FILENO 0 |
| #define | STDOUT_FILENO 1 |
| #define | STDERR_FILENO 2 |
Functions | |
| void | no_os_uart_stdio (struct no_os_uart_desc *desc) |
| int | _isatty (int fd) |
| int | _write (int fd, char *ptr, int len) |
| int | _close (int fd) |
| int | _lseek (int fd, int ptr, int dir) |
| int | _read (int fd, char *ptr, int len) |
| int | _fstat (int fd, struct stat *st) |
Implementation file of stm32 UART driver stdout/stdin redirection.
Copyright 2020(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
| #define STDERR_FILENO 2 |
| #define STDIN_FILENO 0 |
| #define STDOUT_FILENO 1 |
| int _close | ( | int | fd | ) |
| int _fstat | ( | int | fd, |
| struct stat * | st ) |
| int _isatty | ( | int | fd | ) |
| int _lseek | ( | int | fd, |
| int | ptr, | ||
| int | dir ) |
| int _read | ( | int | fd, |
| char * | ptr, | ||
| int | len ) |
| int _write | ( | int | fd, |
| char * | ptr, | ||
| int | len ) |
| void no_os_uart_stdio | ( | struct no_os_uart_desc * | desc | ) |