diff options
Diffstat (limited to 'firmware/src/os/power.h')
-rw-r--r-- | firmware/src/os/power.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/src/os/power.h b/firmware/src/os/power.h new file mode 100644 index 0000000..bfc6989 --- /dev/null +++ b/firmware/src/os/power.h @@ -0,0 +1,8 @@ +#ifndef _POWER_H + +static inline void cpu_idle(void) +{ + AT91F_PMC_DisablePCK(AT91C_BASE_PMC, AT91C_PMC_PCK); +} + +#endif |