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