mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-21 12:59:04 +00:00
rp2040: add CPUFrequency()
This commit is contained in:
@@ -14,6 +14,10 @@ const (
|
|||||||
MHz = 1000000
|
MHz = 1000000
|
||||||
)
|
)
|
||||||
|
|
||||||
|
func CPUFrequency() uint32 {
|
||||||
|
return 125 * MHz
|
||||||
|
}
|
||||||
|
|
||||||
// clockIndex identifies a hardware clock
|
// clockIndex identifies a hardware clock
|
||||||
type clockIndex uint8
|
type clockIndex uint8
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user