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

X  

PSD211R 数据表(PDF) 15 Page - STMicroelectronics

部件名 PSD211R
功能描述  Low Cost Field Programmable Microcontroller Peripherals
PDF  51 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

PSD211R 数据表(HTML) 15 Page - STMicroelectronics

Back Button PSD211R Datasheet HTML 11Page - STMicroelectronics PSD211R Datasheet HTML 12Page - STMicroelectronics PSD211R Datasheet HTML 13Page - STMicroelectronics PSD211R Datasheet HTML 14Page - STMicroelectronics PSD211R Datasheet HTML 15Page - STMicroelectronics PSD211R Datasheet HTML 16Page - STMicroelectronics PSD211R Datasheet HTML 17Page - STMicroelectronics PSD211R Datasheet HTML 18Page - STMicroelectronics PSD211R Datasheet HTML 19Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 15 / 51 page
background image
PSD211R Family
12
10.0
I/O Port
Functions
The PSD211R has three I/O ports (Ports A, B, and C) that are configurable at the bit level.
This permits great flexibility and a high degree of customization for specific applications.
The next section describes the control registers for the ports. Following that are sections
that describe each port. Figures 5 through 7 show the structure of Ports A through C,
respectively.
Note: any unused inputs should be connected directly to ground or pulled up to VCC (using
a 10K
Ω to 100KΩ resistor).
10.1 CSIOPORT Registers
Control of the ports is primarily handled through the CSIOPORT registers. There are 24
bytes in the address space, starting at the base address labeled CSIOPORT. Since the
PSD211R uses internal address lines A15-A11 for decoding, the CSIOPORT space
will occupy 2 Kbytes of memory, on a 2 Kbyte boundary. This resolution can be improved
to reduce wasted address space by connecting lower order address lines (A10 and below)
to Port C. Using this method, resolution down to 256 Kbytes may be achieved. The
CSIOPORT space must be defined in your PSDsoft design file. The following tables list
the registers located in the CSIOPORT space.
Table 5. CSIOPORT Registers for 8-Bit Data Busses
NOTE: 1. ZPSD only.
Offset (in hex)
Type of
from CSIOPORT
Access
Register Name
Base Address
Allowed
Port A Pin Register
+2
Read
Port A Direction Register
+4
Read/Write
Port A Data Register
+6
Read/Write
Port B Pin Register
+3
Read
Port B Direction Register
+5
Read/Write
Port B Data Register
+7
Read/Write
Power Management Register (Note 1)
+10
Read/Write
10.2 Port A (PA0-PA7)
MCU I/O Mode
The default configuration of Port A is MCU I/O. In this mode, every pin can be set
(at run-time) as an input or output by writing to the respective pin’s direction flip-flop
(DIR FF, Figure 5). As an output, the pin level can be controlled by writing to the respective
pin’s data flip-flop (DFF, Figure 5A). The Pin Register can be read to determine logic level
of the pin. The contents of the pin register indicate the true state of the PSD driving the pin
through the DFF or an external source driving the pin.



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


数据表 下载

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