My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
sw_debug.c File Reference
#include "sw_debug.h"
#include "uart.h"
#include "sw_string_functions.h"
#include <sw_cpu_helper.h>
#include "sw_types.h"
#include <unused.h>

Functions

u32 sw_printk (const char *fmt,...)
 Writes directly to device, with no permission check. More...
 
u32 sw_vsprintf (char *buf, const char *fmt, va_list args)
 
int printable_char (char c)
 Checks for printable character. More...
 
void DIE_NOW (void *context, char *msg)
 Prints the error message and goes on infinte loop. More...
 

Function Documentation

void DIE_NOW ( void *  context,
char *  msg 
)

Prints the error message and goes on infinte loop.

Parameters
context
msg
int printable_char ( char  c)

Checks for printable character.

Parameters
c
Returns
u32 sw_printk ( const char *  fmt,
  ... 
)

Writes directly to device, with no permission check.

Parameters
fmt
...
Returns
u32 sw_vsprintf ( char *  buf,
const char *  fmt,
va_list  args 
)
Parameters
buf
fmt
args
Returns