Hardware APIs

This group of libraries provides a thin and efficient C API / abstractions to access the RP2040 hardware without having to read and write hardware registers directly. More...

Modules

 hardware_adc
 Analog to Digital Converter (ADC) API.
 
 hardware_base
 Low-level types and (atomic) accessors for memory-mapped hardware registers.
 
 hardware_claim
 Lightweight hardware resource management.
 
 hardware_clocks
 Clock Management API.
 
 hardware_divider
 Low-level hardware-divider access.
 
 hardware_dma
 DMA Controller API.
 
 hardware_exception
 Methods for setting processor exception handlers.
 
 hardware_flash
 Low level flash programming and erase API.
 
 hardware_gpio
 General Purpose Input/Output (GPIO) API.
 
 hardware_i2c
 I2C Controller API.
 
 hardware_interp
 Hardware Interpolator API.
 
 hardware_irq
 Hardware interrupt handling.
 
 hardware_pio
 Programmable I/O (PIO) API.
 
 hardware_pll
 Phase Locked Loop control APIs.
 
 hardware_pwm
 Hardware Pulse Width Modulation (PWM) API.
 
 hardware_resets
 Hardware Reset API.
 
 hardware_rtc
 Hardware Real Time Clock API.
 
 hardware_spi
 Hardware SPI API.
 
 hardware_sync
 Low level hardware spin locks, barrier and processor event APIs.
 
 hardware_timer
 Low-level hardware timer API.
 
 hardware_uart
 Hardware UART API.
 
 hardware_vreg
 Voltage Regulation API.
 
 hardware_watchdog
 Hardware Watchdog Timer API.
 
 hardware_xosc
 Crystal Oscillator (XOSC) API.
 

Detailed Description

This group of libraries provides a thin and efficient C API / abstractions to access the RP2040 hardware without having to read and write hardware registers directly.