Electronic Components Datasheet Search
  English  ▼

X  

SH7021 Datasheet(PDF) 244 Page - Renesas Technology Corp

Part # SH7021
Description  SuperH??RISC engine
PDF  509 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

SH7021 Datasheet(HTML) 244 Page - Renesas Technology Corp

Back Button SH7021 Datasheet HTML 240Page - Renesas Technology Corp SH7021 Datasheet HTML 241Page - Renesas Technology Corp SH7021 Datasheet HTML 242Page - Renesas Technology Corp SH7021 Datasheet HTML 243Page - Renesas Technology Corp SH7021 Datasheet HTML 244Page - Renesas Technology Corp SH7021 Datasheet HTML 245Page - Renesas Technology Corp SH7021 Datasheet HTML 246Page - Renesas Technology Corp SH7021 Datasheet HTML 247Page - Renesas Technology Corp SH7021 Datasheet HTML 248Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 244 / 509 page
background image
228 RENESAS
When the MDF is set to 1 to select the phase counting mode, the timer counter (TCNT2)
becomes an up/down counter and the TCLKA and TCLKB pins become count clock input
pins. TCNT2 counts on both the rising and falling edges of TCLKA and TCLKB, with the
increment/decrement chosen as follows:
Count
Direction
Decrement
Increment
TCLKA pin
Rising
High
Falling
Low
Rising
High
Falling
Low
TCLKB pin
L
Rising
High
Falling
High
Falling
Low
Rising
In the phase counting mode, selections for external clock edge made in the CKEG1 and
CKEG0 bits of the timer control register 2 (TCR2) and the selection for counter clock made in
the TPSC2 –TPSC0 bits are ignored. The phase counting mode described above takes priority.
Settings for counter clear conditions in the CCLR1 and CCLR0 bits of TCR2 and settings for
timer I/O control register 2 (TIOR2), timer interrupt enable register (TIER2) and timer status
register 2 (TSR2) compare match/input capture functions and interrupts, however, are valid
even in the phase counting mode.
•
Bit 5 (flag direction (FDIR)): FDIR selects the setting condition for the overflow flag (OVF) in
timer status register 2 (TSR2). This bit is valid no matter which mode channel 2 is operating in.
Bit 5: FDIR
Description
0
OVF of TSR2 is set to 1 when TCNT2 overflows or underflows (initial
value)
1
OVF of TSR2 is set to 1 when TCNT2 overflows
•
Bit 4 (PWM Mode 4 (PWM4)): PWM4 selects the PWM mode for channel 4. When the
PWM4 bit is set to 1 and the PWM mode entered, the TIOCA4 pin becomes a PWM output
pin. 1 is output on a compare match of general register A4 (GRA4); 0 is output on a compare
match of general register B4 (GRB4). When the complementary PWM mode or reset-
synchronized PWM mode are set by the CMD1 and CMD0 bits of the timer function control
register (TFCR), the setting of this bit is ignored in favor of the settings of CMD1 and CMD0.
Bit 4: PWM4
Description
0
Channel 4 operates normally (initial value)
1
Channel 4 operates in PWM mode



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