summaryrefslogtreecommitdiff
path: root/nuttx/Documentation/NuttxUserGuide.html
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-16 20:30:06 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-16 20:30:06 +0000
commit692fdecda1d50a2d5ca3bd8338074ece4c8eee38 (patch)
tree7328ec06342bec70ae9c7481251285b78ac38338 /nuttx/Documentation/NuttxUserGuide.html
parent891f61e86fcc0a4c42f25432016762b6aafb287e (diff)
downloadpx4-nuttx-692fdecda1d50a2d5ca3bd8338074ece4c8eee38.tar.gz
px4-nuttx-692fdecda1d50a2d5ca3bd8338074ece4c8eee38.tar.bz2
px4-nuttx-692fdecda1d50a2d5ca3bd8338074ece4c8eee38.zip
Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2360 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Documentation/NuttxUserGuide.html')
-rw-r--r--nuttx/Documentation/NuttxUserGuide.html46
1 files changed, 23 insertions, 23 deletions
diff --git a/nuttx/Documentation/NuttxUserGuide.html b/nuttx/Documentation/NuttxUserGuide.html
index 5d477c8cf..024e0392d 100644
--- a/nuttx/Documentation/NuttxUserGuide.html
+++ b/nuttx/Documentation/NuttxUserGuide.html
@@ -296,7 +296,7 @@ VxWorks provides the following similar interface:
<b>Function Prototype:</b>
<pre>
#include &lt;sched.h&gt;
- int task_init(_TCB *tcb, char *name, int priority, uint32 *stack, uint32 stack_size,
+ int task_init(_TCB *tcb, char *name, int priority, uint32_t *stack, uint32_t stack_size,
maint_t entry, const char *argv[]);
</pre>
@@ -346,7 +346,7 @@ mechanism to initialize and start a new task.
<b>POSIX Compatibility:</b> This is a NON-POSIX interface.
VxWorks provides the following similar interface:
<pre>
- STATUS taskInit(WIND_TCB *pTcb, char *name, int priority, int options, uint32 *pStackBase, int stackSize,
+ STATUS taskInit(WIND_TCB *pTcb, char *name, int priority, int options, uint32_t *pStackBase, int stackSize,
FUNCPTR entryPt, int arg1, int arg2, int arg3, int arg4, int arg5,
int arg6, int arg7, int arg8, int arg9, int arg10);
</pre>
@@ -1039,7 +1039,7 @@ VxWorks provides the comparable interface:
<b>Function Prototype:</b>
<pre>
#include &lt;sched.h&gt;
- sint32 sched_lockcount( void )
+ int32_t sched_lockcount( void )
</pre>
<p>
@@ -2363,8 +2363,8 @@ wd_start() on a given watchdog ID has any effect.
<li><I>wdog</I>. Watchdog ID
<li><I>delay</I>. Delay count in clock ticks
<li><I>wdentry</I>. Function to call on timeout
-<li><I>argc</I>. The number of uint32 parameters to pass to wdentry.
-<li><I>...</I>. uint32 size parameters to pass to wdentry
+<li><I>argc</I>. The number of uint32_t parameters to pass to wdentry.
+<li><I>...</I>. uint32_t size parameters to pass to wdentry
</ul>
<p>
@@ -6555,16 +6555,16 @@ int mkfatfs(FAR const char *pathname, FAR struct fat_format_s *fmt);
<pre>
struct fat_format_s
{
- ubyte ff_nfats; /* Number of FATs */
- ubyte ff_fattype; /* FAT size: 0 (autoselect), 12, 16, or 32 */
- ubyte ff_clustshift; /* Log2 of sectors per cluster: 0-5, 0xff (autoselect) */
- ubyte ff_volumelabel[11]; /* Volume label */
- uint16 ff_backupboot; /* Sector number of the backup boot sector (0=use default)*/
- uint16 ff_rootdirentries; /* Number of root directory entries */
- uint16 ff_rsvdseccount; /* Reserved sectors */
- uint32 ff_hidsec; /* Count of hidden sectors preceding fat */
- uint32 ff_volumeid; /* FAT volume id */
- uint32 ff_nsectors; /* Number of sectors from device to use: 0: Use all */
+ uint8_t ff_nfats; /* Number of FATs */
+ uint8_t ff_fattype; /* FAT size: 0 (autoselect), 12, 16, or 32 */
+ uint8_t ff_clustshift; /* Log2 of sectors per cluster: 0-5, 0xff (autoselect) */
+ uint8_t ff_volumelabel[11]; /* Volume label */
+ uint16_t ff_backupboot; /* Sector number of the backup boot sector (0=use default)*/
+ uint16_t ff_rootdirentries; /* Number of root directory entries */
+ uint16_t ff_rsvdseccount; /* Reserved sectors */
+ uint32_t ff_hidsec; /* Count of hidden sectors preceding fat */
+ uint32_t ff_volumeid; /* FAT volume id */
+ uint32_t ff_nsectors; /* Number of sectors from device to use: 0: Use all */
};
</pre>
</ul></li>
@@ -7588,25 +7588,25 @@ notify a task when a message is available on a queue.
typedef void (*wdentry_t)(int argc, ...);
</pre>
<p>
- Where argc is the number of uint32 type arguments that follow.
+ Where argc is the number of uint32_t type arguments that follow.
</p>
- The arguments are passed as uint32 values.
- For systems where the sizeof(pointer) &lt; sizeof(uint32), the
+ The arguments are passed as uint32_t values.
+ For systems where the sizeof(pointer) &lt; sizeof(uint32_t), the
following union defines the alignment of the pointer within the
- uint32. For example, the SDCC MCS51 general pointer is
- 24-bits, but uint32 is 32-bits (of course).
+ uint32_t. For example, the SDCC MCS51 general pointer is
+ 24-bits, but uint32_t is 32-bits (of course).
</p>
<pre>
union wdparm_u
{
void *pvarg;
- uint32 *dwarg;
+ uint32_t *dwarg;
};
typedef union wdparm_u wdparm_t;
</pre>
<p>
- For most 32-bit systems, pointers and uint32 are the same size
- For systems where sizeof(pointer) > sizeof(uint32), we will
+ For most 32-bit systems, pointers and uint32_t are the same size
+ For systems where sizeof(pointer) > sizeof(uint32_t), we will
have to do some redesign.
</p>