nes-proj/cpu
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
..
6502 Saved six more bytes ;-) 2013-11-13 23:32:49 +01:00
arm Makefile.include: support make clean all 2013-06-20 17:45:41 -05:00
avr cpu/avr/radio/rf230bb/rf230bb.c (rf230_transmit): extend comment on tx sequence 2013-07-28 18:43:29 -03:00
cc253x Fix cc2530 UART1 init bug 2013-08-09 16:09:12 +01:00
cc2430 Disable SDCC warnings 110 and 126 2013-08-09 15:57:49 +01:00
cc2538 cc2538: lpm: Add registration mechanism for peripherals 2013-11-15 17:09:22 +01:00
mc1322x mc1322x: make uart buffer sizes configurable from contiki-conf.h 2013-07-04 14:09:40 -04:00
msp430 Makefile.include: support make clean all 2013-06-20 17:45:41 -05:00
native Several minor consistency improvements. 2013-07-31 00:55:31 +02:00
pic32 pic32 minor cleanups 2013-05-17 14:32:39 +02:00
stm32w108 Better error message in case of wrong CPUREV value 2013-10-17 12:33:36 +02:00
x86 avoid unnecessary symbols.c/h copying 2012-03-26 23:00:43 +02:00
z80 Makefile.include: support make clean all 2013-06-20 17:45:41 -05:00