aboutsummaryrefslogtreecommitdiffstats
path: root/src/rp2040/gpio.h
Commit message (Collapse)AuthorAgeFilesLines
* i2c: handle errors at i2ccmdsTimofey Titovets2024-10-261-3/+3
| | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* rp2040: implement I2CLasse Dalegaard2022-01-121-0/+10
| | | | | | | This implements I2C for the rp2040 target. All output groupings of both I2C blocks are available for use. Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com>
* rp2040: implement SPILasse Dalegaard2021-07-151-0/+9
| | | | | | | This implements SPI for the rp2040 target. All output groupings of both SPI blocks are available for use. Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com>
* rp2040: hardware PWM supportLasse Dalegaard2021-07-091-0/+8
| | | | | | | | | | This implements hardware PWM support for the rp2040. The maximum value(100% duty) is set to 255 to match the other controllers. Cycle time is clamped automatically, and uses the full 8.4 fractional range of the rp2040 PWM block. This allows a maximum PWM frequency of 490kHz and a minimum frequency of 1915 Hz. Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com>
* rp2040: Add initial adc supportKevin O'Connor2021-07-041-0/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rp2040: Add initial support for the rp2040 mcuKevin O'Connor2021-07-041-0/+22
Support the rp2040 (as tested on a Raspberry Pi Pico board). This adds basic uart, timer, gpio, and watchdog support. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>