USER'S GUIDE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TIMER CONTROL REGISTER

 

 

 

 

 

 

 

 

 

 

 

 

 

Label: TCON

 

 

 

 

 

 

 

 

 

Register Address 088H

 

 

D7

D6

D5

D4

D3

 

D2

D1

D0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TF1

 

TR1

TF0

TR0

 

IE1

 

IT1

IE0

 

IT0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit Description:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TCON.7:

 

TF1

 

 

 

 

 

 

 

 

 

 

 

 

 

ªTimer 1 Overflow Flagº:

Status bit set to 1 when Timer 1 overflows from a previous count value of all

 

 

 

1's. Cleared to 0 when CPU vectors to Timer 1 interrupt service routine.

 

 

Initialization:

 

Cleared to 0 on any type of reset.

 

 

 

 

 

 

 

TCON.6:

 

TR1

 

 

 

 

 

 

 

 

 

 

 

 

 

ªTimer 1 Run Controlº:

When set to a 1 by software, Timer 1 operation will be enabled.

 

 

 

 

 

Timer 1 is disabled when cleared to 0.

 

 

 

 

 

 

 

Initialization:

 

Cleared to 0 on any type of reset.

 

 

 

 

 

 

 

TCON.5:

 

TF0

 

 

 

 

 

 

 

 

 

 

 

 

 

ªTimer 0 Overflowº:

Status bit set to 1 when Timer 0 overflows from a previous count value of all

 

 

 

1's. Cleared to 0 when CPU vectors to Timer 0 interrupt service routine.

 

 

Initialization:

 

Cleared to 0 on any type of reset.

 

 

 

 

 

 

 

TCON.4:

 

TR0

 

 

 

 

 

 

 

 

 

 

 

 

 

ªTimer 0 Run Controlº:

When set to a 1 by software, Timer 0 operation is enabled. Timer 0 is dis-

 

 

 

abled when cleared to 0.

 

 

 

 

 

 

 

 

 

Initialization:

 

Cleared to 0 on any type of reset.

 

 

 

 

 

 

 

TCON.3:

 

IE1

 

 

 

 

 

 

 

 

 

 

 

 

 

ªInterrupt 1 Edge Detectº:

Set to 1 to signal when a 1±to±0 transition (IT=1) or a low level (IT=0) has

 

 

 

been detected on the

 

 

pin. Cleared to a 0 by hardware when interrupt

 

 

 

 

 

INT1

 

 

 

 

 

processed only if IT1=1.

 

 

 

 

 

 

 

 

 

Initialization:

 

Cleared to 0 on any type of reset.

 

 

 

 

 

 

 

TCON.2:

 

IT1

 

 

 

 

 

 

 

 

 

 

 

 

 

ªInterrupt 1 Type Selectº:

 

 

 

 

 

 

 

 

When set to 1, 1±to±0 transitions on INT1will be used to generate interrupt

 

 

 

 

 

requests from this pin. When cleared to 0,

 

is level-activated.

 

 

 

 

 

INT1

 

 

Initialization:

 

Cleared to a 0 on any type of reset.

 

 

 

 

 

 

 

TCON.1:

 

IE0

 

 

 

 

 

 

 

 

 

 

 

 

 

ªInterrupt 0 Edge Detectº:

Set to a 1 to signal when a 1±to±0 transition (IT0=1) or a low level (IT0=0)

 

 

 

has been detected on the

 

pin. Cleared to a 0 by hardware when inter-

 

 

 

 

 

INT0

 

 

 

 

 

rupt processed only if IT0=1.

 

 

 

 

 

 

 

 

 

Initialization:

 

Cleared to a 0 on any type of reset.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

050396 32/173

 

33

Page 33
Image 33
Mitsubishi DS5000TK, DS907x SIP manual Timer Control Register, Label Tcon Register Address 088H