#include <string.h>
#include <stdio.h>
#include "asf.h"
#include "compiler.h"
#include "preprocessor.h"
#include "sha204_example_log.h"
#include "serial.h"
#include "conf_usart_serial.h"
Functions | |
uint8_t | convert_nibble_to_hexascii (uint8_t nibble) |
This function converts a nibble to Hex-ASCII. More... | |
void | log_init (void) |
This function initializes the logging hardware. More... | |
void | log_sha204 (uint8_t length, uint8_t *buffer, bool is_rx) |
This function logs rx or tx data as hex-ascii. More... | |
void | log_sha204_title (char *title) |
This function logs the title of a SHA204 transaction. More... | |
void | usart_write_crlf (void) |
This function sends a carriage return and linefeed over USART. More... | |
void usart_write_crlf | ( | void | ) |
This function sends a carriage return and linefeed over USART.
References usart_serial_write_packet().
Referenced by log_sha204(), and log_sha204_title().