summaryrefslogtreecommitdiff
path: root/digital/zigbit/bitcloud/stack/Components/MAC_PHY/MAC_HWD_PHY/include/machwdBatMon.h
blob: 240228f9ffaec972d1b7295a3c50b950bdc42e6a (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
48
49
50
/**************************************************************************//**
  \file machwdBatMon.h
  
  \brief Prototypes of battery monitor functions and corresponding types.
  
  \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:     
      16/04/08 A. Mandychev - Created.
******************************************************************************/

#ifndef _MACHWDBATMON_H
#define _MACHWDBATMON_H

/******************************************************************************
                    Includes section
******************************************************************************/
#include <rfBattery.h>

/******************************************************************************
                    Define(s) section
******************************************************************************/
//! Redefenition of battery request function name.
#define MACHWD_BatMonReq RF_BatteryMonReq

/******************************************************************************
                    Types section
******************************************************************************/
//! Redefenition of battery request structure. 
typedef RF_BatteryMonReq_t MACHWD_BatMonReq_t;

/******************************************************************************
                    Prototypes section
******************************************************************************/
/**************************************************************************//**
  \brief Sets battery monitor voltage.
  \param reqParams - request parameters structure pointer.
  \return none.
******************************************************************************/
void MACHWD_BatMonReq(MACHWD_BatMonReq_t *reqParams);

#endif /*_MACHWDBATMON_H*/

// eof machwdBatMon.h