Electronic Components Datasheet Search
  English  ▼

X  

3825 Datasheet(PDF) 29 Page - Renesas Technology Corp

Part # 3825
Description  8-BIT SINGLE-CHIP MICROCOMPUTER
PDF  339 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

3825 Datasheet(HTML) 29 Page - Renesas Technology Corp

Back Button 3825 Datasheet HTML 25Page - Renesas Technology Corp 3825 Datasheet HTML 26Page - Renesas Technology Corp 3825 Datasheet HTML 27Page - Renesas Technology Corp 3825 Datasheet HTML 28Page - Renesas Technology Corp 3825 Datasheet HTML 29Page - Renesas Technology Corp 3825 Datasheet HTML 30Page - Renesas Technology Corp 3825 Datasheet HTML 31Page - Renesas Technology Corp 3825 Datasheet HTML 32Page - Renesas Technology Corp 3825 Datasheet HTML 33Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 29 / 339 page
background image
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
3825 Group
1-13
I/O PORTS
Direction Registers
The 3825 group has 43 programmable I/O pins arranged in seven
I/O ports (ports P16, P17 P2, P4–P6, P71–P77 and P8). The I/O
ports have direction registers which determine the input/output di-
rection of each individual pin. (Ports P16 and P17 are shared with
bits 6 and 7 of the port P1 output control register). Each bit in a di-
rection register corresponds to one pin, each pin can be set to be
input port or output port.
When “0” is written to the bit corresponding to a pin, that pin be-
comes an input pin. When “1” is written to that bit, that pin be-
comes an output pin.
If data is read from a pin set to output, the value of the port output
latch is read, not the value of the pin itself. Pins set to input are
floating. If a pin set to input is written to, only the port output latch
is written to and the pin remains floating.
Port P1 Output Control Register
Bit 0 of the port P1 output control register (address 000316) en-
ables control of the output of ports P10 to P15.
When the bit is set to “1”, the port output function is valid.
In this case, setting of the PULL register A to ports P10 to P15 is
invalid.
When resetting, bit 0 of the port P1 output control register is set to
“0” (the port output function is invalid.)
Pull-up/Pull-down Control
By setting the PULL register A (address 001616) or the PULL reg-
ister B (address 001716), ports P0 to P8 can control either pull-
down or pull-up (pins that are shared with the segment output pins
for LCD are pull-down; all other pins are pull-up) with a program.
However, the contents of PULL register A and PULL register B do
not affect ports programmed as the output ports. (except for ports
P0 and P3).
Ports P0 and P3 share the port output control function with bit 0 of
the PULL register A. When set to “1”, the port output function is in-
valid (Pull-down is valid).
When set to “0”, the port output function is valid (Pull-down is in-
valid).
The PULL register A setting is invalid for pins set to segment out-
put on the segment output enable register.
Fig. 10 Structure of PULL register A and PULL register B
P0, P10–P15, P3 pull-down
(shared with P0 and P3 output
control : refer to the text)
P16–P17 pull-up
P20–P27 pull-up
P80, P81 pull-up
P40–P43 pull-up
P44–P47 pull-up
Not used (return “0” when read)
PULL register A
(PULLA : address 001616)
b7
b0
P50–P53 pull-up
P54–P57 pull-up
P60–P63 pull-up
P64–P67 pull-up
P71–P73 pull-up
P74–P77 pull-up
Not used (return “0” when read)
0 : Disable
1 : Enable
PULL register B
(PULLB : address 001716)
b7
b0
Note : The contents of PULL register A and PULL register B
do not affect ports programmed as the output port.



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