Microchip® Advanced Software Framework

sha204_example_client_host.c File Reference

ATSHA204 example module.

This file contains the main function and some helper functions.

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

#include <string.h>
#include <stdio.h>
#include "asf.h"
#include "compiler.h"
#include "preprocessor.h"
#include "board.h"
#include "sysclk.h"
#include "sha204_example_led.h"
#include "sha204_example_log.h"
#include "sha204_timer.h"
#include "sha204_command_marshaling.h"
#include "sha204_lib_return_codes.h"
#include "security_xplained.h"

Functions

int main (void)
 This function is the entry function for an example application that uses the SHA204 ASF component. More...
 
void sha204_sleep_all (void)
 This function puts all devices to sleep. More...
 

void sha204_sleep_all ( void  )

This function puts all devices to sleep.

References SHA204_DEVICE_COUNT, sha204_i2c_address(), sha204p_set_device_id(), and sha204p_sleep().

Referenced by main().