Samsung S3C9228/P9228, 8-Bit CMOS Microcontroller user manual Btcon Basic Timer Control Register

Models: S3C9228/P9228 8-Bit CMOS Microcontroller

1 462
Download 462 pages 42.12 Kb
Page 278
Image 278

CONTROL REGISTERSS3C9228/P9228

BTCON — Basic Timer Control Register

DCH

Bit Identifier

RESET Value

Read/Write

.7-.4

.7

.6

.5

.4

.3

.2

.1

.0

 

 

 

 

 

 

 

 

0

0

0

0

0

0

0

0

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

Watchdog Timer Enable Bits

 

1

0

1

 

0

Disable watchdog function

 

 

 

 

 

 

 

Any other value

Enable watchdog function

 

 

 

.3-.2

Basic Timer Input Clock Selection Bits

 

 

 

 

 

 

0

0

fxx/4096

 

 

 

 

 

 

 

0

1

fxx/1024

 

 

 

 

 

 

 

1

0

fxx/128

 

 

 

 

 

 

 

 

1

1

fxx/16

 

 

 

 

 

 

.1

Basic Timer Counter Clear Bit (1)

 

0

No effect

 

 

 

 

 

 

1

Clear the basic timer counter value (BTCNT)

.0

 

 

Clock Frequency Divider Clear Bit for Basic Timer and Timer/Counters (2)

 

0

No effect

 

 

 

 

 

 

1

Clear clock frequency dividers

 

 

 

 

 

 

 

NOTES

1.When "1" is written to BTCON.1, the basic timer counter value is cleared to "00H". Immediately following the write operation, the BTCON.1 value is automatically cleared to "0".

2.When "1" is written to BTCON.0, the corresponding frequency divider is cleared to "00H". Immediately following the write operation, the BTCON.0 value is automatically cleared to "0".

4-6

Page 278
Image 278
Samsung S3C9228/P9228, 8-Bit CMOS Microcontroller user manual Btcon Basic Timer Control Register