Electronic Components Datasheet Search
  English  ▼

Delete All
ON OFF
ALLDATASHEET.COM

X  

Preview PDF Download HTML

MC81F4204M Datasheet(PDF) 97 Page - Finechips

Part No. MC81F4204M
Description  ABOV SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
Download  150 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FINECHIPS [Finechips]
Direct Link  http://www.finechips.com
Logo FINECHIPS - Finechips

MC81F4204M Datasheet(HTML) 97 Page - Finechips

Back Button MC81F4204M Datasheet HTML 93Page - Finechips MC81F4204M Datasheet HTML 94Page - Finechips MC81F4204M Datasheet HTML 95Page - Finechips MC81F4204M Datasheet HTML 96Page - Finechips MC81F4204M Datasheet HTML 97Page - Finechips MC81F4204M Datasheet HTML 98Page - Finechips MC81F4204M Datasheet HTML 99Page - Finechips MC81F4204M Datasheet HTML 100Page - Finechips MC81F4204M Datasheet HTML 101Page - Finechips Next Button
Zoom Inzoom in Zoom Outzoom out
 97 / 150 page
background image
MC81F4204
October 19, 2009 Ver.1.35
97
Function Description
Interval Timer Mode
A match signal is generated and T0O pins are toggled when the T0CR register value equals the
T0DR register value. The match signal generates a timer match interrupt and clears the T0CR
register.
Pulse Width Modulation Mode
Pulse width modulation (PWM) mode lets you program the width (duration) of the pulse that is output
at the PWM0O pin. As in interval timer mode, a match signal is generated when the counter value is
identical to the value written to the T0DR register. In PWM mode, however, the match signal does not
clear the counter. Instead, it runs continuously, overflowing at FFH, and then continues incrementing
from 00H.
Although you can use the match signal to generate a timer 0 overflow interrupt, interrupts are not
typically used in PWM-type applications. Instead, the pulse at the PWM0O pin is held to Low level as
long as the reference data value is less than or equal to (
 ) the counter value and then the pulse is
held to High level for as long as the data value is greater than ( > ) the counter value. One pulse width
is equal to tCLK * 256.
So, the period and duty times are,
Duty
= tCLK * (T0DR + 1)
Period = tCLK * 256
In order to generate the PWM0O signal, 3 steps are required,
Steps
Example C code
Make sure the PWM0O port is set by PWM output mode
T0CONM = 0x03;
Set the T0DR value properly
T0DR
= 25;
Set the T0SCR register properly
T0SCR
= 0x38;
Capture Mode
In capture mode, you have to set EXT1 interrupt. When the EXT1 interrupt is occurred, the T0CR
register value is loaded into the T0DR register and the T0CR register is cleared.
And the timer 0 overflow interrupt is generated whenever the T0CR value is overflowed.
So, If you count how many overflow is occurred and read the T0DR value in EXT1 interrupt routine, it
is possible to measure the time between two EXT1 interrupts. Or it is possible to measure the time
from the T0 initial time to the EXT1 interrupt occurred time.
The time = ( 256 * tCLK ) * overflow_count + (tCLK * T0DR)
Note
„tCLK‟ is the period time of the timer-counter‟s clock source
You must set the T0DR value before set the T0SCR register. Because T0DR value is
fetched when the count is started(the T0CC bit is set) or match/overflow event is occurred.


Similar Part No. - MC81F4204M

ManufacturerPart No.DatasheetDescription
Finechips
Finechips
MC81F4216 FINECHIPS-MC81F4216 Datasheet
4Mb / 200P
   ABOV SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC81F4216B FINECHIPS-MC81F4216B Datasheet
4Mb / 200P
   ABOV SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC81F4216D FINECHIPS-MC81F4216D Datasheet
4Mb / 200P
   ABOV SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
More results

Similar Description - MC81F4204M

ManufacturerPart No.DatasheetDescription
Finechips
Finechips
MC81F4216 FINECHIPS-MC81F4216 Datasheet
4Mb / 200P
   ABOV SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC81F4332 FINECHIPS-MC81F4332 Datasheet
4Mb / 198P
   ABOV SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
Hynix Semiconductor
Hynix Semiconductor
GMS81C2112 HYNIX-GMS81C2112 Datasheet
1Mb / 107P
   HYNIX SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS81004E HYNIX-HMS81004E Datasheet
1Mb / 77P
   HYNIX SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
Finechips
Finechips
MC81F4104 FINECHIPS-MC81F4104 Datasheet
2Mb / 118P
   ABOV SEMICONDUCTOR
Hynix Semiconductor
Hynix Semiconductor
GMS81C5108 HYNIX-GMS81C5108 Datasheet
1Mb / 102P
   HYNIX SEMICONDUCTOR INC. 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81C7008 HYNIX-GMS81C7008 Datasheet
2Mb / 123P
   HYNIX SEMICONDUCTOR INC. 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS90C320 HYNIX-GMS90C320 Datasheet
683Kb / 46P
   HYNIX SEMICONDUCTOR INC. 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS90C3X HYNIX-GMS90C3X Datasheet
846Kb / 59P
   HYNIX SEMICONDUCTOR INC. 8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS81C4X60 HYNIX-HMS81C4X60 Datasheet
823Kb / 110P
   HYNIX SEMICONDUCTOR INC. 8-BIT SINGLE-CHIP MICROCONTROLLERS
More results


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  39  40  41  42  43  44  45  46  47  48  49  50  51  52  53  54  55  56  57  58  59  60  61  62  63  64  65  66  67  68  69  70  71  72  73  74  75  76  77  78  79  80  81  82  83  84  85  86  87  88  89  90  91  92  93  94  95  96  97  98  99  100   ...More


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   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