mirror of
https://github.com/andreili/klipper.git
synced 2025-08-24 03:44:06 +02:00
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>
13 lines
326 B
C
13 lines
326 B
C
#ifndef __RP2040_INTERNAL_H
|
|
#define __RP2040_INTERNAL_H
|
|
// Local definitions for rp2040
|
|
|
|
#include "RP2040.h"
|
|
|
|
void enable_pclock(uint32_t reset_bit);
|
|
int is_enabled_pclock(uint32_t reset_bit);
|
|
uint32_t get_pclock_frequency(uint32_t reset_bit);
|
|
void gpio_peripheral(uint32_t gpio, int func, int pull_up);
|
|
|
|
#endif // internal.h
|