数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ST90135 数据表(PDF) 14 Page - STMicroelectronics

部件名 ST90135
功能描述  8/16-BIT MCU FAMILY WITH UP TO 64K ROM/OTP/EPROM AND UP TO 2K RAM
PDF  190 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST90135 数据表(HTML) 14 Page - STMicroelectronics

Back Button ST90135 Datasheet HTML 10Page - STMicroelectronics ST90135 Datasheet HTML 11Page - STMicroelectronics ST90135 Datasheet HTML 12Page - STMicroelectronics ST90135 Datasheet HTML 13Page - STMicroelectronics ST90135 Datasheet HTML 14Page - STMicroelectronics ST90135 Datasheet HTML 15Page - STMicroelectronics ST90135 Datasheet HTML 16Page - STMicroelectronics ST90135 Datasheet HTML 17Page - STMicroelectronics ST90135 Datasheet HTML 18Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 190 page
background image
14/190
ST90158 - GENERAL DESCRIPTION
I/O PORT PINS (Cont’d)
How to Configure the I/O ports
To configure the I/O ports, use the information in
Table 1, Table 2 and the Port Bit Configuration Ta-
ble in the I/O ports Chapter (See page 92).
Input Note = the hardware characteristics fixed for
each port line in Table 1.
– If Input note = TTL/CMOS, either TTL or CMOS
input level can be selected by software.
– If Input note = Schmitt trigger, selecting CMOS
or TTL input by software has no effect, the input
will always be Schmitt Trigger.
Alternate Functions (AF) = More than one AF
cannot be assigned to an I/O pin at the same time:
An alternate function can be selected as follows.
AF Inputs:
– AF is selected implicitly by enabling the corre-
sponding peripheral. Exception to this are A/D
inputs which must be explicitly selected as AF by
software.
AF Outputs or Bidirectional Lines:
– In the case of Outputs or I/Os, AF is selected
explicitly by software.
Example 1: SCI data input
AF: S0IN, Port: P9.5, Port Style: Input Schmitt
Trigger.
Write the port configuration bits:
P9C2.5=1
P9C1.5=0
P9C0.5=1
Enable the SCI peripheral by software as de-
scribed in the SCI chapter.
Example 2: SCI data output
AF: S0OUT, Port: P9.4 Output push-pull (config-
ured by software).
Write the port configuration bits:
P9C2.4=0
P9C1.4=1
P9C0.4=1
Example 3: ADC data input
AF: AIN0, Port : P7.0, Input Note: does not apply
to ADC
Write the port configuration bits:
P7C2.0=1
P7C1.0=1
P7C0.0=1
Example 4: External Memory I/O
AF: AD0, Port : P0.0
Write the port configuration bits:
P0C2.0=0
P0C1.0=1
P0C0.0=1
Table 2. I/O Port Description and Alternate Functions
Port
Name
General
Purpose I/O
Pin
No.
Alternate Functions
P0.0
All ports useable
for general pur-
pose I/O (input,
output or bidirec-
tional)
75 77 AD0
I/O Address/Data bit 0 mux
P0.1
76 78 AD1
I/O Address/Data bit 1 mux
P0.2
77 79 AD2
I/O Address/Data bit 2 mux
P0.3
78 80 AD3
I/O Address/Data bit 3 mux
P0.4
79
1
AD4
I/O Address/Data bit 4 mux
P0.5
80
2
AD5
I/O Address/Data bit 5 mux
P0.6
1
3
AD6
I/O Address/Data bit 6 mux
P0.7
3
5
AD7
I/O Address/Data bit 7 mux
P1.0
60 62 A8
I/O Address bit 8
P1.1
61 63 A9
I/O Address bit 9
P1.2
62 64 A10
I/O Address bit 10
9



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


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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