Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
main.c File Reference
#include <zephyr/ztest.h>
#include <zephyr/kernel.h>

Functions

static void swap64 (uint64_t *a, uint64_t *b)
 
static void msg (uint64_t c64)
 
uint32_t timeout (uint64_t prev, uint64_t now)
 
 ZTEST (cycle64_tests, test_32bit_wrap_around)
 
 ZTEST_SUITE (cycle64_tests, NULL, NULL, NULL, NULL, NULL)
 

Function Documentation

◆ msg()

static void msg ( uint64_t  c64)
static

◆ swap64()

static void swap64 ( uint64_t a,
uint64_t b 
)
static

◆ timeout()

uint32_t timeout ( uint64_t  prev,
uint64_t  now 
)

◆ ZTEST()

ZTEST ( cycle64_tests  ,
test_32bit_wrap_around   
)

◆ ZTEST_SUITE()

ZTEST_SUITE ( cycle64_tests  ,
NULL  ,
NULL  ,
NULL  ,
NULL  ,
NULL   
)