28a563a24b
During PM1+, the hardware timer used to implement the Contiki clock is frozen, so clock_adjust() needs to be called when exiting those modes in order to compensate for the clock ticks missed while the timer was frozen. Doing so changes the Contiki clock time, so etimer_request_poll() needs to be called in order to inform the etimer library that an etimer might have expired. Note that waiting for the next clock ISR to call etimer_request_poll() is unreliable because the system might go back to sleep beforehand. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> |
||
---|---|---|
apps | ||
core | ||
cpu | ||
doc | ||
examples | ||
platform | ||
regression-tests | ||
tools | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
LICENSE | ||
Makefile.include | ||
README-BUILDING.md | ||
README-EXAMPLES.md | ||
README.md |
The Contiki Operating System
Contiki is an open source operating system that runs on tiny low-power microcontrollers and makes it possible to develop applications that make efficient use of the hardware while providing standardized low-power wireless communication for a range of hardware platforms.
Contiki is used in numerous commercial and non-commercial systems, such as city sound monitoring, street lights, networked electrical power meters, industrial monitoring, radiation monitoring, construction site monitoring, alarm systems, remote house monitoring, and so on.
For more information, see the Contiki website: