Adafruit CircuitPython

API and Usage

  • Core Modules
  • Standard Libraries
  • Supported Ports
    • Analog Devices “MAX32” MCUs
    • SAMD21 and SAMD51
    • Broadcom
    • CXD56 (Spresense)
    • Espressif
    • LiteX (FPGA)
    • NXP i.MX RT10xx Series
    • Nordic Semiconductor nRF52 Series
    • RP2040
      • Building
      • Port Specific modules
        • cyw43 – A class that represents a GPIO pin attached to the wifi chip.
        • picodvi – Low-level routines for interacting with PicoDVI Output
        • rp2pio – Hardware interface to RP2 series’ programmable IO (PIO) peripheral.
    • Renode
    • Silicon Labs EFR32
    • ST Microelectronics STM32
    • MicroPython Unix port
    • Zephyr
  • Troubleshooting
  • Adafruit CircuitPython Libraries
  • CircuitPython Library Bundles
  • Workflows
  • Environment Variables

Design and porting reference

  • Design Guide
  • Architecture
  • Porting
  • Adding *io support to other ports
  • Glossary

About the project

  • CircuitPython
  • Contributing
  • Building CircuitPython
  • Adafruit Community Code of Conduct
  • MicroPython & CircuitPython License
  • WebUSB Serial Support
Adafruit CircuitPython
  • Supported Ports
  • RP2040

RP2040

This port supports many development boards that utilize RP2040 chips. See https://circuitpython.org/downloads for all supported boards.

Building

For build instructions see this guide: https://learn.adafruit.com/building-circuitpython/

Port Specific modules

  • cyw43 – A class that represents a GPIO pin attached to the wifi chip.
    • CywPin
    • PM_STANDARD
    • PM_AGGRESSIVE
    • PM_PERFORMANCE
    • PM_DISABLED
    • set_power_management()
    • get_power_management()
  • picodvi – Low-level routines for interacting with PicoDVI Output
    • Framebuffer
      • Framebuffer.deinit()
      • Framebuffer.width
      • Framebuffer.height
      • Framebuffer.color_depth
  • rp2pio – Hardware interface to RP2 series’ programmable IO (PIO) peripheral.
    • pins_are_sequential()
    • FifoType
    • FifoType_piov0
    • MovStatusType
    • MovStatusType_piov0
    • StateMachine
      • StateMachine.deinit()
      • StateMachine.__enter__()
      • StateMachine.__exit__()
      • StateMachine.restart()
      • StateMachine.run()
      • StateMachine.stop()
      • StateMachine.write()
      • StateMachine.background_write()
      • StateMachine.stop_background_write()
      • StateMachine.writing
      • StateMachine.pending_write
      • StateMachine.pending
      • StateMachine.background_read()
      • StateMachine.stop_background_read()
      • StateMachine.reading
      • StateMachine.pending_read
      • StateMachine.readinto()
      • StateMachine.write_readinto()
      • StateMachine.clear_rxfifo()
      • StateMachine.clear_txstall()
      • StateMachine.frequency
      • StateMachine.txstall
      • StateMachine.rxstall
      • StateMachine.in_waiting
      • StateMachine.offset
      • StateMachine.pc
      • StateMachine.rxfifo
      • StateMachine.last_read
      • StateMachine.last_write
Previous Next

© Copyright 2014-2026, MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors). Last updated on 08 May 2026.

Built with Sphinx using a theme provided by Read the Docs.