summaryrefslogtreecommitdiff
path: root/digital/beacon/src/Bitcloud_stack/Components/BSP/MESHBEAN/include/pwrCtrl.h
blob: 6a25e9424c2626e3c53f5dbfa20b631821ddd5ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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