參數(shù)資料
型號: SAA5645HL
廠商: NXP Semiconductors N.V.
英文描述: Enhanced TV microcontrollers with On-Screen Display (OSD)(帶全屏顯示的增強(qiáng)型TV控制器)
中文描述: 與微控制器在強(qiáng)化電視屏幕顯示(OSD)(帶全屏顯示的增強(qiáng)型電視控制器)
文件頁數(shù): 42/112頁
文件大?。?/td> 436K
代理商: SAA5645HL
2000 Jun 30
42
Philips Semiconductors
Objective specification
Enhanced TV microcontrollers with
On-Screen Display (OSD)
SAA56xx
13 TIMERS/COUNTERS
Three 16-bit Timers/counters are incorporated: Timer 0,
Timer 1 and Timer 2. Each can be configured to operate
as either timers or event Counters. When the
Timers/counters are configured as timers, the period will
vary depending on the chosen microcontroller clock
frequency. SFR TXT31 may be used by software to
determine the selected microcontroller clock frequency for
period adjustment.
In Timer mode, the register is incremented on every
machine cycle, so that machine cycles are counted. Since
the machine cycle consists of six oscillator periods, the
count rate is
1
6
f
clk
(where f
clk
is the microcontroller clock
frequency: 6 or 12 MHz).
In Counter mode, the register is incremented in response
to a negative transition at its corresponding external pin
T0/1/2. Since pins T0/1/2 are sampled once per machine
cycle,ittakestwomachinecyclestorecogniseatransition.
This gives a maximum count rate of
1
12
f
clk
(where f
clk
is the
microcontroller clock frequency, 6 or 12 MHz).
13.1
Timer/counter 0 and Timer/counter 1
There are six Special Function Registers used to control
Timer/counter 0 and Timer/counter 1:
Table 13
Timer/counter 0 and Timer/counter 1 registers
The Timer/counter function is selected by control bits C/T
in the Timer mode SFR(TMOD). These two
Timers/counters have four operating modes, which are
selected by bit-pairs (M1 and M0) in TMOD. Detail of the
modes of operation is given in “Handbook IC20,
80C51-Based 8-Bit Microcontrollers”
TL0 and TH0 are the actual Timer/counter registers for
Timer 0. TL0 is the low byte and TH0 is the high byte. TL1
and TH1 are the actual Timer/counter registers for
Timer 1. TL1 is the low byte and TH1 is the high byte.
13.2
Timer/counter 2
Timer 2 is controlled using the following SFRs:
Table 14
Timer 2 Special Function Registers
Timer 2 can operate in four different modes
(see Table 15):
Auto-reload
Capture
Baud rate generation
Clock output.
The count-down option is only possible in the auto-reload
mode with DCEN in T2MOD set and the external trigger
input disabled.
Table 15
Timer 2 operating mode
13.2.1
C
APTURE MODE
Inthecapturemode,registersRCAP2L/RCAP2Hareused
to capture the TL2/TH2 data. By setting/clearing bit
EXEN2 in T2CON, the external trigger input T2EX (P3.4)
can be enabled/disabled. If EXEN2 = 0, Timer 2 is a 16-bit
Timer/counter which, upon overflow, sets TF2 flag in
T2CON. If EXEN2 = 1, then Timer 2 does the above, but
with the added feature that a HIGH-to-LOW transition at
T2EX on Port 3.4 causes the current Timer 2 value
(TL2/TH2 data) to be captured into RCAP2L/RAP2H, and
bit EXF2 in T2CON to be set.
SFR
ADDRESS
TCON
TMOD
TL0
TH0
TL1
TH1
88H
89H
8AH
8BH
8CH
8DH
SFR
ADDRESS
T2CON
T2MOD
RCAP2L
RCAP2H
TL2
TH2
F1H
F2H
F3H
F4H
F5H
F6H
RCLK0 OR
TCLK0 OR
RCLK1 OR
TCLK1
CP/RL2 T2OE C/T2
OPERATING
MODE
0
0
1
0
1
X
0
0
X
X
X
X
16-bit Auto-reload
16-bit Capture
Baud rate
generation
Clock output
X
0
1
0
相關(guān)PDF資料
PDF描述
SAA5647HL Enhanced TV microcontrollers with On-Screen Display (OSD)(帶全屏顯示的增強(qiáng)型TV控制器)
SAA5667HL Enhanced TV microcontrollers with On-Screen Display (OSD)(帶全屏顯示的增強(qiáng)型TV控制器)
SAA5697HL Enhanced TV microcontrollers with On-Screen Display (OSD)
SAA5675HL Enhanced TV microcontrollers with On-Screen Display (OSD)
SAA567X Enhanced TV microcontrollers with On-Screen Display (OSD)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
SAA5647 制造商:PHILIPS 制造商全稱:NXP Semiconductors 功能描述:Enhanced TV microcontrollers with On-Screen Display OSD
SAA5647HL 制造商:PHILIPS 制造商全稱:NXP Semiconductors 功能描述:Enhanced TV microcontrollers with On-Screen Display OSD
SAA5665 制造商:PHILIPS 制造商全稱:NXP Semiconductors 功能描述:Enhanced TV microcontrollers with On-Screen Display OSD
SAA5665HL 制造商:PHILIPS 制造商全稱:NXP Semiconductors 功能描述:Enhanced TV microcontrollers with On-Screen Display OSD
SAA5667 制造商:PHILIPS 制造商全稱:NXP Semiconductors 功能描述:Enhanced TV microcontrollers with On-Screen Display OSD