Electronic Components Datasheet Search
  English  ▼

X  

M30245 Datasheet(PDF) 30 Page - Renesas Technology Corp

Part # M30245
Description  RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/20 SERIES
PDF  367 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

M30245 Datasheet(HTML) 30 Page - Renesas Technology Corp

Back Button M30245 Datasheet HTML 26Page - Renesas Technology Corp M30245 Datasheet HTML 27Page - Renesas Technology Corp M30245 Datasheet HTML 28Page - Renesas Technology Corp M30245 Datasheet HTML 29Page - Renesas Technology Corp M30245 Datasheet HTML 30Page - Renesas Technology Corp M30245 Datasheet HTML 31Page - Renesas Technology Corp M30245 Datasheet HTML 32Page - Renesas Technology Corp M30245 Datasheet HTML 33Page - Renesas Technology Corp M30245 Datasheet HTML 34Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 30 / 367 page
background image
Rev.2.00 Oct 16, 2006
page 21 of 354
REJ09B0340-0200
M30245 Group
2. Timer A
Figure 2.2.15. Set-up procedure of event counter mode, free run type selected
Selecting event counter mode and functions
b7
b0
Timer Ai mode register (i=0 to 4) [Address 039616 to 039A16]
TAiMR (i=0 to 4)
Up/down switching cause select bit
0 : Up/down flag's content
Selection of event counter mode
Invalid in event counter mode (i = 0, 1)
Invalid when not using two-phase pulse signal processing(i = 2 to 4)
0 (Must always be “0” in event counter mode)
Count polarity select bit
0 : Counts external signal's falling edge
01
00
0
1
b7
b0
0
00
Up/down flag [Address 038416]
UDF
Timer A0 up/down flag
0 : Down count
Timer A1 up/down flag
0 : Down count
Timer A2 up/down flag
0 : Down count
Timer A3 up/down flag
0 : Down count
Timer A4 up/down flag
0 : Down count
When not using the two-phase pulse signal processing function, set the select bit to “0”.
Setting one-shot start flag and trigger select register
Trigger select register [Address 038316]
TRGSR
One-shot start flag [Address 038216]
ONSF
Timer A0 event/trigger select bit
0 0 : Input on TA0IN is selected (Note 2)
b7 b6
b7
b0
b7
b0
Timer A1 event/trigger select bit
0 0 : Input on TA1IN is selected (Note 2)
b1 b0
Timer A2 event/trigger select bit
0 0 : Input on TA2IN is selected (Note 2)
b3 b2
Timer A3 event/trigger select bit
0 0 : Input on TA3IN is selected (Note 2)
b5 b4
Timer A4 event/trigger select bit
0 0 : Input on TA4IN is selected (Note 2)
b7 b6
Note 2: Set the corresponding port direction register to “0”.
Setting divide ratio
Can be set to 000016 to FFFF16
b7
b0
(b15)
(b8)
b7
b0
Start count
Setting count start flag
Timer A0 count start flag
Timer A1 count start flag
Timer A2 count start flag
Timer A3 count start flag
Timer A4 count start flag
b7
b0
Setting up/down flag
Count operation type select bit (Note 1)
1 : Free-run type
0
Pulse output function select bit
0 : Pulse is not output (TAi OUT pin is a normal port pin)
Note 1: First set to “Reload type” operation. Once the first counting pulse has occurred, the timer may be changed to “Free-Run type”.
Timer A0 register [Address 038716, 038616] TA0
Timer A1 register [Address 038916, 038816] TA1
Timer A2 register [Address 038B16, 038A16] TA2
Timer A3 register [Address 038D16, 038C16] TA3
Timer A4 register [Address 038F16, 038E16] TA4
Count start flag [Address 038016]
TABSR



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



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