osd-contiki/cpu/cc2538
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
..
dev Set peripheral mode for the correct UART TX/RX pins 2013-09-30 14:50:39 +01:00
usb Improve handling of CDC ACM line state 2013-04-16 15:49:05 +01:00
cc2538.lds New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
clock.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
cpu.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
cpu.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
dbg.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
dbg.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
debug-uart.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
ieee-addr.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
ieee-addr.h Change the InfoPage Location of the IEEE address 2013-04-17 15:44:01 +01:00
lpm.c cc2538: lpm: Add registration mechanism for peripherals 2013-11-15 17:09:22 +01:00
lpm.h cc2538: lpm: Add registration mechanism for peripherals 2013-11-15 17:09:22 +01:00
Makefile.cc2538 Added SPI driver for CC2538 2013-09-27 17:46:15 -04:00
mtarch.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
reg.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
rtimer-arch.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
rtimer-arch.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
slip-arch.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
spi-arch.h Added SPI driver for CC2538 2013-09-27 17:46:15 -04:00