no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
stm32_uart_stdio.h
Go to the documentation of this file.
1/***************************************************************************/
33#ifndef _STM32_UART_STDIO_H_
34#define _STM32_UART_STDIO_H_
35
36#include <sys/stat.h>
37#include "no_os_uart.h"
38#include "stm32_uart.h"
39
40void no_os_uart_stdio(struct no_os_uart_desc *desc);
41int _isatty(int fd);
42int _write(int fd, char* ptr, int len);
43int _close(int fd);
44int _lseek(int fd, int ptr, int dir);
45int _read(int fd, char* ptr, int len);
46int _fstat(int fd, struct stat* st);
47
48#endif
Header file of UART interface.
Header file of UART driver for STM32.
int _write(int fd, char *ptr, int len)
Definition maxim_uart_stdio.c:117
int _isatty(int fd)
Definition maxim_uart_stdio.c:72
int _close(int fd)
Definition maxim_uart_stdio.c:64
int _fstat(int fd, struct stat *st)
Definition maxim_uart_stdio.c:89
int _lseek(int fd, int ptr, int dir)
Definition stm32_uart_stdio.c:103
int _read(int fd, char *ptr, int len)
Definition maxim_uart_stdio.c:100
void no_os_uart_stdio(struct no_os_uart_desc *desc)
Definition no_os_uart.c:216
Stucture holding the UART descriptor.
Definition no_os_uart.h:122