Overview - Samsung S3C80A5B User Manual

8-bit cmos
Table of Contents

Advertisement

S3C80A5B
11

OVERVIEW

The S3C80A5B microcontroller has a 16-bit timer/counter called timer 1 (T1). For universal remote controller
applications, timer 1 can be used to generate the envelope pattern for the remote controller signal. Timer 1 has the
following components:
— One control register, T1CON (set 1, FAH, R/W)
— Two 8-bit counter registers, T1CNTH and T1CNTL (set 1, F6H and F7H, read-only)
— Two 8-bit reference data registers, T1DATAH and T1DATAL (set 1, F8H and F9H, R/W)
— A 16-bit comparator
You can select one of the following clock sources as the timer 1 clock:
— Oscillator frequency (f
— Internal clock input from the counter A module (counter A flip/flop output)
You can use Timer 1 in two ways:
— As a normal free run counter, generating a timer 1 overflow interrupt (IRQ1, vector F4H) at programmed time
intervals.
— To generate a timer 1 match interrupt (IRQ1, vector F6H) when the 16-bit timer 1 count value matches the 16-bit
value written to the reference data registers.
In the S3C80A5B interrupt structure, the timer 1 overflow interrupt has higher priority than the timer 1 match.
TIMER 1
) divided by 4, 8, or 16
OSC
TIMER 1
11-1

Advertisement

Table of Contents
loading

Table of Contents