Microchip® Advanced Software Framework

sha204_example_log.h File Reference

TWI driver for AVR.

This file defines a useful set of functions for the TWI interface on AVR devices.

Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.

Functions

uint8_t convert_nibble_to_hexascii (uint8_t nibble)
 This function converts a nibble to Hex-ASCII. More...
 
void display_status (uint8_t device_present_mask, uint8_t sha204_revision)
 This function displays information using LEDs about the SHA204 devices on the Security Xplained board. More...
 
void led_display_number (uint8_t value)
 This function displays a byte value using the Xplained LEDs. 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_send (uint8_t length, uint8_t *buffer)