summaryrefslogtreecommitdiff
path: root/digital/zigbit/bitcloud/stack/Components/BSP/MESHBEAN/include/pwrCtrl.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/zigbit/bitcloud/stack/Components/BSP/MESHBEAN/include/pwrCtrl.h')
-rw-r--r--digital/zigbit/bitcloud/stack/Components/BSP/MESHBEAN/include/pwrCtrl.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/digital/zigbit/bitcloud/stack/Components/BSP/MESHBEAN/include/pwrCtrl.h b/digital/zigbit/bitcloud/stack/Components/BSP/MESHBEAN/include/pwrCtrl.h
new file mode 100644
index 00000000..6a25e942
--- /dev/null
+++ b/digital/zigbit/bitcloud/stack/Components/BSP/MESHBEAN/include/pwrCtrl.h
@@ -0,0 +1,47 @@
+/**************************************************************************//**
+\file pwrCtrl.h
+
+\brief Interface to the power control module.
+
+\author
+ Atmel Corporation: http://www.atmel.com \n
+ Support email: avr@atmel.com
+
+ Copyright (c) 2008-2011, Atmel Corporation. All rights reserved.
+ Licensed under Atmel's Limited License Agreement (BitCloudTM).
+
+\internal
+ History:
+ 29/05/07 E. Ivanov - Created
+*******************************************************************************/
+
+#ifndef _POWERCTRL_H
+#define _POWERCTRL_H
+
+/******************************************************************************
+ Includes section
+******************************************************************************/
+#include <types.h>
+
+/******************************************************************************
+ Prototypes section
+******************************************************************************/
+/**************************************************************************//**
+\brief Powers on periphery.
+
+\param[in]
+ id - number of periphery
+******************************************************************************/
+void bspOnPeriphery(uint8_t id);
+
+/**************************************************************************//**
+\brief Powers off periphery.
+
+\param[in]
+ id - number of periphery
+******************************************************************************/
+void bspOffPeriphery(uint8_t id);
+
+#endif /* _POWERCTRL_H */
+// eof pwrCtrl.h
+