| Electronic Components Datasheet Search |
|
RM0312 Datasheet(PDF) 76 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
RM0312 Datasheet(HTML) 76 Page - STMicroelectronics |
|
76 / 275 page ![]() General purpose I/O ports (GPIO) RM0312 76/275 DocID022352 Rev 3 10.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 19. Figure 13. GPIO block diagram ODR REGISTER DDR REGISTER CR1 REGISTER PIN VDD ALTERNATE ENABLE ALTERNATE OUTPUT 1 0 PULL-UP CONDITION P-BUFFER (see table below) N-BUFFER PULL-UP (see table below) ALTERNATE FUNCTION INPUT TO ON-CHIP VDD DIODES (see table below) FROM OTHER BITS EXTERNAL TO INTERRUPT INTERRUPT CR2 REGISTER PERIPHERAL CONTROLLER SLOPE CONTROL IDR REGISTER (Read only) OUTPUT INPUT PAD PROTECTION |
|
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 |
| 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 |