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

Macros

#define BUF_SZ   1024
 

Functions

static int ram_console_out (int character)
 
 ZTEST (printk, test_printk)
 Test printk() functionality.
 
void * common_setup (void)
 
 ZTEST_SUITE (printk, NULL, common_setup, NULL, NULL, NULL)
 

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
 
void * ptr = (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