KS57C2308/P2308/C2316/P2316TIMERS and TIMER/COUNTERS

Table 11-4. TC0 Register Overview

Register

Type

Description

Size

RAM

Addressing

Reset

Name

 

 

 

Address

Mode

Value

 

 

 

 

 

 

 

TMOD0

Control

Controls TC0 enable/disable (bit

8-bit

F90H–F91H

8-bit write-only;

"0"

 

 

2); clears and resumes counting

 

 

(TMOD0.3 is

 

 

 

operation (bit 3); sets input

 

 

also 1-bit

 

 

 

clock and clock frequency (bits

 

 

writeable)

 

 

 

6–4)

 

 

 

 

 

 

 

 

 

 

 

TCNT0

Counter

Counts clock pulses matching

8-bit

F94H–F95H

8-bit

"0"

 

 

the TMOD0 frequency setting

 

 

read-only

 

 

 

 

 

 

 

 

TREF0

Reference

Stores reference value for the

8-bit

F96H–F97H

8-bit

FFH

 

 

timer/counter 0 interval setting

 

 

write-only

 

 

 

 

 

 

 

 

TOE0

Flag

Controls timer/counter 0 output

1-bit

F92H.2

1-bit

"0"

 

 

to the TCLO0 pin

 

 

write-only

 

 

 

 

 

 

 

 

P1.3

 

Clocks

 

(fxx/210, fxx/28 , fxx/26 , fxx/24 )

 

TCL0

 

 

 

TMOD0.7

 

8

8

 

 

TMOD0.6

 

TCNT0

8-Bit

 

TREF0

 

Clock

 

Comparator

TMOD0.5

 

 

Selector

 

 

8

 

 

 

 

 

TMOD0.4

 

 

 

TMOD0.3

 

 

Clear

 

 

 

TMOD0.2

 

 

 

TMOD0.1

 

 

Inverted

 

 

 

TMOD0.0

Clear

SET

 

 

 

Clear

TOL0

 

IRQT0

 

 

 

 

TCLO0

 

 

Serial I/O

 

 

 

PM2

 

P2.0 Latch

TOE0

 

Figure 11-2. TC0 Circuit Diagram

 

11-11

Page 233
Image 233
Samsung KS57C2308 manual TC0 Register Overview Type Description Size, TC0 Circuit Diagram