[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/msp430/sensors
Msp430InternalTemperatureC.nc, 1.1.2.3,
1.1.2.4 Msp430InternalTemperatureP.nc, 1.1.2.3,
1.1.2.4 Msp430InternalVoltageC.nc, 1.1.2.4,
1.1.2.5 Msp430InternalVoltageP.nc, 1.1.2.4, 1.1.2.5
Jan-Hinrich Hauer
janhauer at users.sourceforge.net
Mon Oct 9 06:26:39 PDT 2006
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/msp430/adc12 AdcP.nc,
NONE, 1.1.2.1 Msp430Adc12ClientAutoDMAC.nc, NONE,
1.1.2.1 Msp430Adc12ClientAutoDMA_RVGC.nc, NONE,
1.1.2.1 Msp430Adc12ClientAutoRVGC.nc, NONE,
1.1.2.1 Msp430Adc12DMAP.nc, NONE, 1.1.2.1 Msp430Adc12ImplP.nc,
NONE, 1.1.2.1 Msp430RefVoltArbiterImplP.nc, NONE,
1.1.2.1 README.txt, NONE, 1.1.2.1 AdcReadClientC.nc, 1.1.2.5,
1.1.2.6 AdcReadNowClientC.nc, 1.1.2.5,
1.1.2.6 AdcReadStreamClientC.nc, 1.1.2.4, 1.1.2.5 HplAdc12.nc,
1.1.2.4, 1.1.2.5 HplAdc12P.nc, 1.1.2.2, 1.1.2.3 Msp430Adc12.h,
1.1.2.6, 1.1.2.7 Msp430Adc12ClientC.nc, 1.1.2.5,
1.1.2.6 Msp430Adc12P.nc, 1.1.2.9,
1.1.2.10 Msp430Adc12SingleChannel.nc, 1.1.2.6,
1.1.2.7 Msp430RefVoltArbiterP.nc, 1.1.2.7,
1.1.2.8 Msp430RefVoltGeneratorP.nc, 1.1.2.2, 1.1.2.3 AdcC.nc,
1.1.2.16, NONE Msp430Adc12C.nc, 1.1.2.10,
NONE Msp430Adc12Config.nc, 1.1.2.4,
NONE Msp430Adc12FastClientC.nc, 1.1.2.1,
NONE Msp430Adc12FastSingleChannel.nc, 1.1.2.1,
NONE Msp430Adc12RefVoltAutoClientC.nc, 1.1.2.3,
NONE Msp430RefVoltArbiterC.nc, 1.1.2.3, NONE
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/interfaces AdcConfigure.nc,
NONE, 1.1.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/sensors
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv19381/tos/chips/msp430/sensors
Modified Files:
Tag: tinyos-2_0_devel-BRANCH
Msp430InternalTemperatureC.nc Msp430InternalTemperatureP.nc
Msp430InternalVoltageC.nc Msp430InternalVoltageP.nc
Log Message:
Now provides the new AdcConfigure interface.
Index: Msp430InternalTemperatureC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/sensors/Msp430InternalTemperatureC.nc,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** Msp430InternalTemperatureC.nc 20 Jun 2006 18:56:05 -0000 1.1.2.3
--- Msp430InternalTemperatureC.nc 9 Oct 2006 13:26:36 -0000 1.1.2.4
***************
*** 54,58 ****
components Msp430InternalTemperatureP;
! AdcReadClientC.Msp430Adc12Config -> Msp430InternalTemperatureP;
! AdcReadStreamClientC.Msp430Adc12Config -> Msp430InternalTemperatureP;
}
--- 54,58 ----
components Msp430InternalTemperatureP;
! AdcReadClientC.AdcConfigure -> Msp430InternalTemperatureP;
! AdcReadStreamClientC.AdcConfigure -> Msp430InternalTemperatureP;
}
Index: Msp430InternalTemperatureP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/sensors/Msp430InternalTemperatureP.nc,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** Msp430InternalTemperatureP.nc 20 Jun 2006 18:56:05 -0000 1.1.2.3
--- Msp430InternalTemperatureP.nc 9 Oct 2006 13:26:37 -0000 1.1.2.4
***************
*** 33,42 ****
module Msp430InternalTemperatureP {
! provides interface Msp430Adc12Config;
}
implementation {
! async command msp430adc12_channel_config_t Msp430Adc12Config.getChannelSettings() {
! msp430adc12_channel_config_t config = {
inch: TEMPERATURE_DIODE_CHANNEL,
sref: REFERENCE_VREFplus_AVss,
--- 33,41 ----
module Msp430InternalTemperatureP {
! provides interface AdcConfigure<const msp430adc12_channel_config_t*>;
}
implementation {
! const msp430adc12_channel_config_t config = {
inch: TEMPERATURE_DIODE_CHANNEL,
sref: REFERENCE_VREFplus_AVss,
***************
*** 47,53 ****
sampcon_ssel: SAMPCON_SOURCE_SMCLK,
sampcon_id: SAMPCON_CLOCK_DIV_1
! };
!
! return config;
}
}
--- 46,54 ----
sampcon_ssel: SAMPCON_SOURCE_SMCLK,
sampcon_id: SAMPCON_CLOCK_DIV_1
! };
!
! async command const msp430adc12_channel_config_t* AdcConfigure.getConfiguration()
! {
! return &config;
}
}
Index: Msp430InternalVoltageC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/sensors/Msp430InternalVoltageC.nc,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -C2 -d -r1.1.2.4 -r1.1.2.5
*** Msp430InternalVoltageC.nc 20 Jun 2006 18:56:05 -0000 1.1.2.4
--- Msp430InternalVoltageC.nc 9 Oct 2006 13:26:37 -0000 1.1.2.5
***************
*** 56,61 ****
components Msp430InternalVoltageP;
! AdcReadClientC.Msp430Adc12Config -> Msp430InternalVoltageP;
! AdcReadStreamClientC.Msp430Adc12Config -> Msp430InternalVoltageP;
components new AdcReadNowClientC();
--- 56,61 ----
components Msp430InternalVoltageP;
! AdcReadClientC.AdcConfigure -> Msp430InternalVoltageP;
! AdcReadStreamClientC.AdcConfigure -> Msp430InternalVoltageP;
components new AdcReadNowClientC();
***************
*** 63,66 ****
ReadNow = AdcReadNowClientC;
! AdcReadNowClientC.Msp430Adc12Config -> Msp430InternalVoltageP;
}
--- 63,66 ----
ReadNow = AdcReadNowClientC;
! AdcReadNowClientC.AdcConfigure -> Msp430InternalVoltageP;
}
Index: Msp430InternalVoltageP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/sensors/Msp430InternalVoltageP.nc,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -C2 -d -r1.1.2.4 -r1.1.2.5
*** Msp430InternalVoltageP.nc 20 Jun 2006 18:56:05 -0000 1.1.2.4
--- Msp430InternalVoltageP.nc 9 Oct 2006 13:26:37 -0000 1.1.2.5
***************
*** 33,42 ****
module Msp430InternalVoltageP {
! provides interface Msp430Adc12Config;
}
implementation {
! async command msp430adc12_channel_config_t Msp430Adc12Config.getChannelSettings() {
! msp430adc12_channel_config_t config = {
inch: SUPPLY_VOLTAGE_HALF_CHANNEL,
sref: REFERENCE_VREFplus_AVss,
--- 33,41 ----
module Msp430InternalVoltageP {
! provides interface AdcConfigure<const msp430adc12_channel_config_t*>;
}
implementation {
! const msp430adc12_channel_config_t config = {
inch: SUPPLY_VOLTAGE_HALF_CHANNEL,
sref: REFERENCE_VREFplus_AVss,
***************
*** 47,53 ****
sampcon_ssel: SAMPCON_SOURCE_SMCLK,
sampcon_id: SAMPCON_CLOCK_DIV_1
! };
!
! return config;
}
}
--- 46,54 ----
sampcon_ssel: SAMPCON_SOURCE_SMCLK,
sampcon_id: SAMPCON_CLOCK_DIV_1
! };
!
! async command const msp430adc12_channel_config_t* AdcConfigure.getConfiguration()
! {
! return &config;
}
}
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/msp430/adc12 AdcP.nc,
NONE, 1.1.2.1 Msp430Adc12ClientAutoDMAC.nc, NONE,
1.1.2.1 Msp430Adc12ClientAutoDMA_RVGC.nc, NONE,
1.1.2.1 Msp430Adc12ClientAutoRVGC.nc, NONE,
1.1.2.1 Msp430Adc12DMAP.nc, NONE, 1.1.2.1 Msp430Adc12ImplP.nc,
NONE, 1.1.2.1 Msp430RefVoltArbiterImplP.nc, NONE,
1.1.2.1 README.txt, NONE, 1.1.2.1 AdcReadClientC.nc, 1.1.2.5,
1.1.2.6 AdcReadNowClientC.nc, 1.1.2.5,
1.1.2.6 AdcReadStreamClientC.nc, 1.1.2.4, 1.1.2.5 HplAdc12.nc,
1.1.2.4, 1.1.2.5 HplAdc12P.nc, 1.1.2.2, 1.1.2.3 Msp430Adc12.h,
1.1.2.6, 1.1.2.7 Msp430Adc12ClientC.nc, 1.1.2.5,
1.1.2.6 Msp430Adc12P.nc, 1.1.2.9,
1.1.2.10 Msp430Adc12SingleChannel.nc, 1.1.2.6,
1.1.2.7 Msp430RefVoltArbiterP.nc, 1.1.2.7,
1.1.2.8 Msp430RefVoltGeneratorP.nc, 1.1.2.2, 1.1.2.3 AdcC.nc,
1.1.2.16, NONE Msp430Adc12C.nc, 1.1.2.10,
NONE Msp430Adc12Config.nc, 1.1.2.4,
NONE Msp430Adc12FastClientC.nc, 1.1.2.1,
NONE Msp430Adc12FastSingleChannel.nc, 1.1.2.1,
NONE Msp430Adc12RefVoltAutoClientC.nc, 1.1.2.3,
NONE Msp430RefVoltArbiterC.nc, 1.1.2.3, NONE
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/interfaces AdcConfigure.nc,
NONE, 1.1.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-2-commits
mailing list