mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-16 18:53:29 +00:00
machine/rp2350: extending support to include the rp2350b
This commit is contained in:
@@ -13,12 +13,6 @@ func CPUFrequency() uint32 {
|
||||
return 125 * MHz
|
||||
}
|
||||
|
||||
// Returns the period of a clock cycle for the raspberry pi pico in nanoseconds.
|
||||
// Used in PWM API.
|
||||
func cpuPeriod() uint32 {
|
||||
return 1e9 / CPUFrequency()
|
||||
}
|
||||
|
||||
// clockIndex identifies a hardware clock
|
||||
type clockIndex uint8
|
||||
|
||||
|
||||
Reference in New Issue
Block a user