Electronic Components Datasheet Search
  English  ▼

X  

D17133CS Datasheet(PDF) 126 Page - NEC

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

D17133CS Datasheet(HTML) 126 Page - NEC

Back Button D17133CS Datasheet HTML 122Page - NEC D17133CS Datasheet HTML 123Page - NEC D17133CS Datasheet HTML 124Page - NEC D17133CS Datasheet HTML 125Page - NEC D17133CS Datasheet HTML 126Page - NEC D17133CS Datasheet HTML 127Page - NEC D17133CS Datasheet HTML 128Page - NEC D17133CS Datasheet HTML 129Page - NEC D17133CS Datasheet HTML 130Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 126 / 289 page
background image
CHAPTER 12
PORTS
111
12.6 PORT 0E (P0E0, P0E1/Vref) ... Vref;
µPD17132, 17133, 17P132, and 17P133 only
Port 0E is a 2-bit input/output port with an output latch. It is mapped into bits 0 and 1 of address 6FH 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 bit-by-bit.
P0E1/Vref pin is also used as external reference voltage input of the comparator (incorporated only in the
µPD17132,
17133, 17P132, and 17P133), and its function is changed from port to external reference voltage input depending
on the value of the reference voltage selection resister. (CMPVREF0 to CMPVREF3) (Refer to 13.2 COMPARATOR.)
Input or output can be specified bit-by-bit. Input/output is specified with P0EBIO0 and P0EBIO1 (bits 0 and 1 at
address 32H) in the register file.
If P0EBIOn is 0 (n=0, 1), the each pin of P0E is used as input port. If a data read instruction is executed for the
port register, the pin statuses are read.
If P0EBIOn is 1 (n=0, 1), the each pin of P0E is used as output port and the value written in the output latch are
output pins.
If a data read instruction is executed regardless of the mode, the pin statuses, rather than output latch value, are
fetched.
At reset, P0EBIOn is set to 0 (n=0, 1) and each of port 0E pin become input port. The contents of the port output
latch become 0.
The write instruction to bits 2 and 3 at address 6FH becomes invalid. If the value is read, 0 is output.
Remark
The
µPD17P132 and 17P133 have no pull-up resistor by mask option.
Table 12-7. Writing into and Reading from the Port Registers (0.6FH.0, 0.6FH.1)
(n=0, 1)
BANK01 6FH
Write
Read
0
Input
PossibleNote
Write to the output latch
P0E pin status
of P0E
Note Port register 6FH is a write only register. The data which is written during input mode (P0EBIOn=0) will
be ignored.
P0EBIOn
RF: 32H
Pin Input/
Output
1
Output



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