Electronic Components Datasheet Search
  English  ▼

X  

UPD17P136ACT Datasheet(PDF) 136 Page - NEC

Part # UPD17P136ACT
Description  4-BIT SINGLE-CHIP MICROCONTROLLER
PDF  292 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NEC [NEC]
Direct Link  http://www.nec.com/
Logo NEC - NEC

UPD17P136ACT Datasheet(HTML) 136 Page - NEC

Back Button UPD17P136ACT Datasheet HTML 132Page - NEC 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 136 / 292 page
background image
CHAPTER 13 PERIPHERAL HARDWARE
117
13.1.5 Reading Value of Count Register
The values of the count registers of timers 0 and 1 are read simultaneously by using the GET instruction via DBF
(data buffer).
The values of the count registers of timers 0 and 1 are assigned to peripheral address 45H. The high-order 8 bits
of this address are assigned to the count value of timer 1, and the low-order 8 bits are assigned to the count value
of timer 0.
The values of the count registers can be read to DBF by using the GET instruction. While the GET instruction is
being executed, the count registers stop counting and hold the current count value. If a count pulse is input to the
timer while the timer is operating and the GET instruction is being executed, the count value is held, the value of the
count register is incremented by one after the GET instruction has been executed, and the timer continues counting.
Therefore, the timer does not count erroneously even if the GET instruction is executed while the timer is operating,
unless two or more count pulses are input to the timer in one instruction cycle.
Figure 13-5. Reading Count Value of Count Register
Example of using GET DBF, TM0TM1C; reserved word DBF and TM0TM1C
when count value of timer 0 is F0H and count value of timer 1 is A4H
Data buffer
DBF3
DBF2
DBF1
DBF0
101
0
010
0111
1
000
0
16-bit data
GET DBF, TM0TM1C
b3
b2
b1
b0
b3
b2
b1
b0
b3
b2
b1
b0
b3
b2
b1
b0
b15 b14 b13 b12
b11 b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
101
0
010
0111
1
000
0
TM0TM1C (peripheral address)
Timer 0 count value
Timer 1 count value



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