Implementation file of MAX32660 UART driver stdout/stdin redirection.
More...
#include <errno.h>
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "maxim_uart_stdio.h"
#include "mxc_sys.h"
#include "no_os_uart.h"
#include "uart.h"
#include <unistd.h>
#include <sys/stat.h>
Implementation file of MAX32660 UART driver stdout/stdin redirection.
- Author
- Ciprian Regus (cipri.nosp@m.an.r.nosp@m.egus@.nosp@m.anal.nosp@m.og.co.nosp@m.m)
Copyright 2022(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
◆ STDERR_FILENO
| #define STDERR_FILENO 2 /**> Definition of stderr */ |
◆ STDIN_FILENO
| #define STDIN_FILENO 0 /**> Definition of stdin */ |
◆ STDOUT_FILENO
| #define STDOUT_FILENO 1 /**> Definition of stdout */ |
◆ _close()
◆ _fstat()
| int _fstat |
( |
int | file, |
|
|
struct stat * | st ) |
◆ _isatty()
◆ _lseek()
| int _lseek |
( |
int | file, |
|
|
off_t | offset, |
|
|
int | whence ) |
◆ _read()
| int _read |
( |
int | file, |
|
|
char * | ptr, |
|
|
int | len ) |
◆ _write()
| int _write |
( |
int | file, |
|
|
char * | ptr, |
|
|
int | len ) |
◆ no_os_uart_stdio()