[Tinyos-beta-commits] CVS: tinyos-1.x/beta/platform/pxa27x
PXA27XHPLDMAM.nc, 1.1, 1.2 PXA27XHPLDMA.nc, 1.1,
1.2 PXA27XDMAM.nc, 1.2, 1.3 PXA27XDMAChannel.nc, 1.2, 1.3
Robbie Adler
radler at users.sourceforge.net
Tue Sep 6 10:49:11 PDT 2005
- Previous message: [Tinyos-beta-commits] CVS: tinyos-1.x/beta/platform/imote ADXLM.nc,
NONE, 1.1 AlphaDisp.nc, NONE, 1.1 AlphaDispM.nc, NONE,
1.1 BluSH.h, NONE, 1.1 BluSHC.nc, NONE, 1.1 BluSHM.nc, NONE,
1.1 BluSH_AppI.nc, NONE, 1.1 BluSH_types.h, NONE, 1.1 Clock.nc,
NONE, 1.1 DebugC.nc, NONE, 1.1 DebugM.nc, NONE,
1.1 DebugUART.nc, NONE, 1.1 DebugUARTBufferC.nc, NONE,
1.1 DebugUARTBufferM.nc, NONE, 1.1 DebugUARTM.nc, NONE,
1.1 FileSystem.nc, NONE, 1.1 FileSystemM.nc, NONE,
1.1 FileSystemTypes.h, NONE, 1.1 Flash.h, NONE, 1.1 Flash.nc,
NONE, 1.1 FlashAccessM.nc, NONE, 1.1 FlashFS.h, NONE,
1.1 FlashFS.nc, NONE, 1.1 FlashFSC.nc, NONE, 1.1 FlashFSM.nc,
NONE, 1.1 GPIO.nc, NONE, 1.1 HPLByteDMAM.nc, NONE,
1.1 HPLDMA.nc, NONE, 1.1 HPLDebugUartC.nc, NONE,
1.1 HPLDebugUartM.nc, NONE, 1.1 HPLFlashM.nc, NONE,
1.1 HPLMainUartC.nc, NONE, 1.1 HPLMainUartM.nc, NONE,
1.1 HPLUART.nc, NONE, 1.1 LoggerRead.nc, NONE,
1.1 LoggerWrite.nc, NONE, 1.1 NewTimer.h, NONE,
1.1 ReliablePacket.nc, NONE, 1.1 ReliablePacketC.nc, NONE,
1.1 ReliablePacketM.nc, NONE, 1.1 ReliableTransportC.nc, NONE,
1.1 ReliableTransportM.nc, NONE, 1.1 ReliableTransportParams.h,
NONE, 1.1 StatsLogger.nc, NONE, 1.1 StatsLoggerM.nc, NONE,
1.1 StatsTypes.h, NONE, 1.1 SystemTime.nc, NONE, 1.1 TimerC.nc,
NONE, 1.1 UtilitiesM.nc, NONE, 1.1 WSN.h, NONE,
1.1 WSN_Messages.h, NONE, 1.1 cmdlinetools.c, NONE,
1.1 BTLowerLayersM.nc, 1.1, 1.2 DebugLedM.nc, 1.1,
1.2 FindRootScatternetFormationC.nc, 1.1,
1.2 FindRootScatternetFormationM.nc, 1.1,
1.2 GenericPacketM.nc, 1.1, 1.2 HPLClock.nc, 1.2,
1.3 HPLDMAUart.nc, 1.1, 1.2 HPLDMAUartC.nc, 1.1,
1.2 HPLDMAUartM.nc, 1.1, 1.2 HPLPowerManagementM.nc, 1.1,
1.2 HPLUARTC.nc, 1.1, 1.2 LowPowerM.nc, 1.1, 1.2 NetworkC.nc,
1.1, 1.2 NetworkCommand.h, 1.1, 1.2 NetworkDataM.nc, 1.1,
1.2 NetworkHardwiredC.nc, 1.1, 1.2 NetworkLinkQueuesM.nc, 1.2,
1.3 NetworkManagerM.nc, 1.1, 1.2 NetworkMonitorC.nc, 1.2,
1.3 NetworkMonitorM.nc, 1.2, 1.3 NetworkPageM.nc, 1.1,
1.2 NetworkPropertiesM.nc, 1.1, 1.2 NetworkRelayM.nc, 1.2,
1.3 NetworkTopologyM.nc, 1.1, 1.2 SensorC.nc, 1.1,
1.2 SensorM.nc, 1.1, 1.2 SignalStrengthM.nc, 1.1,
1.2 TempHum.nc, 1.1, 1.2 TempHumM.nc, 1.1, 1.2 TimerM.nc, 1.1,
1.2 TreeRoutingM.nc, 1.2, 1.3 UARTBufferM.nc, 1.2,
1.3 WDTControlM.nc, 1.1, 1.2
- Next message: [Tinyos-beta-commits] CVS: tinyos-1.x/beta/platform/pxa27x
HPLInitM.nc, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-1.x/beta/platform/pxa27x
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19520
Modified Files:
PXA27XHPLDMAM.nc PXA27XHPLDMA.nc PXA27XDMAM.nc
PXA27XDMAChannel.nc
Log Message:
parameterized high-level run command and added async declarations to HPL functions
Index: PXA27XHPLDMAM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/platform/pxa27x/PXA27XHPLDMAM.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** PXA27XHPLDMAM.nc 18 Aug 2005 23:07:13 -0000 1.1
--- PXA27XHPLDMAM.nc 6 Sep 2005 17:49:09 -0000 1.2
***************
*** 55,59 ****
{
! command void PXA27XHPLDMA.setByteAlignment(uint32_t channel, bool enable)
{
if (channel < 32) {
--- 55,59 ----
{
! async command void PXA27XHPLDMA.setByteAlignment(uint32_t channel, bool enable)
{
if (channel < 32) {
***************
*** 68,72 ****
}
! command void PXA27XHPLDMA.mapChannel(uint32_t channel,uint16_t peripheralID){
if(channel < 32){
DRCMR(peripheralID) = DRCMR_CHLNUM(channel) | DRCMR_MAPVLD;
--- 68,72 ----
}
! async command void PXA27XHPLDMA.mapChannel(uint32_t channel,uint16_t peripheralID){
if(channel < 32){
DRCMR(peripheralID) = DRCMR_CHLNUM(channel) | DRCMR_MAPVLD;
***************
*** 74,78 ****
return;
}
! command void PXA27XHPLDMA.unmapChannel(uint32_t channel){
if(channel < 32){
DRCMR(channel) = 0;
--- 74,78 ----
return;
}
! async command void PXA27XHPLDMA.unmapChannel(uint32_t channel){
if(channel < 32){
DRCMR(channel) = 0;
***************
*** 80,84 ****
}
! command void PXA27XHPLDMA.setDCSR(uint32_t channel,uint32_t val) {
if (channel < 32) {
DCSR(channel) = val;
--- 80,84 ----
}
! async command void PXA27XHPLDMA.setDCSR(uint32_t channel,uint32_t val) {
if (channel < 32) {
DCSR(channel) = val;
***************
*** 87,91 ****
}
! command uint32_t PXA27XHPLDMA.getDCSR(uint32_t channel) {
uint32_t val;
if (channel < 32) {
--- 87,91 ----
}
! async command uint32_t PXA27XHPLDMA.getDCSR(uint32_t channel) {
uint32_t val;
if (channel < 32) {
***************
*** 95,99 ****
}
! command void PXA27XHPLDMA.setDCMD(uint32_t channel, uint32_t val) {
if (channel < 32) {
DCMD(channel) = val;
--- 95,99 ----
}
! async command void PXA27XHPLDMA.setDCMD(uint32_t channel, uint32_t val) {
if (channel < 32) {
DCMD(channel) = val;
***************
*** 102,106 ****
}
! command uint32_t PXA27XHPLDMA.getDCMD(uint32_t channel) {
uint32_t val;
if (channel < 32) {
--- 102,106 ----
}
! async command uint32_t PXA27XHPLDMA.getDCMD(uint32_t channel) {
uint32_t val;
if (channel < 32) {
***************
*** 110,114 ****
}
! command void PXA27XHPLDMA.setDDADR(uint32_t channel ,uint32_t val) {
if (channel < 32) {
DDADR(channel) = val;
--- 110,114 ----
}
! async command void PXA27XHPLDMA.setDDADR(uint32_t channel ,uint32_t val) {
if (channel < 32) {
DDADR(channel) = val;
***************
*** 117,121 ****
}
! command uint32_t PXA27XHPLDMA.getDDADR(uint32_t channel) {
uint32_t val;
if (channel < 32) {
--- 117,121 ----
}
! async command uint32_t PXA27XHPLDMA.getDDADR(uint32_t channel) {
uint32_t val;
if (channel < 32) {
***************
*** 125,129 ****
}
! command void PXA27XHPLDMA.setDSADR(uint32_t channel, uint32_t val){
if (channel < 32) {
DSADR(channel) = val;
--- 125,129 ----
}
! async command void PXA27XHPLDMA.setDSADR(uint32_t channel, uint32_t val){
if (channel < 32) {
DSADR(channel) = val;
***************
*** 132,136 ****
}
! command uint32_t PXA27XHPLDMA.getDSADR(uint32_t channel) {
uint32_t val;
if (channel < 32) {
--- 132,136 ----
}
! async command uint32_t PXA27XHPLDMA.getDSADR(uint32_t channel) {
uint32_t val;
if (channel < 32) {
***************
*** 140,144 ****
}
! command void PXA27XHPLDMA.setDTADR(uint32_t channel, uint32_t val) {
if (channel < 32) {
DTADR(channel) = val;
--- 140,144 ----
}
! async command void PXA27XHPLDMA.setDTADR(uint32_t channel, uint32_t val) {
if (channel < 32) {
DTADR(channel) = val;
***************
*** 147,151 ****
}
! command uint32_t PXA27XHPLDMA.getDTADR(uint32_t channel) {
uint32_t val;
if (channel < 32) {
--- 147,151 ----
}
! async command uint32_t PXA27XHPLDMA.getDTADR(uint32_t channel) {
uint32_t val;
if (channel < 32) {
***************
*** 157,161 ****
#if 0
//we don't expose any of the external DMA pins, so no sense in exposing this. However, there's also no sense in deleting it...
! command uint8_t PXA27XDMAExtReq.getDREQPend[uint8_t pin]()
{
uint8_t val;
--- 157,161 ----
#if 0
//we don't expose any of the external DMA pins, so no sense in exposing this. However, there's also no sense in deleting it...
! async command uint8_t PXA27XDMAExtReq.getDREQPend[uint8_t pin]()
{
uint8_t val;
***************
*** 166,170 ****
}
! command void PXA27XDMAExtReq.clearDREQPend[uint8_t pin]()
{
if (pin < 3) {
--- 166,170 ----
}
! async command void PXA27XDMAExtReq.clearDREQPend[uint8_t pin]()
{
if (pin < 3) {
***************
*** 175,184 ****
#endif
! command uint32_t PXA27XHPLDMA.getDPCSR()
{
return DPCSR;
}
! command void PXA27XHPLDMA.setDPCSR(uint32_t val)
{
DPCSR = val;
--- 175,184 ----
#endif
! async command uint32_t PXA27XHPLDMA.getDPCSR()
{
return DPCSR;
}
! async command void PXA27XHPLDMA.setDPCSR(uint32_t val)
{
DPCSR = val;
Index: PXA27XHPLDMA.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/platform/pxa27x/PXA27XHPLDMA.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** PXA27XHPLDMA.nc 18 Aug 2005 23:07:13 -0000 1.1
--- PXA27XHPLDMA.nc 6 Sep 2005 17:49:09 -0000 1.2
***************
*** 48,66 ****
interface PXA27XHPLDMA
{
! command void setByteAlignment(uint32_t channel,bool enable);
! command void mapChannel(uint32_t channel,uint16_t peripheralID);
! command void unmapChannel(uint32_t channel);
! command void setDCSR(uint32_t channel, uint32_t val);
! command uint32_t getDCSR(uint32_t channel);
! command void setDCMD(uint32_t channel, uint32_t val);
! command uint32_t getDCMD(uint32_t channel);
! command void setDDADR(uint32_t channel, uint32_t val);
! command uint32_t getDDADR(uint32_t channel);
! command void setDSADR(uint32_t channel, uint32_t val);
! command uint32_t getDSADR(uint32_t channel);
! command void setDTADR(uint32_t channel, uint32_t val);
! command uint32_t getDTADR(uint32_t channel);
! command void setDPCSR(uint32_t val);
! command uint32_t getDPCSR();
}
--- 48,66 ----
interface PXA27XHPLDMA
{
! async command void setByteAlignment(uint32_t channel,bool enable);
! async command void mapChannel(uint32_t channel,uint16_t peripheralID);
! async command void unmapChannel(uint32_t channel);
! async command void setDCSR(uint32_t channel, uint32_t val);
! async command uint32_t getDCSR(uint32_t channel);
! async command void setDCMD(uint32_t channel, uint32_t val);
! async command uint32_t getDCMD(uint32_t channel);
! async command void setDDADR(uint32_t channel, uint32_t val);
! async command uint32_t getDDADR(uint32_t channel);
! async command void setDSADR(uint32_t channel, uint32_t val);
! async command uint32_t getDSADR(uint32_t channel);
! async command void setDTADR(uint32_t channel, uint32_t val);
! async command uint32_t getDTADR(uint32_t channel);
! async command void setDPCSR(uint32_t val);
! async command uint32_t getDPCSR();
}
Index: PXA27XDMAM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/platform/pxa27x/PXA27XDMAM.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** PXA27XDMAM.nc 18 Aug 2005 23:07:13 -0000 1.2
--- PXA27XDMAM.nc 6 Sep 2005 17:49:09 -0000 1.3
***************
*** 314,318 ****
return FAIL;
}
! command result_t PXA27XDMAChannel.run[uint8_t channel](){
uint8_t realChannel;
uint32_t width;
--- 314,318 ----
return FAIL;
}
! command result_t PXA27XDMAChannel.run[uint8_t channel](bool InterruptEn){
uint8_t realChannel;
uint32_t width;
***************
*** 328,332 ****
--- 328,343 ----
call PXA27XHPLDMA.setDCSR(realChannel, DCSR_NODESCFETCH);
+
+ #if 0
+ if(InterruptEn){
+ call PXA27XHPLDMA.setDCMD(realChannel, mDescriptorArray[channel].DCMD | DCMD_ENDIRQEN);
+ }
+ else{
+ call PXA27XHPLDMA.setDCMD(realChannel, mDescriptorArray[channel].DCMD);
+ }
+ #else
call PXA27XHPLDMA.setDCMD(realChannel, mDescriptorArray[channel].DCMD | DCMD_ENDIRQEN);
+ #endif
+
call PXA27XHPLDMA.setDSADR(realChannel, mDescriptorArray[channel].DSADR);
call PXA27XHPLDMA.setDTADR(realChannel, mDescriptorArray[channel].DTADR);
Index: PXA27XDMAChannel.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/platform/pxa27x/PXA27XDMAChannel.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** PXA27XDMAChannel.nc 18 Aug 2005 23:07:13 -0000 1.2
--- PXA27XDMAChannel.nc 6 Sep 2005 17:49:09 -0000 1.3
***************
*** 69,73 ****
command result_t setTransferLength(uint16_t length);
command result_t setTransferWidth(DMATransferWidth_t width);
! command result_t run();
command result_t stop();
async event void Interrupt();
--- 69,73 ----
command result_t setTransferLength(uint16_t length);
command result_t setTransferWidth(DMATransferWidth_t width);
! command result_t run(bool InterruptEn);
command result_t stop();
async event void Interrupt();
- Previous message: [Tinyos-beta-commits] CVS: tinyos-1.x/beta/platform/imote ADXLM.nc,
NONE, 1.1 AlphaDisp.nc, NONE, 1.1 AlphaDispM.nc, NONE,
1.1 BluSH.h, NONE, 1.1 BluSHC.nc, NONE, 1.1 BluSHM.nc, NONE,
1.1 BluSH_AppI.nc, NONE, 1.1 BluSH_types.h, NONE, 1.1 Clock.nc,
NONE, 1.1 DebugC.nc, NONE, 1.1 DebugM.nc, NONE,
1.1 DebugUART.nc, NONE, 1.1 DebugUARTBufferC.nc, NONE,
1.1 DebugUARTBufferM.nc, NONE, 1.1 DebugUARTM.nc, NONE,
1.1 FileSystem.nc, NONE, 1.1 FileSystemM.nc, NONE,
1.1 FileSystemTypes.h, NONE, 1.1 Flash.h, NONE, 1.1 Flash.nc,
NONE, 1.1 FlashAccessM.nc, NONE, 1.1 FlashFS.h, NONE,
1.1 FlashFS.nc, NONE, 1.1 FlashFSC.nc, NONE, 1.1 FlashFSM.nc,
NONE, 1.1 GPIO.nc, NONE, 1.1 HPLByteDMAM.nc, NONE,
1.1 HPLDMA.nc, NONE, 1.1 HPLDebugUartC.nc, NONE,
1.1 HPLDebugUartM.nc, NONE, 1.1 HPLFlashM.nc, NONE,
1.1 HPLMainUartC.nc, NONE, 1.1 HPLMainUartM.nc, NONE,
1.1 HPLUART.nc, NONE, 1.1 LoggerRead.nc, NONE,
1.1 LoggerWrite.nc, NONE, 1.1 NewTimer.h, NONE,
1.1 ReliablePacket.nc, NONE, 1.1 ReliablePacketC.nc, NONE,
1.1 ReliablePacketM.nc, NONE, 1.1 ReliableTransportC.nc, NONE,
1.1 ReliableTransportM.nc, NONE, 1.1 ReliableTransportParams.h,
NONE, 1.1 StatsLogger.nc, NONE, 1.1 StatsLoggerM.nc, NONE,
1.1 StatsTypes.h, NONE, 1.1 SystemTime.nc, NONE, 1.1 TimerC.nc,
NONE, 1.1 UtilitiesM.nc, NONE, 1.1 WSN.h, NONE,
1.1 WSN_Messages.h, NONE, 1.1 cmdlinetools.c, NONE,
1.1 BTLowerLayersM.nc, 1.1, 1.2 DebugLedM.nc, 1.1,
1.2 FindRootScatternetFormationC.nc, 1.1,
1.2 FindRootScatternetFormationM.nc, 1.1,
1.2 GenericPacketM.nc, 1.1, 1.2 HPLClock.nc, 1.2,
1.3 HPLDMAUart.nc, 1.1, 1.2 HPLDMAUartC.nc, 1.1,
1.2 HPLDMAUartM.nc, 1.1, 1.2 HPLPowerManagementM.nc, 1.1,
1.2 HPLUARTC.nc, 1.1, 1.2 LowPowerM.nc, 1.1, 1.2 NetworkC.nc,
1.1, 1.2 NetworkCommand.h, 1.1, 1.2 NetworkDataM.nc, 1.1,
1.2 NetworkHardwiredC.nc, 1.1, 1.2 NetworkLinkQueuesM.nc, 1.2,
1.3 NetworkManagerM.nc, 1.1, 1.2 NetworkMonitorC.nc, 1.2,
1.3 NetworkMonitorM.nc, 1.2, 1.3 NetworkPageM.nc, 1.1,
1.2 NetworkPropertiesM.nc, 1.1, 1.2 NetworkRelayM.nc, 1.2,
1.3 NetworkTopologyM.nc, 1.1, 1.2 SensorC.nc, 1.1,
1.2 SensorM.nc, 1.1, 1.2 SignalStrengthM.nc, 1.1,
1.2 TempHum.nc, 1.1, 1.2 TempHumM.nc, 1.1, 1.2 TimerM.nc, 1.1,
1.2 TreeRoutingM.nc, 1.2, 1.3 UARTBufferM.nc, 1.2,
1.3 WDTControlM.nc, 1.1, 1.2
- Next message: [Tinyos-beta-commits] CVS: tinyos-1.x/beta/platform/pxa27x
HPLInitM.nc, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-beta-commits
mailing list