src/power_mode.c File Reference

#include <power_mode.h>
#include "sys/pll.h"
#include "tll_config.h"

Include dependency graph for power_mode.c:


Functions

void powerMode_change (ePowerState new_mode)
 Change power mode of the core according to new_mode.

Function Documentation

void powerMode_change ( ePowerState  new_mode  ) 

Change power mode of the core according to new_mode.

Pre-conditions:

Post condtions:

Parameters:

Parameters:
new_mode PWR_FULL_ON, // run at full frequency (e.g. 600MHz) PWR_ACTIVE, // bypass and run core at system feq (e.g. 100MHz) PWR_SLEEP // stop core clock (but wake up on int or wakeup)
Returns:
void


Generated on 3 Mar 2014 for PAL bare-c Library by  doxygen 1.4.7