NuttShell (NSH) NuttX-9.0.0
nsh> alarm -a 0 100
alarm_daemon started
alarm_daemon: Running
Opening /dev/rtc0
Alarm 0 set in 100 seconds
nsh> stm32_idlepm: newstate= 1 oldstate=0
stm32_idlepm: idle
nsh> stm32_idlepm: newstate= 0 oldstate=1
stm32_idlepm: normal
stm32_idlepm: newstate= 1 oldstate=0
stm32_idlepm: idle
alarm_demon: alarm 0 received
stm32_idlepm: newstate= 0 oldstate=1
stm32_idlepm: normal
stm32_idlepm: newstate= 1 oldstate=0
stm32_idlepm: idle
stm32_idlepm: newstate= 2 oldstate=1
stm32_idlepm: standby
Like this:
Like Loading...