[Tinyos-beta-commits]
CVS: tinyos-1.x/beta/platform/pxa27x Flash.nc, 1.1, 1.2
Josh
jsherbach at users.sourceforge.net
Wed Aug 31 13:46:25 PDT 2005
Update of /cvsroot/tinyos/tinyos-1.x/beta/platform/pxa27x
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6301
Modified Files:
Flash.nc
Log Message:
no message
Index: Flash.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/platform/pxa27x/Flash.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Flash.nc 18 Aug 2005 20:36:39 -0000 1.1
--- Flash.nc 31 Aug 2005 20:46:20 -0000 1.2
***************
*** 7,20 ****
/**
* Writes numBytes of the buffer data to the address in flash specified
! * by addr. If type is set to FLASH_NORMAL (0), this function will only set
! * bits low for the bytes it is supposed to write to. If type is set to
! * FLASH_OVERWRITE (1), this function will simply overwrite the section of
! * flash from addr to addr + numBytes. If addr connot be written to for
! * any reason returns FAIL, otherwise returns SUCCESS.
*
* @returns SUCCESS or FAIL.
*/
! command result_t write(uint32_t addr, uint8_t* data, uint32_t numBytes,
! uint8_t type);
/**
--- 7,17 ----
/**
* Writes numBytes of the buffer data to the address in flash specified
! * by addr. This function will only set bits low for the bytes it is
! * supposed to write to.If addr connot be written to for any reason returns
! * FAIL, otherwise returns SUCCESS.
*
* @returns SUCCESS or FAIL.
*/
! command result_t write(uint32_t addr, uint8_t* data, uint32_t numBytes);
/**
More information about the Tinyos-beta-commits
mailing list