17.05.2015 Views

~ National ~ Semiconductor - Al Kossow's Bitsavers

~ National ~ Semiconductor - Al Kossow's Bitsavers

~ National ~ Semiconductor - Al Kossow's Bitsavers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

7.0 CPU Registers (Continued)<br />

BIT INDEX<br />

An alphabetical listing of all status/control bits in the CPU-addressable special function registers, with a brief summary of<br />

function. Detailed definitions are provided in the Bit Definition Table. (Continued)<br />

Bit Name Location Function<br />

TFE Transmit FIFO Empty NCF<br />

TFF Transmit FIFO Full TSR<br />

TIN Transmitter INvert TMR<br />

TlD Timer LoaD ACR<br />

TM7-0 TiMer TRl<br />

TM15-B TiMer TRH<br />

TMC TiMer Clock select ACR<br />

TO Time Out flag CCR<br />

TRES Transceiver RESet TMR<br />

TST Timer StarT ACR<br />

V oVerflow CCR<br />

Z Zero CCR<br />

[7] Transmitter Status<br />

[7] Transmitter Status<br />

[3] Transmitter Control<br />

[6] Timer<br />

[7-0] Timer<br />

[7-0] Timer<br />

[5]<br />

[7]<br />

[7]<br />

[7]<br />

[2]<br />

[0]<br />

Timer<br />

Timer<br />

Transceiver Control<br />

Timer<br />

Arithmetic Flag<br />

Arithmetic Flag<br />

REGISTER OVERVIEW<br />

A list of all CPU-addressable special function registers, in<br />

alphabetical order.<br />

The Remote Interface Configuration register (RIC), which is<br />

addressable only by the remote system, is not included. See<br />

Section B.O for details of the function of this register.<br />

Each register is listed together with its address, the type of<br />

access available, and a functional description of each bit.<br />

Further details on each bit can be found in the "Bit Definition<br />

Table".<br />

ACR AUXILLIARY CONTROL REGISTER<br />

[Main R3; read/write]<br />

TST - Timer StarT ... When high, the timer is enabled<br />

and will count down from it's current value.<br />

TlD<br />

TMC<br />

7<br />

When low, timer is disabled. Timer is stopped by<br />

writing a 0 to [TST].<br />

I TST I TlD I TMC I BIC I rsv I COD I lOR I GIE I<br />

BIC<br />

COD<br />

- Timer LoaD ... When high, generates timer load<br />

pulse. Cleared when load complete.<br />

- Timer Clock Select ... Selects timer clock frequency.<br />

Should not be written when [TST] is<br />

high. Can be written at same time as [TST] and<br />

[TlD].<br />

TCS<br />

Timer Clock<br />

0 (CPU-ClK)/16<br />

1 (CPU-CLK)/2<br />

6 5 4 3 2 1 0<br />

- Bi-directional Interrupt Control ... Controls direction<br />

of BIRQ.<br />

BIC<br />

o<br />

BIRQ<br />

Input<br />

1 Output<br />

- Clock Out Disable ... When high, ClK-OUT output<br />

is at TRI-ST ATE.<br />

lOR - Lock Out Remote ... When high, a remote system<br />

is prevented from accessing the BCP.<br />

GIE - Global Interrupt Enable ... When low, disables<br />

all maskable interrupts. When high, works with<br />

[lM4-0] to enable maskable interrupts.<br />

ATR AUXILLIARY TRANSCEIVER REGISTER<br />

[<strong>Al</strong>ternate R2; read/write]<br />

A T7 -0 - Auxiliary Transceiver ... In 5250 protocol<br />

modes, bits 2-0 define the receive station address,<br />

and bits 7-3 control the amount of time<br />

TX-ACT stays asserted after the last fill bit.<br />

In B-bit protocol modes, bits 7-0 define the receive<br />

station address.<br />

For further information, see Transceiver Section.<br />

7<br />

ATR7-3 TX-ACT Hold Time (,...s)<br />

00000 0<br />

00001 0.5<br />

00010 1.0<br />

0001 1 1.5<br />

-J..<br />

-J..<br />

1 1 1 1 1 15.5<br />

6 5 4 3 2 1 0<br />

I AT7 I AT6 I AT5 I AT4 I AT3 I AT2 I ATl I ATO I<br />

CCR CONDITION CODE REGISTER<br />

[Main RO; bits 0-3, 5-7 read/write, bit 4 read only]<br />

TO - Time Out Flag ... Set high when timer counts to<br />

zero. Cleared by writing a 1 or stopping the timer<br />

(by writing a 0 to [TSTl).<br />

RR - Remote Read ... Set on the trailing edge of a<br />

REM-RD pulse, if RAE is asserted and (RIC) is<br />

pOinting to Data Memory. Cleared by writing a 1<br />

to this location.<br />

RW - Remote Write ... Set on the trailing edge of a<br />

REM-WR pulse, if RAE is asserted and (RIC) is<br />

pOinting to Data Memory. Cleared by writing a 1<br />

to this location.<br />

rsv ... state is undefined at all times.<br />

2-133

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

Saved successfully!

Ooh no, something went wrong!