MEMORY MAPKS57C2308/P2308/C2316/P2316

TMOD0 — Timer/Counter 0 Mode Register

F91H, F90H

Bit

Identifier

RESET Value

Read/Write

Bit Addressing

.7

.6–.4

7

6

5

4

3

2

1

0

"0"

.6

.5

.4

.3

.2

"0"

"0"

 

 

 

 

 

 

 

 

0

0

0

0

0

0

0

0

W

W

W

W

W

W

W

W

8

8

8

8

1/8

8

8

8

Bit 7

0 Always logic zero

Timer/Counter 0 Input Clock Selection Bits

 

0

0

0

External clock input at TCL0 pin on rising edge

 

 

 

 

 

 

0

0

1

External clock input at TCL0 pin on falling edge

 

 

 

 

 

 

1

0

0

fxx/210 (4.09 kHz)

 

1

0

1

fxx/28 (16.4 kHz)

 

1

1

0

fxx/26

(65.5 kHz)

 

1

1

1

fxx/24

(262 kHz)

 

NOTE: “fxx” = Selected system clock of 4.19 MHz

.3

Clear Counter and Resume Counting Control Bit

1Clear TCNT0, IRQT0, and TOL0 and resume counting immediately (This bit is cleared automatically when counting starts.)

.2

Enable/Disable Timer/Counter 0 Bit

0Disable timer/counter 0; retain TCNT0 contents

1Enable timer/counter 0

.1–.0

Bit 1–0

0 Always logic zero

4-28

Page 70
Image 70
Samsung KS57C2308 manual TMOD0 Timer/Counter 0 Mode Register F91H, F90H, Timer/Counter 0 Input Clock Selection Bits