mirror of
git://soft.sys114.com/klipper
synced 2026-02-13 10:00:33 +09:00
rp2040: Add initial support for the rp2040 mcu
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>
This commit is contained in:
12
src/rp2040/internal.h
Normal file
12
src/rp2040/internal.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user