전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

R8C 데이터시트(PDF) 78 Page - Renesas Technology Corp

부품명 R8C
상세설명  RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER
PDF  199 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  RENESAS [Renesas Technology Corp]
홈페이지  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

R8C 데이터시트(HTML) 78 Page - Renesas Technology Corp

Back Button R8C Datasheet HTML 74Page - Renesas Technology Corp R8C Datasheet HTML 75Page - Renesas Technology Corp R8C Datasheet HTML 76Page - Renesas Technology Corp R8C Datasheet HTML 77Page - Renesas Technology Corp R8C Datasheet HTML 78Page - Renesas Technology Corp R8C Datasheet HTML 79Page - Renesas Technology Corp R8C Datasheet HTML 80Page - Renesas Technology Corp R8C Datasheet HTML 81Page - Renesas Technology Corp R8C Datasheet HTML 82Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 78 / 199 page
background image
R8C/10 Group
Rev.1.20 Jan 27, 2006
page 68 of 180
REJ09B0019-0120
12.2.1 Timer Mode
In this mode, the timer counts an internally generated count source (see “Table 12.7 Timer Mode
Specifications”). An external signal input to the CNTR1 pin can be counted. The TYSC register is
unused in timer mode. Figure 12.15 shows the TYZMR and PUM registers in timer mode.
Item
Specification
Count source
f1, f8, fRING, external signal fed to CNTR1 pin
Count operation
• Down-count
• When the timer underflows, it reloads the reload register contents before continuing
counting (When the Timer Y underflows, the contents of the Timer Y primary reload
register is reloaded.)
Divide ratio
1/(n+1)(m+1)
n: set value in PREY register, m: set value in TYPR register
Count start condition
Write “1” (count start) to TYS bit in TYZMR register
Count stop condition
Write “0” (count stop) to TYS bit in TYZMR register
Interrupt request
• When Timer Y underflows [Timer Y interrupt]
generation timing
INT2/CNTR1 pin function
_______
Programmable I/O port, count source input or INT2 interrupt input
• When the TYCK1 to TYCK0 bits in the TCSS register are set to “00b”, “01b” or “10b”
_______
(Timer Y count source is f1, f8 or fRING), programmable I/O port or INT2 interrupt input
• When the TYCK1 to TYCK0 bits are set to “11b” (Timer Y count source is CNTR1
_______
input), count source input (INT2 interrupt input)
Read from timer
Count value can be read out by reading TYPR register.
Same applies to PREY register.
Write to timer(1)
Value written to TYPR register is written to both reload register and counter or written to
only reload register. Selected by program.
Same applies to PREY register.
Select function
• Event counter function
When setting TYCK1 to TYCK0 bits to “112”, an external signal fed to CNTR1 pin is
counted.
_______
• INT2/CNTR1 switching bit
Active edge of count source is selected by R1EDG bit.
NOTES:
1. The IR bit in the TYIC register is set to "1" (interrupt requested) if you write to the TYPR or PREY register while both
of the following conditions are met.
Conditions:
• TYWC bit in TYZMR register is "0" (write to reload register and counter simultaneously)
• TYS bit is "1" (count start)
To write to the TYPR or PREY register in the above state, disable interrupts before writing.
Table 12.7 Timer Mode Specifications
12.2 Timer (Timer Y)



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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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