The official git repository for OSD-Contiki, the open source OS for the Internet of Things
Find a file
Benoît Thébaudeau d35732505b cc2538: lpm: Add registration mechanism for peripherals
Some peripherals have their clocks automatically gated in PM1+ modes, so they
cannot operate. This new mechanism gives peripherals a way to prohibit PM1+
modes so that they can properly complete their current operations before
entering PM1+.

This mechanism is implemented with peripheral functions registered to the LPM
module. These functions return whether the associated peripheral permits or not
PM1+ modes. They are called by the LPM module each time PM1+ might be possible.
If any of the peripherals wants to block PM1+, then the system is only dropped
to PM0.

Partly from: George Oikonomou
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
2013-11-15 17:09:22 +01:00
apps Reverted commit below as the cc65 bug in question is fixed. 2013-10-08 22:42:41 +02:00
core Merge pull request #350 from AriZuu/udp-stats-fix 2013-11-14 23:39:16 -08:00
cpu cc2538: lpm: Add registration mechanism for peripherals 2013-11-15 17:09:22 +01:00
doc Merge pull request #250 from karlp/kill-bad-docs 2013-05-22 06:52:50 -07:00
examples fixed a C error "della madonna" 2013-10-23 15:21:07 +02:00
platform cc2538: lpm: Add registration mechanism for peripherals 2013-11-15 17:09:22 +01:00
regression-tests Move simulation execution from Makefile to Bash script; show Progress 2013-11-11 08:18:35 +01:00
tools Merge pull request #375 from vsaw/tmp-uncrustify-changed 2013-11-14 12:30:09 -08:00
.gitignore Adjustments for the switch from 'atari' to 'atarixl'. 2013-10-03 23:54:33 +02:00
.gitmodules Added mspsim as a submodule instead of as a binary mspsim.jar file 2013-11-07 17:28:50 +01:00
.travis.yml Disable the IPv4 travis job 2013-08-30 10:39:59 +01:00
LICENSE Removed the explicit year 2012 to make it more generic 2012-10-25 23:08:54 +02:00
Makefile.include Makefile.include (clean): ignore rm -f failing (e.g., on "core") 2013-11-13 17:15:46 -03:00
README-BUILDING.md Rename to md 2013-03-26 23:15:37 +01:00
README-EXAMPLES.md Several minor consistency improvements. 2013-07-31 00:55:31 +02:00
README.md Rename to md 2013-03-26 23:15:37 +01:00

The Contiki Operating System

Build Status

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:

http://contiki-os.org