Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

RM0312 Datasheet(PDF) 80 Page - STMicroelectronics

Part # RM0312
Description  STM8TL5xxx microcontroller family
PDF  275 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

RM0312 Datasheet(HTML) 80 Page - STMicroelectronics

Back Button RM0312 Datasheet HTML 76Page - STMicroelectronics RM0312 Datasheet HTML 77Page - STMicroelectronics RM0312 Datasheet HTML 78Page - STMicroelectronics RM0312 Datasheet HTML 79Page - STMicroelectronics RM0312 Datasheet HTML 80Page - STMicroelectronics RM0312 Datasheet HTML 81Page - STMicroelectronics RM0312 Datasheet HTML 82Page - STMicroelectronics RM0312 Datasheet HTML 83Page - STMicroelectronics RM0312 Datasheet HTML 84Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 80 / 275 page
background image
General purpose I/O ports (GPIO)
RM0312
80/275
DocID022352 Rev 3
10.9
GPIO registers
The bit of each port register drives the corresponding pin of the port.
10.9.1
Port x output data register (Px_ODR)
Address offset: 0x00
Reset value: 0x00
10.9.2
Port x pin input register (Px_IDR)
Address offset: 0x01
Reset value: 0xXX
Note:
Px_IDR reset value depends on the external circuitry.
7
654
3210
ODR7
ODR6
ODR5
ODR4
ODR3
ODR2
ODR1
ODR0
rw
rw
rw
rw
rw
rw
rw
rw
Bits 7:0 ODR[7:0]: Output data register bits
Writing to the ODR register when in output mode applies a digital value to the I/O through the latch.
Reading the ODR returns the previously latched value in the register.
In Input mode, writing in the ODR register, latches the value in the register but does not change the
pin state. The ODR register is always cleared after reset. Bit read-modify-write instructions (BSET,
BRST) can be used on the DR register to drive an individual pin without affecting the others.
7
654
3210
IDR7
IDR6
IDR5
IDR4
IDR3
IDR2
IDR1
IDR0
r
rrr
rrrr
Bits 7:0 IDR[7:0]: Pin input values
The pin register can be used to read the pin value irrespective of whether port is in input or output
mode. This register is read-only.
0: Low logic level
1: High logic level



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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