Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button 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 UPD17P136ACT Datasheet HTML 128Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 124 / 292 page
background image
CHAPTER 12 PORTS
105
Port mode
Input port
Output port
SI
SO
TM0OUT
SCK
Contents read from the port register (0.73H)
Pin status
Output latch contents
Output latch contents
Pin status
Pin status
Not defined
Output latch contents
An internal clock is selected as a shift clock.
An external clock is selected as a shift clock.
BANK1 70H
Pin input/output
(n = 0 to 3)
P1AGIOn
RF: 2CH, bit 2
0
1
Input
Output
Write
Possible
Write to the P1A latch
Read
P1A pin status
P1A latch contents
Table 12-5. Contents Read from the Port Register (0.73H)
Caution Using the serial interface causes the output latch for the P0D1/SO pin to be affected by the
contents of the SIOSFR (shift register). So, reset the output latch before using the pin as output
port.
12.5
PORT 1A (P1A0, P1A1, P1A2, P1A3)
Port 1A is a 4-bit input/output port with an output latch. It is mapped into address 70H of BANK1 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 4-bit units. Input/output is specified by P1AGIO (bit 2 at address 2CH) in the
register file.
When P1AGIO is 0, each pin of port 1A is used as input port. If a read instruction is executed for the port register,
pin statuses are read. When P1AGIO is 1, each pin of port 1A is used as output port and the contents written in the
output latch are output to pins. If a read instruction is executed when pins are output ports, the contents of the output
latch, rather than pin statuses, are fetched.
At reset, P1AGIO is set to 0 and all P1A pins become input ports. The contents of the port output latch are
0.
Table 12-6. Writing into and Reading from the Port Register (1.70H)
12.6 PORT 1B (P1B0)
Port 1B is a 1-bit input-dedicated port. It is mapped into address 71H of BANK1 in data memory. The mask option
can be used to specify that pull-up resistors be contained in P1B0 pins.
Port 1B is the input-dedicated port. At reading, only the least significant bit is valid and a value is read into it. At
writing, no value changes. Value 0 is always read into the high-order 3 bits of the port register.



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