參數(shù)資料
型號(hào): HT49R50A
廠商: Holtek Semiconductor Inc.
英文描述: 8-Bit High Performance High speed Microcontroller(8位、高性能、高速微控制器)
中文描述: 8位高性能高速微控制器(8位,高性能,高速微控制器)
文件頁數(shù): 24/51頁
文件大小: 320K
代理商: HT49R50A
HT49R50A
24
November 29, 2000
Label
(TMR1C)
Bits
Function
0~2
Unused bits, read as "0"
TE
3
To define the TMR1 active edge of timer/event counter
(0= active on low to high; 1= active on high to low)
TON
4
To enable/disable timer counting
(0= disabled; 1= enabled)
TN2
5
2to1multiplexercontrolinputstoselectthetimer/eventcounterclocksource
(0= options clock source; 1= system clock/4)
TN1
TN0
7
6
To define the operating mode
01= Event count mode (External clock)
10= Timer mode (Internal clock)
11= Pulse Width measurement mode (External clock)
00= Unused
TMR1C register
preload register. The timer/event counter still
continues its operation until anoverflowoccurs.
When the timer/event counter (reading
TMR0/TMR1) is read, the clock is blocked to
avoid errors. As this may results in a counting
error, blocking of the clock should be taken into
account by the programmer.
It is strongly recommended to load a desired
value into the TMR0/TMR1 register first, then
turn on the related timer/event counter for
proper operation. Because the initial value of
TMR0/TMR1 is unknown.
Due to the timer/event scheme, the program-
mershouldpayspecialattentionontheinstruc-
tion to enable then disable the timer for the
first time, whenever there is a need to use the
timer/event function, to avoid unpredictable re-
sult. After this procedure, the timer/event func-
tion can be operated normally. The example
given below, using two 8-bit width Timer s
(timer 0 ;timer 1) cascade into 16-bit width.
START:
mov a,09h
mov intc0,a
; Set ET0I&EMI bits to
; enable timer 0 and
; global interrupt
; Set ET1I bit to enable
; timer 1 interrupt
; Set operating mode as
mov a,01h
mov intc1, a
mov a, 80h
mov tmr1c,a
; timer mode and select mask
; option clock source
;Setoperatingmodeastimer
; mode and select system
; Clock/4
mov a,0a0h
mov tmr0c, a
set
clr
tmr1c.4
tmr1c.4
; Enable then disable timer 1
; for the first time
mov a, 00h
mov tmr0, a
mov a, 00h
mov tmr1, a
; Load a desired value into
; the TMR0/TMR1 register
;
;
set
set
tmr0c.4
tmr1c.4
; Normal operating
;
END
Input/output ports
There are a 12-bit bidirectional input/output
port, an 8-bit input port in the HT49R50A, la-
beled PA, PB and PC which are mapped to
[12H], [14H] and [16H] of the RAM, respec-
tively. PA0~PA3 can be configured as CMOS
(output) or NMOS (input/output) with or
without pull-high resistor by options. PA4~PA7
are always pull-high and NMOS (input/output).
相關(guān)PDF資料
PDF描述
HT49R50 8-BIT MICROCONTROLLER
HT5D048 0.8m CMOS High Speed Gate Array(0.8m CMOS高速門陣列)
HT5D028 0.8m CMOS High Speed Gate Array(0.8m CMOS高速門陣列)
HT5D064 0.8m CMOS High Speed Gate Array(0.8m CMOS高速門陣列)
HT5F240 0.8m CMOS High Speed Gate Array(0.8m CMOS高速門陣列)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HT49R50A-1 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit LCD Type OTP MCU
HT49R50A-1(LQFP100) 制造商:Holtek Semiconductor Inc 功能描述:IC, LCD TYPE 8-BIT MCU, QFP100
HT49R50A-1_09 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:LCD Type 8-Bit MCU
HT49R50A-1_12 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:LCD Type 8-Bit MCU
HT49R70A-1 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit LCD Type OTP MCU