2.19. GPIO: Unterschied zwischen den Versionen

Aus Micropython Referenz
Zur Navigation springen Zur Suche springen
Zeile 16: Zeile 16:
<br>
<br>
Die Benutzer-GPIO-Bank unterstützt die folgenden Funktionen:
Die Benutzer-GPIO-Bank unterstützt die folgenden Funktionen:
* Software control via SIO (Single-Cycle IO) - Section 2.3.1.2, “GPIO Control”
* Programmable IO (PIO) - Chapter 3, PIO
* 2 × SPI - Section 4.4, “SPI”
* 2 × UART - Section 4.2, “UART”
* 2 × I2C (two-wire serial interface) - Section 4.3, “I2C”
* 8 × two-channel PWM - Section 4.5, “PWM”
* 2 × external clock inputs - Section 2.15.2.3, “External Clocks”
* 4 × general purpose clock output - Section 2.15, “Clocks”
* 4 × input to ADC - Section 4.9, “ADC and Temperature Sensor”
* USB VBUS management - Section 4.1.2.8, “VBUS Control”
* External interrupt requests, level or edge-sensitive
Die QSPI Bank unterstützt die folgenden Funktionen:
* Software control via SIO (Single-Cycle IO) - Section 2.3.1.2, “GPIO Control”
* Flash execute in place (XIP) - Section 2.6.3, “Flash”


== Function Select ==
== Function Select ==

Version vom 18. Juli 2024, 18:47 Uhr

Hier geht es um die Programmierung der GPIO's

Inhalt dieser Seite

2.19.1. Overview
2.19.2. Function Select
2.19.3. Interrupts
2.19.4. Pads
2.19.5. Software Examples
2.19.6. List of Registers

Overview

Der RP2040 hat 36 multifunktionale General Purpose Input / Output (GPIO) Pins, aufgeteilt in zwei Bänke.
Davon stehen 30 als User-Bank GPIO0 - GPIO29 zur allgemeinen Verwendung zur Verfügung. Die übrigen 6 bilden die QSPI Schnittstelle zur Ansteuerung von externen Speichern.
Alle GPIOs unterstützen digitale Ein- und Ausgänge, aber GPIO26 bis GPIO29 können auch als Eingänge für den Analog-Digital-Wandler (ADC) des Chips verwendet werden.
Jeder GPIO kann direkt von der auf den Prozessoren laufenden Software oder von einer Reihe anderer Funktionsblöcke gesteuert werden.
Die Benutzer-GPIO-Bank unterstützt die folgenden Funktionen:

  • Software control via SIO (Single-Cycle IO) - Section 2.3.1.2, “GPIO Control”
  • Programmable IO (PIO) - Chapter 3, PIO
  • 2 × SPI - Section 4.4, “SPI”
  • 2 × UART - Section 4.2, “UART”
  • 2 × I2C (two-wire serial interface) - Section 4.3, “I2C”
  • 8 × two-channel PWM - Section 4.5, “PWM”
  • 2 × external clock inputs - Section 2.15.2.3, “External Clocks”
  • 4 × general purpose clock output - Section 2.15, “Clocks”
  • 4 × input to ADC - Section 4.9, “ADC and Temperature Sensor”
  • USB VBUS management - Section 4.1.2.8, “VBUS Control”
  • External interrupt requests, level or edge-sensitive

Die QSPI Bank unterstützt die folgenden Funktionen:

  • Software control via SIO (Single-Cycle IO) - Section 2.3.1.2, “GPIO Control”
  • Flash execute in place (XIP) - Section 2.6.3, “Flash”

Function Select

Interrupts

Pads

Software Examples

List of Registers

Navigation

zurück zu The_Core_-_RP2040
zurück zu Raspberry_Pi_Pico_-_RP2040
zurück zu Microcontroller
Zurück zur Hauptseite