#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. |
void powerMode_change | ( | ePowerState | new_mode | ) |
Change power mode of the core according to new_mode.
Pre-conditions:
Post condtions:
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) |