
This reduces current consumption from 500-1000µA to very low (<10µA) current consumption. This change is important for battery powered devices, especially devices that may be running for long periods of time.
9 строки
106 Б
Go
9 строки
106 Б
Go
// +build nrf,!softdevice
|
|
|
|
package runtime
|
|
|
|
import "device/arm"
|
|
|
|
func waitForEvents() {
|
|
arm.Asm("wfe")
|
|
}
|