データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

STM8S データシート(PDF) 106 Page - STMicroelectronics

部品番号 STM8S
部品情報  STM8S Series and STM8AF Series 8-bit microcontrollers
PDF  467 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  STMICROELECTRONICS [STMicroelectronics]
ホームページ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM8S データシート(HTML) 106 Page - STMicroelectronics

Back Button STM8S Datasheet HTML 102Page - STMicroelectronics STM8S Datasheet HTML 103Page - STMicroelectronics STM8S Datasheet HTML 104Page - STMicroelectronics STM8S Datasheet HTML 105Page - STMicroelectronics STM8S Datasheet HTML 106Page - STMicroelectronics STM8S Datasheet HTML 107Page - STMicroelectronics STM8S Datasheet HTML 108Page - STMicroelectronics STM8S Datasheet HTML 109Page - STMicroelectronics STM8S Datasheet HTML 110Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 106 / 467 page
background image
General purpose I/O ports (GPIO)
RM0016
106/467
DocID14587 Rev 14
Figure 24. GPIO block diagram
Note:
The output stage is disabled when the analog input is selected.
11.3
Port configuration and usage
An output data register (ODR), pin input register (IDR), data direction register (DDR) are
always associated with each port.
The control register 1 (CR1) and control register 2 (CR2) allow input/output options. An I/O
pin is programmed using the corresponding bits in the DDR, ODR, CR1 and CR2 registers.
Bit n in the registers corresponds to pin n of the Port.
The various configurations are summarized in Table 21.
ODR REGISTER
DDR REGISTER
CR1 REGISTER
PIN
VDD
ALTERNATE
ENABLE
ALTERNATE
OUTPUT
1
0
PULL-UP
CONDITION
P-BUFFER
N-BUFFER
PULL-UP
ALTERNATE FUNCTION
INPUT TO ON-CHIP
VDD
DIODES
FROM
OTHER
BITS
EXTERNAL
TO INTERRUPT
INTERRUPT
CR2 REGISTER
PERIPHERAL
CONTROLLER
SLOPE
CONTROL
IDR REGISTER
(Read only)
OUTPUT
INPUT
PAD
PROTECTION
On/Off
Schmitt
trigger
Analog input
ai17840



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



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