Browse Source

rp2040: add CPUFrequency()

pull/2043/head
sago35 3 years ago
committed by Ron Evans
parent
commit
00c73d62ad
  1. 4
      src/machine/machine_rp2040_clocks.go

4
src/machine/machine_rp2040_clocks.go

@ -14,6 +14,10 @@ const (
MHz = 1000000
)
func CPUFrequency() uint32 {
return 125 * MHz
}
// clockIndex identifies a hardware clock
type clockIndex uint8

Loading…
Cancel
Save