From b24866225a6301d3a663f874725e83c012dc25d3 Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Wed, 26 Dec 2012 17:36:00 +0100 Subject: digital/beacon: add bitcloud stack into common directory digital/zigbit --- .../MAC_PHY/MAC_HWD_PHY/include/machwdBatMon.h | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 digital/zigbit/bitcloud/stack/Components/MAC_PHY/MAC_HWD_PHY/include/machwdBatMon.h (limited to 'digital/zigbit/bitcloud/stack/Components/MAC_PHY/MAC_HWD_PHY/include/machwdBatMon.h') diff --git a/digital/zigbit/bitcloud/stack/Components/MAC_PHY/MAC_HWD_PHY/include/machwdBatMon.h b/digital/zigbit/bitcloud/stack/Components/MAC_PHY/MAC_HWD_PHY/include/machwdBatMon.h new file mode 100644 index 00000000..240228f9 --- /dev/null +++ b/digital/zigbit/bitcloud/stack/Components/MAC_PHY/MAC_HWD_PHY/include/machwdBatMon.h @@ -0,0 +1,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 + +/****************************************************************************** + 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 -- cgit v1.2.3