[Tinyos-2-commits] CVS: tinyos-2.x/tos/interfaces AdcConfigure.nc,
1.1.2.1, 1.1.2.2
Jan-Hinrich Hauer
janhauer at users.sourceforge.net
Thu Oct 12 10:04:55 PDT 2006
Update of /cvsroot/tinyos/tinyos-2.x/tos/interfaces
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv31980/tos/interfaces
Modified Files:
Tag: tinyos-2_0_devel-BRANCH
AdcConfigure.nc
Log Message:
Added description: always return the same config and if you pass a pointer, the HIL mustn't dereference it after return.
Index: AdcConfigure.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/interfaces/Attic/AdcConfigure.nc,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** AdcConfigure.nc 9 Oct 2006 13:30:59 -0000 1.1.2.1
--- AdcConfigure.nc 12 Oct 2006 17:04:53 -0000 1.1.2.2
***************
*** 35,53 ****
/**
! * This interface is used by the ADC subsystem to retrieve a client's
! * ADC configuration.
*
! * @author Jan Hauer
! * @see Please refer to TEP 101 for more information about this
! * interface and its intended use.
*/
interface AdcConfigure<adc_config_t>
{
/**
! * Returns the ADC configuration of an ADC client.
! * <code>adc_config_t</code> is an ADC specific data type that
! * contains all information necessary to configure the respective
! * ADC hardware for a client.
*
* @return chip specific configuration.
--- 35,56 ----
/**
! * This interface is intended to be provided by an ADC client and used by the
! * ADC subsystem to retrieve the client's ADC configuration.
*
! * @author Jan Hauer
! * @see Please refer to TEP 101 for more information about this interface and
! * its intended use.
*/
interface AdcConfigure<adc_config_t>
{
+
/**
! * Returns the configuration of an ADC client. <code>adc_config_t</code> is
! * a hardware specific data type that contains all information necessary to
! * configure the respective ADC hardware for the client. A client MUST always
! * return the same configuration and, if configuration data is passed as a
! * pointer, the ADC subsystem (HIL component) MUST NOT reference it after the
! * return of this command.
*
* @return chip specific configuration.
More information about the Tinyos-2-commits
mailing list