swieeprom  2.0.0.7
Functions
log.c File Reference

LOG driver implementation. More...

#include "log.h"

Functions

void log_init (void)
 Initializes LOG module. More...
 
void log_line (char *txt)
 Prints string to UART terminal with a new line. More...
 
void log_txt (char *txt)
 Prints string to UART terminal. More...
 
void log_byte (char t_char)
 Prints byte to UART terminal. More...
 

Detailed Description

LOG driver implementation.

Function Documentation

◆ log_byte()

void log_byte ( char  t_char)

Prints byte to UART terminal.

Prints t_char to UART terminal.

Parameters
[in]t_char: Byte to send.
Returns
Nothing

◆ log_init()

void log_init ( void  )

Initializes LOG module.

Initializes LOG driver.

Returns
Nothing
Note
This function needs to be called before other driver functions.

◆ log_line()

void log_line ( char *  txt)

Prints string to UART terminal with a new line.

Prints txt to UART terminal with CR and LF sent additionally.

Parameters
[in]txt: String to send.
Returns
Nothing

◆ log_txt()

void log_txt ( char *  txt)

Prints string to UART terminal.

Prints txt to UART terminal.

Parameters
[in]txt: String to send.
Returns
Nothing