T1Con Timer 1 Control Register - Samsung S3F80JB User Manual

8-bit cmos microcontrollers
Table of Contents

Advertisement

CONTROL REGISTERS
T1CON
— Timer 1 Control Register
Bit Identifier
Reset Value
Read/Write
Addressing Mode
.7 and .6
.5 and .4
.3
.2
.1
.0
NOTE: A timer 1 overflow interrupt pending condition is automatically cleared by hardware. However, the timer 1 match/
capture interrupt, IRQ1, vector F6H, must be cleared by the interrupt service routine (S/W).
4-42
.7
.6
0
0
R/W
R/W
Register addressing mode only
Timer 1 Input Clock Selection Bits
f
/4
0
0
OSC
f
/8
0
1
OSC
f
/16
1
0
OSC
1
1
Internal clock (counter A flip-flop, T-FF)
Timer 1 Operating Mode Selection Bits
0
0
Interval timer mode (counter cleared by match signal)
0
1
Capture mode (rising edges, counter running, OVF can occur)
1
0
Capture mode (falling edges, counter running, OVF can occur)
1
1
Capture mode (rising and falling edges, counter running, OVF can occur)
Timer 1 Counter Clear Bit
0
No effect (when write)
1
Clear T1 counter, T1CNT (when write)
Timer 1 Overflow Interrupt Enable Bit (note)
0
Disable T1 overflow interrupt
1
Enable T1 overflow interrupt
Timer 1 Match/Capture Interrupt Enable Bit
0
Disable T1 match/capture interrupt
1
Enable T1 match/capture interrupt
Timer 1 Match/Capture Interrupt Pending Flag Bit
0
No T1 match/capture interrupt pending (when read)
0
Clear T1 match/capture interrupt pending condition (when write)
1
T1 match/capture interrupt is pending (when read)
1
No effect (when write)
.5
.4
.3
0
0
0
R/W
R/W
R/W
S3F80JB
FAH Set1 Bank0
.2
.1
.0
0
0
0
R/W
R/W
R/W

Advertisement

Table of Contents
loading

Table of Contents