mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 12:33:27 +08:00
progmem.h: Cosmetic updates to comments
This commit is contained in:
@@ -11076,4 +11076,9 @@
|
||||
(2015-11-07).
|
||||
* drivers/bch: Block-to-character (BCH) driver should forward ioctl()
|
||||
calls to the contained block driver (2015-11-09).
|
||||
* arch/arm/samv7/sam_qspi.c: The QuadSPI driver is now functional
|
||||
(2015-11-10).
|
||||
* drivers/mtd/s25fl1.c: The S25FL1xx QuadSPI FLASH driver is now
|
||||
functional (2015-10-11).
|
||||
* arch/arm/samv7: Add an on-chip FLASH driver (2015-11-12).
|
||||
|
||||
|
||||
+1
-1
Submodule arch updated: 24dc5d2231...8d559bd232
+11
-11
@@ -105,7 +105,7 @@ size_t up_progmem_pagesize(size_t page);
|
||||
* Page or negative value on error. The following errors are reported
|
||||
* (errno is not set!):
|
||||
*
|
||||
* EFAULT: On invalid address
|
||||
* -EFAULT: On invalid address
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
@@ -140,12 +140,12 @@ size_t up_progmem_getaddress(size_t page);
|
||||
* Page size or negative value on error. The following errors are reported
|
||||
* (errno is not set!):
|
||||
*
|
||||
* EFAULT: On invalid page
|
||||
* EIO: On unsuccessful erase
|
||||
* EROFS: On access to write protected area
|
||||
* EACCES: Insufficient permissions (read/write protected)
|
||||
* EPERM: If operation is not permitted due to some other constraints
|
||||
* (i.e. some internal block is not running etc.)
|
||||
* -EFAULT: On invalid page
|
||||
* -EIO: On unsuccessful erase
|
||||
* -EROFS: On access to write protected area
|
||||
* -EACCES: Insufficient permissions (read/write protected)
|
||||
* -EPERM: If operation is not permitted due to some other constraints
|
||||
* (i.e. some internal block is not running etc.)
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
@@ -161,11 +161,11 @@ ssize_t up_progmem_erasepage(size_t page);
|
||||
* page -
|
||||
*
|
||||
* Returned Value:
|
||||
* Returns number of bytes written or negative value on error. If it
|
||||
* returns zero then complete page is empty (erased).
|
||||
* Returns number of bytes NOT erased or negative value on error. If it
|
||||
* returns zero then complete page is erased.
|
||||
*
|
||||
* The following errors are reported (errno is not set!)
|
||||
* EFAULT: On invalid page
|
||||
* The following errors are reported:
|
||||
* -EFAULT: On invalid page
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user