поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

TMP86FS23UG датащи(PDF) 98 Page - Toshiba Semiconductor

номер детали TMP86FS23UG
подробное описание детали  8 Bit Microcontroller
PDF  252 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  TOSHIBA [Toshiba Semiconductor]
домашняя страница  http://www.semicon.toshiba.co.jp/eng
Logo TOSHIBA - Toshiba Semiconductor

TMP86FS23UG датащи(HTML) 98 Page - Toshiba Semiconductor

Back Button TMP86FS23UG Datasheet HTML 94Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 95Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 96Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 97Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 98Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 99Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 100Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 101Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 102Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 98 / 252 page
background image
Page 86
8. 18-Bit Timer/Counter (TC1)
8.3 Function
TMP86FS23UG
8.3.4 Frequency Measurement mode
In this mode, the frequency of ECIN pin input pulse is measured. When using this mode, set
TC1CR1<TC1CK> to the external clock.
The edge of the ECIN input pulse is counted during “H” level of the window gate pulse selected by
TC1CR2<SGP>. To use ECNT input as a window gate pulse, TC1CR2<SGP> should be set to “00”.
An INTTC1 interrupt is generated on the falling edge or both the rising/falling edges of the window gate
pulse, that can be selected by TC1CR2<SGEDG>. In the interrupt service program, read the contents of
TREG1A while the count is stopped (window gate pulse is low), then clear the counter using
TC1CR1<TC1C>. When the counter is not cleared, counting up resumes from previous stopping value.
The window pulse status can be monitored by TC1SR<HECF>.
When up counter is counted up from 3FFFFH to 00000H, an overflow occurs. At that time,
TC1SR<HEOVF> is set to “1”. TC1SR<HEOVF> remains the previous data until the counter is required to be
cleared by TC1CR1<TC1C>.
Using TC6 output (PWM6/PDO6/PPG6) for the window gate pulse, external output of PWM6/PDO6/PPG6 to
P33 can be controlled using TC1CR2<TC6OUT>. Zero-clearing TC1CR2<TC6OUT> outputs PWM6/PDO6/
PPG6
to P33; setting 1 in TC1CR2<TC6OUT> does not output PWM6/PDO6/PPG6 to P33.
(TC1CR2<TC6OUT> is used to control output to P33 only. Thus, use the timer counter 6 control register to
operate/stop PWM6/PDO6/PPG6.)
When the internal window gate pulse is selected, the window gate pulse is set as follows.
The internal window gate pulse consists of “H” level period (Ta) that is counting time and “L” level period
(Tb) that is counting stop time. Ta or Tb can be individually set by TREG1B. One cycle contains Ta + Tb.
Note 1: Because the internal window gate pulse is generated in synchronization with the internal divider, it may be
delayed for a maximum of one cycle of the source clock (WGPSCK) immediately after start of the timer.
Note 2: Set the internal window gate pulse when the timer counter is not operating or during the Tb period. When
Tb is overwritten during the Tb period, the update is valid from the next Tb period.
Note 3: In case of TC1CR2<SEG> = "1", if window gate pulse becomes falling edge, the up counter stops plus "1"
regardless of ECIN input level. Therefore, if ECIN is always "H" or "L" level, count value becomes "1".
Note 4: In case of TC1CR2<SEG> = "0", because the up counter is counted on the falling edge of logical AND-ed
pulse (between ECIN pin input and window gate pulse), if window gate pulse becomes falling edge while
ECIN input is "H" level, the up counter stops plus "1". Therefore, if ECIN input is always "H" level, count
value becomes "1".
Table 8-2 Internal window gate pulse setting time
WGPSCK
NORMAL1/2,IDLE1/2 modes
SLOW1/2,
SLEEP1/2 modes
R/W
DV7CK=0
DV7CK=1
Ta
Setting "H" level period of the window
gate pulse
00
01
10
(16 - Ta)
× 212/fc
(16 - Ta)
× 213/fc
(16 - Ta)
× 214/fc
(16 - Ta)
× 24/fs
(16 - Ta)
× 25/fs
(16 - Ta)
× 26/fs
(16 - Ta)
× 24/fs
(16 - Ta)
× 25/fs
(16 - Ta)
× 26/fs
Tb
Setting "L" level period of the window
gate pulse
00
01
10
(16 - Tb)
× 212/fc
(16 - Tb)
× 213/fc
(16 - Tb)
× 214/fc
(16 - Tb)
× 24/fs
(16 - Tb)
× 25/fs
(16 - Tb)
× 26/fs
(16 - Tb)
× 24/fs
(16 - Tb)
× 25/fs
(16 - Tb)
× 26/fs



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



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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