Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

MPC89x53AF Datasheet(PDF) 13 Page - Megawin Technology Co., Ltd

Part # MPC89x53AF
Description  8-bit micro-controller
PDF  38 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MEGAWIN [Megawin Technology Co., Ltd]
Direct Link  http://www.megawin.com.tw/megawin_EN/Index.asp
Logo MEGAWIN - Megawin Technology Co., Ltd

MPC89x53AF Datasheet(HTML) 13 Page - Megawin Technology Co., Ltd

Back Button MPC89x53AF Datasheet HTML 9Page - Megawin Technology Co., Ltd MPC89x53AF Datasheet HTML 10Page - Megawin Technology Co., Ltd MPC89x53AF Datasheet HTML 11Page - Megawin Technology Co., Ltd MPC89x53AF Datasheet HTML 12Page - Megawin Technology Co., Ltd MPC89x53AF Datasheet HTML 13Page - Megawin Technology Co., Ltd MPC89x53AF Datasheet HTML 14Page - Megawin Technology Co., Ltd MPC89x53AF Datasheet HTML 15Page - Megawin Technology Co., Ltd MPC89x53AF Datasheet HTML 16Page - Megawin Technology Co., Ltd MPC89x53AF Datasheet HTML 17Page - Megawin Technology Co., Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 38 page
background image
Functional Description
TIMERS/COUNTERS
MPC89x53A has three 16-bit timers, and they are named T0, T1 and T2. Each of them can
also be used as a general event counter, which counts the transition from 1 to 0.
While T0/T1/T2 is used as “timer” function, the time unit that used to measure the timer is
machine cycle. A machine cycle equals 12 or 6 oscillator periods, and depends on 12T mode
or 6T mode that the user configured this device.
While T0/T1/T2 is used as “1-0 event counter” function, the counting event is the “high-to-low
transition” of primitive pin T0/T1/T2. In this mode, the device periodically samples the status of
pin T0/T1/T2 once for each machine cycle. Whenever the sampled result turns from 1 to 0, the
device will count once on the counter. Becarefully, this kind of implementation for the counter
requires the high-duty or low-duty from pin T0/T1/T2 and must not too short compared to a
machine cycle.
There are two SFR designed to configure timers T0 and T1. They are TMOD, and TCON.
There are extra two SFR designed to configure timer T2. They are T2MOD, and T2CON.
SFR: TMOD
Bit-7
Bit-6
Bit-5
Bit-4
Bit-3
Bit-2
Bit-1
Bit-0
(for timer1 use)
(for timer0 use)
GATE
C//T
M1
M0
GATE
C//T
M1
M0
GATE: Gating control when set. If GATE=1, Timer/Counter x is enabled only while “/INTx” pin is high and
“TRx” control bit is set.
When cleared Timer x is enabled whenever “TRx” control bit is set.
C//T: Timer or Counter function selector. 0: =timer, 1: =counter
{M1, M0}: mode select
{0, 0}: = 13-bit timer/counter for Timer0 and Timer1
{0, 1}: = 16-bit timer/counter for Timer0 and Timer1
{1, 0}: = 8-bit timer/counter with automatic reload for Timer0 and Timer1
{1, 1}: = for Timer0: = TL0 is 8-bit timer/counter, TH0 is locked into 8-bit timer
for Timer1:= Timer/Counter1 Stopped
MEGAWIN
MPC89x53A Data Sheet
13



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com