docs: convert to using newly introduced integer sized types
Convert code to use u{8,16,32,64}_t and s{8,16,32,64}_t instead of C99 integer types. Jira: ZEP-2051 Change-Id: I731cc91517436685836023cbda34f894586a54bc Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
ccad5bf3e3
commit
83a5990185
13 changed files with 61 additions and 61 deletions
|
@ -93,8 +93,8 @@ between two points in time.
|
|||
|
||||
.. code-block:: c
|
||||
|
||||
int64_t time_stamp;
|
||||
int64_t milliseconds_spent;
|
||||
s64_t time_stamp;
|
||||
s64_t milliseconds_spent;
|
||||
|
||||
/* capture initial time stamp */
|
||||
time_stamp = k_uptime_get();
|
||||
|
@ -113,10 +113,10 @@ between two points in time.
|
|||
|
||||
.. code-block:: c
|
||||
|
||||
uint32_t start_time;
|
||||
uint32_t stop_time;
|
||||
uint32_t cycles_spent;
|
||||
uint32_t nanoseconds_spent;
|
||||
u32_t start_time;
|
||||
u32_t stop_time;
|
||||
u32_t cycles_spent;
|
||||
u32_t nanoseconds_spent;
|
||||
|
||||
/* capture initial time stamp */
|
||||
start_time = k_cycle_get_32();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue