參數(shù)資料
型號: HTG2190
廠商: Holtek Semiconductor Inc.
元件分類: 8位微控制器
英文描述: 8-Bit 1024 Pixel LCD Microcontroller
中文描述: 8位單片機(jī)1024像素LCD
文件頁數(shù): 31/64頁
文件大?。?/td> 417K
代理商: HTG2190
HTG2190
Rev. 1.00
31
June 29, 2001
should be exchanged.
During execution of R to F function, the TMR1
should be set as event counter to count the
charge/discharge waveform. Since the falling
edge of the charge/discharge waveform is
sharper
than
the
recommended that the active edge of the event
counter on high to low be defined by setting TE
(bit 3 of TMR1C).
rising
edge,
it
is
For
Timer/Event Counter 1, refer to a related sec-
tion of the Timer/Event Counter 0/1.
other
detailed
operation
about
An example of a software program written for
the purpose of measuring related frequency of
R2 is shown below.
SET
PBC.3
;
set PB.3 to be
input pin
CLR
PBC.2
;
set PB.2 to be
output pin
SET
PB.2
;
output source
current at PB.2
CLR
X'TALC.3
;
disable TMR1
pull-high resistor
Mov
A, 48H
;
set TMR1 to be
event counter
Mov
TMR1C, A ;
and active edge on
high to low
CLR
TMR1L
;
set TMR1L and
TMR1H to be "00"
CLR
TMR1H
;
SET
TMR1C.4
;
turn on TMR1
CLR
X'TALC.1
;
turn on R to F
function
Timer 2/3
Timer 2 is an 8-bit counter, and its clock source
come from the system clock divided by an
8-stage prescaler. There are two registers re-
lated to timer 2 ; TMR2 (21H) and TMR2C
(22H). Two physical registers are mapped to
TMR2 location; writing to TMR2 makes the
starting value be placed in the Timer 2 preload
register and reading the TMR2 obtains the con-
tents of the timer 2 counter. The TMR2C is a
control register, which defines the division ra-
tio of the prescaler and counting enable or dis-
able.
Writing data to B2, B1 and B0 (bit 2, 1, 0 of
TMR2C) can generate various clock source.
Once the timer 2 starts counting, it will count
from the current contents in the counter to
FFH. Once an overflow occurs, the counter is
reloaded from the preload register, and gener-
ates an interrupt request flag (T2F; bit 4 of the
! & - @
3 8
-
& .
- &
& .
& *
-
6 $ - C
. 9 : G )
&
. $
.
. 9 : G /
,
.
. 9 : G 1
,
.
,
. 9 : G +
,
Timer 2
:
"
Charge/discharge waveform
相關(guān)PDF資料
PDF描述
HTIP117D PNP EPITAXIAL PLANAR TRANSISTOR
HTM1505 RELATIVE HUMIDITY AND TEMPERATURE MODULE
HTM2500 RELATIVE HUMIDITY/ TEMPERATURE MODULE
HTS2010SMD TEMPERATURE AND RELATIVE HUMIDITY SENSOR
HTVDS84 8-Bit High Performance Microcontroller With Macro Instruction and Voice Synthesizer and Tone Generator(高性能、8位微控制器,帶宏指令、聲話音成器和聲音發(fā)生器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HTG2190_02 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:8-Bit 1024 Pixel Dot Matrix LCD MCU Series
HTG3110 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Speech Synthesizer
HTG3400 制造商:HUMIREL 制造商全稱:HUMIREL 功能描述:RELATIVE HUMIDITY AND TEMPERATURE MODULE
HTG3413CFB 制造商:HUMIREL 制造商全稱:HUMIREL 功能描述:RELATIVE HUMIDITY AND TEMPERATURE MODULE
HTG3413CH 制造商:HUMIREL 制造商全稱:HUMIREL 功能描述:RELATIVE HUMIDITY AND TEMPERATURE MODULE