| Electronic Components Datasheet Search |
|
AN2710 Datasheet(PDF) 12 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2710 Datasheet(HTML) 12 Page - STMicroelectronics |
|
12 / 30 page ![]() STR75x general-purpose I/O ports (GPIO) AN2710 12/30 2 STR75x general-purpose I/O ports (GPIO) 2.1 Functional description Each of the general-purpose I/O ports has three 32-bit configuration registers (PC0, PC1, PC2), a 32-bit Data register (PD) and a 32-bit mask register (PM). Subject to the specific hardware characteristics of each I/O port listed in the datasheet, each port bit of the general-purpose I/O (GPIO) ports, can be individually configured by firmware in several modes: ● Input floating ● Input pull-up ● Input pull-down ● Analog input ● Output open-drain ● Output push-pull ● Alternate function Each I/O port bit is freely programmable, however the I/O port registers have to be accessed as 32-bit words (half-word or byte accesses are not allowed). The purpose of the mask register is to allow atomic read/modify accesses (or bitwise write accesses) to any of the GPIO registers. In this way, there is no risk of an IRQ occurring between a read access and a modify access. Figure 7 shows the basic structure of an I/O port bit. Figure 7. Basic structure of an I/O port bit Alternate function output Alternate function input Push-pull, Open-drain or disabled Read/Write From on-chip peripheral To on-chip peripheral Output control Analog input ON/OFF Pull Pull ON/OFF I/O pin VDD_IO VDD_IO VSS VSS TTL Schmitt trigger VSS VDD_IO Protection diode Protection diode ON/OFF Input driver Output driver down up Analog ON/OFF switch AFOEN P-MOS N-MOS ai14922 |
|
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 |