Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
main.c File Reference
#include <zephyr.h>
#include <tc_util.h>
#include <ztest.h>
#include <sys/printk.h>

Macros

#define STAMP_INTERVAL_s   60
 
#define TIMER_DELAY_ms   500
 
#define BUSY_WAIT_ms   100
 

Functions

static void handler (struct k_timer *timer)
 
static const char * tag (void)
 
static void test_starve (void)
 
void test_main (void)
 

Variables

static volatile uint32_t na
 
static uint32_t iters
 
static uint32_t now
 

Macro Definition Documentation

◆ BUSY_WAIT_ms

#define BUSY_WAIT_ms   100

◆ STAMP_INTERVAL_s

#define STAMP_INTERVAL_s   60

◆ TIMER_DELAY_ms

#define TIMER_DELAY_ms   500

Function Documentation

◆ handler()

static void handler ( struct k_timer *  timer)
static

◆ tag()

static const char * tag ( void  )
static

◆ test_main()

void test_main ( void  )

test case main entry

◆ test_starve()

static void test_starve ( void  )
static

Variable Documentation

◆ iters

uint32_t iters
static

◆ na

volatile uint32_t na
static

◆ now

uint32_t now
static