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

X  

CD00001237 数据表(PDF) 42 Page - STMicroelectronics

部件名 CD00001237
功能描述  8-bit MCUs with A/D converter
PDF  105 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

CD00001237 数据表(HTML) 42 Page - STMicroelectronics

Back Button CD00001237 Datasheet HTML 38Page - STMicroelectronics CD00001237 Datasheet HTML 39Page - STMicroelectronics CD00001237 Datasheet HTML 40Page - STMicroelectronics CD00001237 Datasheet HTML 41Page - STMicroelectronics CD00001237 Datasheet HTML 42Page - STMicroelectronics CD00001237 Datasheet HTML 43Page - STMicroelectronics CD00001237 Datasheet HTML 44Page - STMicroelectronics CD00001237 Datasheet HTML 45Page - STMicroelectronics CD00001237 Datasheet HTML 46Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 42 / 105 page
background image
ST6215C ST6225C
42/105
I/O PORTS (Cont’d)
8.5 REGISTER DESCRIPTION
DATA REGISTER (DR)
Port x Data Register
DRx with x = A, B or C.
Addresses 0C0h, 0C1h and 0C2h- Read/Write
Reset Value: 0000 0000 (00h)
Bits 7:0 = DR[7:0] Data register bits.
Reading the DR register returns either the DR reg-
ister latch content (pin configured as output) or the
digital value applied to the I/O pin (pin configured
as input).
Caution: In input mode, modifying this register will
modify the I/O port configuration (see Table 8).
Do not use the Single bit instructions on I/O port
data registers. See (Section 8.2.5).
DATA DIRECTION REGISTER (DDR)
Port x Data Direction Register
DDRx with x = A, B or C.
Addresses: 0C4h, 0C5h and 0C6h - Read/Write
Reset Value: 0000 0000 (00h)
Bits 7:0 = DDR[7:0] Data direction register bits.
The DDR register gives the input/output direction
configuration of the pins. Each bit is set and
cleared by software.
0: Input mode
1: Output mode
OPTION REGISTER (OR)
Port x Option Register
ORx with x = A, B or C.
Addresses: 0CCh, 0CDh and 0CEh - Read/Write
Reset Value: 0000 0000 (00h)
Bits 7:0 = OR[7:0] Option register bits.
The OR register allows to distinguish in output
mode if the push-pull or open drain configuration is
selected.
Output mode:
0: Open drain output(with P-Buffer deactivated)
1: Push-pull Output
Input mode: See Table 8.
Each bit is set and cleared by software.
Caution: Modifying this register, will also modify
the I/O port configuration in input mode. (see Ta-
ble 8).
Table 10. I/O Port Register Map and Reset Values
70
DR7
DR6
DR5
DR4
DR3
DR2
DR1
DR0
70
DDR7 DDR6 DDR5 DDR4 DDR3 DDR2 DDR1 DDR0
70
OR7
OR6
OR5
OR4
OR3
OR2
OR1
OR0
Address
(Hex.)
Register
Label
765
4321
0
Reset Value
of all I/O port registers
000
0000
0
0C0h
DRA
MSB
LSB
0C1h
DRB
0C2h
DRC
0C4h
DDRA
MSB
LSB
0C5h
DDRB
0C6h
DDRC
0CCh
ORA
MSB
LSB
0CDh
ORB
0CEh
ORC
1



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