Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button UPD17P136ACT Datasheet HTML 119Page - NEC UPD17P136ACT Datasheet HTML 120Page - NEC UPD17P136ACT Datasheet HTML 121Page - NEC UPD17P136ACT Datasheet HTML 122Page - NEC UPD17P136ACT Datasheet HTML 123Page - NEC UPD17P136ACT Datasheet HTML 124Page - NEC UPD17P136ACT Datasheet HTML 125Page - NEC UPD17P136ACT Datasheet HTML 126Page - NEC UPD17P136ACT Datasheet HTML 127Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 123 / 292 page
background image
CHAPTER 12 PORTS
104
12.4 PORT 0D (P0D0/SCK, P0D1/SO, P0D2/SI, P0D3/TM0OUT)
Port 0D is a 4-bit input/output port with an output latch. It is mapped into address 73H of BANK0 in data memory.
The output format is N-ch open-drain output. The mask option can be used to specify that a pin contain a pull-up
resistor in 1-bit unit.
Input or output can be specified in 1-bit unit. Input/output is specified with P0DBIO0 to P0DBIO3 (address 2BH)
in the register file.
If P0DBIOn is 0 (n = 0 to 3), the P0Dn pins are used as input port. Pin statuses are read if a data read instruction
is executed for the port register. If P0DBIOn is 1, the P0Dn pins are used as output port and the value written in the
output latch are output to pins. If a data read instruction is executed when pins are used as output ports, the output
latch value, rather than pin statuses, is fetched.
At reset, P0DBIOn is set to 0 and all P0D pins become input ports. The contents of the port output latch become
0. The output latch contents remain unchanged even if P0DBIOn changes from 1 to 0.
Port 0D can also be used for serial interface input/output or timer 0 output. SIOEN (0BH bit 0) in the register file
is used to switch ports (P0D0 to P0D2) to serial interface input/output (SCK, SO, SI) and vice versa. TM0OSEL (bit
3 at address 0BH) in the register file is used to switch a port (P0D3) to timer 0 output (TM0OUT) and vice versa. If
TM0OSEL = 1 is selected, 1 is output at timer 0 reset. This output is inverted every time a timer 0 count value matches
the modulo register contents.
Table 12-4. Register File Contents and Pin Functions
P0D0/SCK
P0D1/SO
P0D2/SI
P0D3/TM0OUT
Input port
Output port
SO
SO
SI
SI
Input port
Output port
Input port
Output port
TM0OUT
SCK
SCK
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Register file value
Pin function
TM0OSEL
RF: 0BH
Bit 3
SIOEN
RF: 0BH
Bit 0
P0DBIOn
RF: 2BH
Bit n
(n = 0 to 3)



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