поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

M16C/26 датащи(PDF) 169 Page - Renesas Technology Corp

номер детали M16C/26
подробное описание детали  16-BIT CMOS SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/20 SERIES
PDF  239 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  RENESAS [Renesas Technology Corp]
домашняя страница  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

M16C/26 датащи(HTML) 169 Page - Renesas Technology Corp

Back Button M16C/26 Datasheet HTML 165Page - Renesas Technology Corp M16C/26 Datasheet HTML 166Page - Renesas Technology Corp M16C/26 Datasheet HTML 167Page - Renesas Technology Corp M16C/26 Datasheet HTML 168Page - Renesas Technology Corp M16C/26 Datasheet HTML 169Page - Renesas Technology Corp M16C/26 Datasheet HTML 170Page - Renesas Technology Corp M16C/26 Datasheet HTML 171Page - Renesas Technology Corp M16C/26 Datasheet HTML 172Page - Renesas Technology Corp M16C/26 Datasheet HTML 173Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 169 / 239 page
background image
Renesas Technology Corp.
Programmable I/O Ports
163
M16C/26 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Under
development
Preliminary Specifications Rev. 0.9
Specifications in this manual are tentative and subject to change.
Programmable I/O Ports
There are 38 programmable I/O ports: P15 - P17, P6, P7, P8 (except P84), P90 - P93, and P10. Each port
can be set independently for input or output using the direction register. A pull-up resistance for each block
of 4 ports can be set.
Figures 1.17.1 to 1.17.3 show the programmable I/O ports. Figure 1.17.4 shows the I/O pins.
Each pin functions as a programmable I/O port and as the I/O for the built-in peripheral devices.
To use the pins as the inputs for the built-in peripheral devices, set the direction register of each pin to input
mode. When the pins are used as the outputs for the built-in peripheral devices, they function as outputs
regardless of the contents of the direction registers. See the descriptions of the respective functions for
how to set up the built-in peripheral devices.
(1) Direction registers
Figure 1.17.5 shows the port direction registers.
These registers are used to choose the direction of the programmable I/O ports. Each bit in these
registers corresponds one for one to each I/O pin.
Note: The Port 9 direction register incorporates a write protection function. Before writing to the port 9
direction register the write protection must be disabled by setting PRC2 of the Protect register (bit 2 at
000A16) to "1". Note that PRC2 is automatically reset to "0" after the next write to an SFR address.
(2) Port registers
Figure 1.17.6 shows the port registers.
These registers are used to read and write data for input and output to and from an external device. A
port register consists of a port latch to hold output data and a circuit to read the status of a pin. Each bit
in the port registers corresponds one for one to each I/O pin.
(3) Pull-up control registers
Figure 1.17.7 shows the pull-up control registers.
The pull-up control register can be set to apply a pull-up resistance to each block of 4 ports. When ports
are set to have a pull-up resistance, the pull-up resistance is connected only when the direction register
is set to input.
(4) Port control register
Figure 1.17.8 shows the port control register.
Bit 0 of the port control register is used to control the read of port P1 as follows:
0 : When port P1 is set as an input port, the port input level is read.
When port P1 is set as an output port , the contents of the port P1 register are read.
1 : The contents of the port P1 register are always read.



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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