Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/uart/uartControl.c File Reference

#include <kernel.h>
#include <uart.h>
#include <device.h>

Include dependency graph for uartControl.c:

Go to the source code of this file.

Functions

devcall uartControl (device *pdev, int func, unsigned char arg1, unsigned char arg2)


Detailed Description

uartControl

Id
uartControl.c 241 2007-07-13 22:24:20Z agember

Definition in file uartControl.c.


Function Documentation

devcall uartControl ( device pdev,
int  func,
unsigned char  arg1,
unsigned char  arg2 
)

Control parameters to a UART.

Parameters:
pdev pointer to UART device
func index of function to run (defined in uart.h)
arg1 first argument to called function
arg2 second argument to called function

Definition at line 20 of file uartControl.c.

References dentry::controlblk, uart::iflags, uart::oflags, uart::oidle, SYSERR, UART_IOC_CLRIFLAG, UART_IOC_CLROFLAG, UART_IOC_GETIFLAG, UART_IOC_GETOFLAG, UART_IOC_OUTPUT_IDLE, UART_IOC_SETIFLAG, and UART_IOC_SETOFLAG.


Generated on Thu Oct 9 22:35:25 2008 for xinu by  doxygen 1.5.5