Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UPD17P136ACT Datasheet(PDF) 135 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) 135 Page - NEC

Back Button UPD17P136ACT Datasheet HTML 131Page - NEC 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 135 / 292 page
background image
CHAPTER 13 PERIPHERAL HARDWARE
116
13.1.4 Setting Count Value to Modulo Register
A value is set to the modulo register by using the PUT instruction via DBF (data buffer). The peripheral address
of the modulo register of timer 0 is assigned to 02H, and that of timer 1 is assigned to 03H.
To transfer a value by using the PUT instruction, the data of the low-order 8 bits of DBF (DBF1 and DBF0) are
transferred to the modulo register. Figure 13-4 shows an example of the modulo register of timer 0.
Figure 13-4. Setting Count Value to Modulo Register
Example of setting count value 64H to modulo register of timer 0
CONTDATL
DAT
4H
; Assigns CONTDATL to 4H by using symbol definition instruction
CONTDATH
DAT
6H
; Assigns CONTDATH to 6H by using symbol definition instruction
MOV
DBF0, #CONTDATL ;
MOV
DBF1, #CONTDATH ;
PUT
TM0M, DBF
; Transfers data by using reserved word “TM0M”
b7
8-bit data
PUT TM0M, DBF
TM0M (peripheral address 02H)
b6
b5
b4
b3
b2
b1
b0
01
1
0
01
0
0
DBF3
DBF2
DBF1
DBF0
b3
b2
b1
b0
b3
b2
b1
b0
b3
b2
b1
b0
b3
b2
b1
b0
Don’t care
Don’t care
0
1
1
0
0
1
0
0
Data buffer
Caution The range of the value to that can be set to the modulo register is 01H to FFH. If 00H is set, the
normal count operation is not performed.
The modulo register is a write-only register. Therefore, the set value of the modulo register cannot be read. Even
if the “PUT TM0M, DBF” or “PUT TM1M, DBF” instruction is executed while the 8-bit timer/counter is operating, the
count is operating is not stopped.



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