summaryrefslogtreecommitdiff
path: root/digital/beacon/src/Bitcloud_stack/Components/BSP/MESHBEAN/include/pwrCtrl.h
diff options
context:
space:
mode:
authorFlorent Duchon2012-03-18 12:22:02 +0100
committerFlorent Duchon2012-03-18 16:30:37 +0100
commita54ad9edce697133a024aff096e50f7e4f389d5b (patch)
tree9b87c5f8fce3fc0127a2e36b8a809508c1a3298b /digital/beacon/src/Bitcloud_stack/Components/BSP/MESHBEAN/include/pwrCtrl.h
parent8ac7f52728a8ec2a09a6eeebc3cf5d4afff9b485 (diff)
digital/beacon: import Zigbit stack (bitcloud) & avr sources
Diffstat (limited to 'digital/beacon/src/Bitcloud_stack/Components/BSP/MESHBEAN/include/pwrCtrl.h')
-rw-r--r--digital/beacon/src/Bitcloud_stack/Components/BSP/MESHBEAN/include/pwrCtrl.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/digital/beacon/src/Bitcloud_stack/Components/BSP/MESHBEAN/include/pwrCtrl.h b/digital/beacon/src/Bitcloud_stack/Components/BSP/MESHBEAN/include/pwrCtrl.h
new file mode 100644
index 00000000..6a25e942
--- /dev/null
+++ b/digital/beacon/src/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
+