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

Macros

#define BUF_SZ   1024
 

Functions

static int ram_console_out (int character)
 
void test_printk (void)
 Test printk() functionality. More...
 

Variables

static int pos
 
char pk_console [1024]
 
size_t stv = 22
 
unsigned char uc = 'q'
 
unsigned short int usi = 10000U
 
unsigned int ui = 32768U
 
unsigned long ul = 40000
 
unsigned long long ull = 22
 
char c = 'p'
 
signed short int ssi = -10000
 
signed int si = -32768
 
signed long sl = -40000
 
signed long long sll = -22
 
uint32_t hex = 0xCAFEBABE
 
voidptr = (void *)0xBEEF
 

Macro Definition Documentation

◆ BUF_SZ

#define BUF_SZ   1024

Function Documentation

◆ ram_console_out()

static int ram_console_out ( int  character)
static

Variable Documentation

◆ c

char c = 'p'

◆ hex

uint32_t hex = 0xCAFEBABE

◆ pk_console

char pk_console[1024]

◆ pos

int pos
static

◆ ptr

void* ptr = (void *)0xBEEF

◆ si

signed int si = -32768

◆ sl

signed long sl = -40000

◆ sll

signed long long sll = -22

◆ ssi

signed short int ssi = -10000

◆ stv

size_t stv = 22

◆ uc

unsigned char uc = 'q'

◆ ui

unsigned int ui = 32768U

◆ ul

unsigned long ul = 40000

◆ ull

unsigned long long ull = 22

◆ usi

unsigned short int usi = 10000U