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 DEFINITION TABLE<br />

The following tables describe the location and function of all control and status bits in the various BCP addressable special<br />

function registers. The Remote Interface Configuration register (RICI, which is addressable only by a remote system, is not<br />

included.<br />

CPU (for further information see Chapter on the CPU).<br />

Bit Name Location Reset State Function<br />

Timing CCS CPU Clock Select OCR [7] 1 Selects CPU clock frequency.<br />

Control<br />

CCS CPUCLK<br />

0 OCLK<br />

1 OCLK/2<br />

Where OCLK is the frequency of the on-chip oscillator, or<br />

the externally applied clock on input X1.<br />

DW2-0 Data Memory OCR [2-0] 111 Selects from 0 to 7 wait states for accessing data memory.<br />

Wait-State Select<br />

IW1,0 Instruction Memory OCR [4,3] 11 Selects from 0 to 3 wait states for accessing instruction<br />

Wait-State Select<br />

memory.<br />

COD Clock Out Disable ACR [2] 0 When high, CLK-OUT is at TRI-STATE.<br />

Remote LOR' Lock Out Remote ACR [1] 0 When high, a remote processor is prevented from accessing<br />

Interface<br />

the BCP or its memory.<br />

RR' Remote Read CCR[S] 0 Set whenever REM-RD is asserted. Cleared by writing a 1 to<br />

[RR].<br />

RW' Remote Write CCR[5] 0 Set whenever REM-WR is asserted. Cleared by writing a 1 to<br />

[RW].<br />

Interrupt BIC Bi-Directional ACR[4] 0 Controls the direction of BIRO.<br />

Control<br />

Interrupt Control<br />

BIC BIRQ<br />

0 Input<br />

1 Output<br />

BIRO Bi-Directional CCR[4] [Read Only]. Reflects the logic level of the (BIRO) input.<br />

Interrupt ReOuest<br />

Updated at the beginning of each instruction cycle.<br />

GIE Global Interrupt ACR[O] 0 When low, disables all maskable interrupts. When high,<br />

Enable<br />

works with [IM4-0] to enable maskable interrupts.<br />

IM4-0 Interrupt Mask ICR [4-0] 11111 Each bit, when set high, masks an interrupt.<br />

Select IM4-0 Interrupt Priority<br />

00000 No Mask -<br />

XXXX1 Receiver 1 High<br />

XXX1X Transmitter 2 t<br />

XX1XX Line Turn-Around 3<br />

X1XXX Bi-Directional 4 !-<br />

1XXXX Timer 5 Low<br />

1M3 functions as an interrupt mask only when BIRO is<br />

defined as an input. When defined as an output, 1M3 controls<br />

the state of BIRO.<br />

'These bits represent \he only visibility and controllhatthe processor has into the operation of the remote Interface controiler. The Remote Interfece Configuration<br />

regiater, {RICI, accessible only by a remote processor, provides further control functions. See Remote Interface Chapter for more information.<br />

2-137

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

Saved successfully!

Ooh no, something went wrong!