công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

UPD17P136ACT bảng dữ liệu(PDF) 137 Page - NEC

tên linh kiện UPD17P136ACT
Giải thích chi tiết về linh kiện  4-BIT SINGLE-CHIP MICROCONTROLLER
PDF  292 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  NEC [NEC]
Trang chủ  http://www.nec.com/
Logo NEC - NEC

UPD17P136ACT bảng dữ liệu(HTML) 137 Page - NEC

Back Button UPD17P136ACT Datasheet HTML 133Page - NEC UPD17P136ACT Datasheet HTML 134Page - NEC UPD17P136ACT Datasheet HTML 135Page - NEC UPD17P136ACT Datasheet HTML 136Page - NEC UPD17P136ACT Datasheet HTML 137Page - NEC UPD17P136ACT Datasheet HTML 138Page - NEC UPD17P136ACT Datasheet HTML 139Page - NEC UPD17P136ACT Datasheet HTML 140Page - NEC UPD17P136ACT Datasheet HTML 141Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 137 / 292 page
background image
CHAPTER 13 PERIPHERAL HARDWARE
118
13.1.6 Setting of Interval Time
The time interval at which the comparator outputs the coincidence signal is determined by the value set to the
modulo register. The set value N of the modulo register is calculated from interval time T [sec] as follows:
T =
N + 1
= (N + 1)
× TCP
fCP
N = T
× fCP – 1 or N =
T
– 1 (where, N = 1 to 255)
TCP
fCP
: Frequency of count pulse [Hz]
TCP : Cycle of count pulse [sec] (1/fCP = resolution)
• Example of calculating count value from interval time and program
•
Example of setting 7 ms to timer 1 as interval time (system clock: fX = 8 MHz)
Suppose one wanted to set the interval timer to 7 ms. It is impossible to set an interval time of exactly 7 ms
from an 8-MHz system clock. To set an interval time closest to 7 ms, therefore, calculate the count value
by selecting a count pulse (fX/256, resolution: 32
µs) at which the resolution is maximum.
Example of calculation
T = 7 ms, Resolution = 32
µs
N=
T
– 1
(Resolution)
=
7
× 10–3
– 1
32
× 10–6
= 217.75 = 218 (= DAH)
The value of the modulo register at which the interval time is closest to 7 ms is DAH, and the interval time
at that time is 7.008 ms.
Program example
MOV
DBF0,
#0AH
; Stores DAH to DBF by using reserved words “DBF0” and “DBF1”
MOV
DBF1,
#0DH
; Storage
PUT
TMM,
DBF
; Transfers contents of DBF by using reserved word “TMM”
INITFLG TM1EN, TM1RES, TM1CK1, NOT TM1CK0
; Sets TM1EN and TM1RES, sets count pulse of timer 1 to “fX/256”, and starts
; counting, by using embedded macroinstruction “INITFLG”
.
.



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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