MODIFICATION HISTORY:
Ver Who Date Changes ----- ---- -------- ----------------------------------------------- 1.00b jhl 04/24/02 First release 1.11a sv 03/20/07 Updated to use the new coding guidelines. 1.11a rpm 11/13/07 Fixed bug in _mEnableIntr
Defines | |
#define | XUartNs550_mReadReg(BaseAddress, RegOffset) |
#define | XUartNs550_mWriteReg(BaseAddress, RegOffset, RegisterValue) |
#define | XUartNs550_mGetLineStatusReg(BaseAddress) |
#define | XUartNs550_mGetLineControlReg(BaseAddress) |
#define | XUartNs550_mSetLineControlReg(BaseAddress, RegisterValue) |
#define | XUartNs550_mEnableIntr(BaseAddress) |
#define | XUartNs550_mDisableIntr(BaseAddress) |
#define | XUartNs550_mIsReceiveData(BaseAddress) |
#define | XUartNs550_mIsTransmitEmpty(BaseAddress) |
Functions | |
void | XUartNs550_SendByte (u32 BaseAddress, u8 Data) |
u8 | XUartNs550_RecvByte (u32 BaseAddress) |
void | XUartNs550_SetBaud (u32 BaseAddress, u32 InputClockHz, u32 BaudRate) |
|
Disable the transmit and receive interrupts of the UART.
|
|
Enable the transmit and receive interrupts of the UART.
|
|
Get the UART Line Status Register.
|
|
Get the UART Line Status Register.
|
|
Determine if there is receive data in the receiver and/or FIFO.
|
|
Determine if a byte of data can be sent with the transmitter.
|
|
Read a UART register.
|
|
Set the UART Line Status Register.
|
|
Write to a UART register.
|
|
This function receives a byte from the UART. It operates in a polling mode and blocks until a byte of data is received.
|
|
This function sends a data byte with the UART. This function operates in the polling mode and blocks until the data has been put into the UART transmit holding register.
|
|
Set the baud rate for the UART.
|
Copyright © 1995-2009 Xilinx, Inc. All rights reserved.