beautypg.com

Zilog Z16C30 User Manual

Page 167

background image

8-12

Z16C30 USC

®

U

SER

'

S

M

ANUAL

Z

ILOG

UM97USC0100

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

15

RTCmd

Channel Command/Address Register (CCAR)

Register Address 0 b 00000

Bit(s)

Field/Bit

Name

Conditions

/Context

Description

RW

Status

Ref Chapter: Section

RegAddr

CCAR15-12

RT

Reset

RTMode

Chan

Load

B//W

U//L

RTCmd

00000=no operation
00001=Reserved
00010=Reset Highest Serial IUS
00100=Trigger Channel Load DMA
00101=Trigger Rx DMA
00110=Trigger Tx DMA
00111=Trigger Rx and Tx DMA
01001=Purge Rx FIFO
01010=Purge Tx FIFO
01011=Purge Rx and Tx FIFO
01101=Load RCC
01110=Load TCC
01111=Load RCC and TCC
10001=Load TC0
10010=Load TC1
10011=Load TC0 and TC1
10100=Select Serial Data LSBit First
10101=Select Serial Data MSBit FIrst
10110=Select D15-8 First
10111=Select D7-0 First
11001=Purge Rx
all other values are Reserved
and should not be programmed

WO

5: Commands

CCAR10

RTReset

1=put channel in software Reset state
0=release it from Reset state

RW

5: Resetting a USC
Channel

CCAR9-8

RTMode

00=normal mode: Tx and Rx are independent
01=echo RxD to TxD
10=Local Loop TxD to RxD
11=internal Local Loop

RW

4: The RxD and TxD Pins

CCAR7

ChanLoad

1=continue Channel Load operation;
0=terminate it

RW

8: Using DMA to Initialize
a Channel

Channel
Load DMA

CCAR6

B//W

0=16-bit access to register selected by RegAddr
1=access MS or LS byte of register

WOC

2: Register Addressing

16-bit bus

CCAR5-1

RegAddr

register address for next access to CCAR
(see Table 1)

WOC

CCAR0

U//L

1=access MSByte of reg selected by RegAddr
0=access LSByte or whole 16-bit register

WOC

RW = Read/Write, RO = Read Only, WO = Write Only – for other codes see p. 8-10.

UM009402-0201