CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Output Ports)

4.5.5 I/O memory of output ports

Table 4.5.5.1 shows the I/O addresses and control bits for the output ports.

 

 

 

 

 

 

 

 

Table 4.5.5.1

Control bits of output ports

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Address

 

 

 

Register

 

 

 

 

 

 

 

 

Comment

 

 

 

 

D3

 

 

D2

D1

D0

Name

Init 1

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FOUTE

 

 

0

FOFQ1

FOFQ0

FOUTE

0

FOUT

DC

 

R03 output selection (R03 should be fixed at "1".)

 

 

 

 

 

 

 

 

Unused

 

 

 

 

 

 

FF06H

 

 

 

 

 

 

 

0 3

2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FOFQ1

0

 

 

 

 

FOUT

[FOFQ1, 0]

0

1

2

3

 

 

 

R/W

 

 

R

R/W

 

 

 

 

frequency

 

 

 

 

 

FOFQ0

0

 

 

 

 

Frequency

fOSC1/64

fOSC1/8

fOSC1

fOSC3

 

 

 

 

 

 

 

 

 

 

 

 

selection

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CHFO

 

 

CHDO

CRMO

CTMO

CHFO

0

HFO

DC

 

R13 output selection (R13 should be fixed at "1".)

 

 

 

 

 

 

 

CHDO

0

HDO

DC

 

R12 output selection (R12 should be fixed at "1".)

 

 

 

FF13H

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R/W

 

CRMO

0

XRMUTE

DC

 

R11 output selection (R11 should be fixed at "1".)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CTMO

0

XTMUTE

DC

 

R10 output selection (R10 should be fixed at "1".)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R03HIZ

 

R02HIZ

R01HIZ

R00HIZ

R03HIZ

0

Hi-Z

Output

 

R03 (FOUTE=0)/FOUT (FOUTE=1) Hi-z control

 

 

 

FF30H

 

 

 

 

 

 

 

R02HIZ

0

Hi-Z

Output

 

R02 (PTOUT=0)/TOUT (PTOUT=1) Hi-z control

 

 

 

 

 

 

 

R/W

 

R01HIZ

0

Hi-Z

Output

 

R01 (BZOUT=0)/BZ (BZOUT=1) Hi-z control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R00HIZ

0

Hi-Z

Output

 

R00 (XBZOUT=0)/XBZ (XBZOUT=1) Hi-z control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R03

 

 

R02

R01

R00

R03

1

High

Low

 

R03 output port data (FOUTE=0) Fix at "1" when FOUT is used.

FF31H

 

(FOUT)

 

 

(TOUT)

(BZ)

(XBZ)

R02

1

High

Low

 

R02 output port data (PTOUT=0) Fix at "1" when TOUT is used.

 

 

 

 

R/W

 

R01

1

High

Low

 

R01 output port data (BZOUT=0) Fix at "1" when BZ is used.

 

 

 

 

 

 

 

 

 

 

 

 

 

R00

1

High

Low

 

R00 output port data (XBZOUT=0) Fix at "1" when XBZ is used.

 

 

 

 

 

 

 

 

 

 

 

R13HIZ

 

R12HIZ

R11HIZ

R10HIZ

R13HIZ

0

Hi-Z

Output

 

R13 (CHFO=0)/HFO (CHFO=1) Hi-z control

 

 

 

FF32H

 

 

 

 

 

 

 

R12HIZ

0

Hi-Z

Output

 

R12 (CHDO=0)/HDO (CHDO=1) Hi-z control

 

 

 

 

 

 

 

R/W

 

R11HIZ

0

Hi-Z

Output

 

R11 (CRMO=0)/XRMUTE (CRMO=1) Hi-z control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R10HIZ

0

Hi-Z

Output

 

R10 (CTMO=0)/XTMUTE (CTMO=1) Hi-z control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R13

 

 

R12

R11

R10

R13

1

High

Low

 

R13 output port data (CHFO=0) Fix at "1" when HFO is used.

 

 

FF33H

 

(HFO)

 

 

(HDO)

(XRMUTE)

(XTMUTE)

R12

1

High

Low

 

R12 output port data (CHDO=0) Fix at "1" when HDO is used.

 

 

 

 

R/W

 

R11

1

High

Low

 

R11 output port data (CRMO=0) Fix at "1" when XRMUTE is used.

 

 

 

 

 

 

 

 

 

 

 

 

 

R10

1

High

Low

 

R10 output port data (CTMO=0) Fix at "1" when XTMUTE is used.

 

 

 

 

 

 

 

 

 

 

 

R23HIZ

 

R22HIZ

R21HIZ

R20HIZ

R23HIZ

0

Hi-Z

Output

 

 

 

 

 

 

 

 

 

FF34H

 

 

 

 

 

 

 

R22HIZ

0

Hi-Z

Output

 

 

R20–R23 Hi-z control

 

 

 

 

 

 

 

 

 

R/W

 

R21HIZ

0

Hi-Z

Output

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R20HIZ

0

Hi-Z

Output

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R23

 

 

R22

R21

R20

R23

1

High

Low

 

 

 

 

 

 

 

 

 

 

 

 

 

R22

1

High

Low

 

 

 

 

 

 

 

 

 

FF35H

 

 

 

 

 

 

 

 

 

R20–R23 output port data

 

 

 

 

 

 

 

 

 

R/W

 

R21

1

High

Low

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R20

1

High

Low

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

0

BZOUT

XBZOUT

0 3

2

 

 

 

Unused

 

 

 

 

 

 

 

 

 

 

0 3

2

 

 

 

Unused

 

 

 

 

 

 

FF65H

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R

 

R/W

BZOUT

0

BZ

DC

 

R01 output selection (R01 should be fixed at "1".)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

XBZOUT

0

XBZ

DC

 

R00 output selection (R00 should be fixed at "1".)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CHSEL

 

 

PTOUT

CKSEL1

CKSEL0

CHSEL

0

Timer1

Timer0

 

TOUT output channel selection

 

 

 

 

 

FFC1H

 

 

 

 

 

 

PTOUT

0

On

Off

 

TOUT output control

 

 

 

 

 

 

 

 

R/W

 

CKSEL1

0

OSC3

OSC1

 

Prescaler 1 source clock selection

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CKSEL0

0

OSC3

OSC1

 

Prescaler 0 source clock selection

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

*1 Initial value at initial reset

*2 Not set in the circuit

*3 Constantly "0" when being read

S1C63558 TECHNICAL MANUAL

EPSON

37