29.11.2014 Views

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Peripheral and Interface Components<br />

signalsGet() : uint8_t<br />

Used by the master to get the current signal status. See Table 5-29 for bit<br />

definitions.<br />

Table 5-29 Bits for signalsGet()<br />

Bits<br />

Function<br />

7:4 Reserved<br />

3 DCD<br />

2 DSR<br />

1 CTS<br />

0 RI<br />

Parameters<br />

Table 5-30 lists the parameters used by the PL011_Uart component.<br />

Table 5-30 PL011_Uart configuration parameters<br />

Parameter<br />

name<br />

Description<br />

Type<br />

Allowed<br />

value<br />

Default<br />

value<br />

clock_rate Clock rate for PL011. Integer - 14745600<br />

baud_rate Baud rate. Integer - 38400<br />

uart_enable<br />

untimed_fifos a<br />

Enables UART when<br />

the system starts.<br />

Controls the rate at<br />

which serial data is<br />

transferred between<br />

the Tx/Rx FIFOs of<br />

the UART and the<br />

SerialData port.<br />

Boolean true/false false<br />

Boolean true/false false<br />

a. When false, characters of serial data are clocked to/from the SerialData port at a rate<br />

controlled by the clk_in_ref clock rate and the baud-rate-divider configuration of the<br />

UART clock. Enabling untimed_fifos allows serial data to be sent/received as fast as it<br />

can be generated/consumed. The modem control signals are still generated correctly, so<br />

the UART is not able to transmit data faster than the receiving end can handle. (For<br />

example, TelnetTerminal uses the CTS signal to avoid overflowing its TCP/IP buffer).<br />

Registers<br />

Table 5-31 gives a description of the configuration registers for the PL011_Uart component.<br />

Table 5-31 PL011_Uart registers<br />

Register<br />

name<br />

Offset Access Description<br />

UARTDR 0x00 read/write Data register.<br />

UARTRSR 0x04 read only Receive status register.<br />

UARTECR 0x04 write only Error clear register.<br />

<strong>ARM</strong> DUI 0423J Copyright © 2008-2011 <strong>ARM</strong>. All rights reserved. 5-43<br />

ID051811<br />

Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!