#include <kernel.h>
#include <uart.h>
#include <device.h>
Go to the source code of this file.
Functions | |
devcall | uartWrite (device *pdev, unsigned char *buf, int len) |
Definition in file uartWrite.c.
devcall uartWrite | ( | device * | pdev, | |
unsigned char * | buf, | |||
int | len | |||
) |
Write a buffer to the UART.
pdev | pointer to UART device | |
buf | buffer of characters to write | |
len | number of characters to write from the buffer |
Definition at line 20 of file uartWrite.c.
References dentry::controlblk, uart::cout, uart::csr, disable(), NULL, uart::ocount, uart::oflags, uart::oidle, uart::osema, uart::ostart, uart::out, restore(), scount(), SYSERR, UART_OBLEN, UART_OFLAG_NOBLOCK, and wait().
Referenced by uartPutChar().