Microchip® Advanced Software Framework

icm.c File Reference

SAM Integrity Check Monitor (ICM).

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

#include "icm.h"
#include "sysclk.h"
#include "sleepmgr.h"
icm_callback_t icm_callback_pointer [_ICM_NUM_OF_INTERRUPT_SOURCE]
 ICM callback function pointer. More...
 
void icm_init (Icm *p_icm, struct icm_config *icm_cfg)
 Initialize ICM with specified configuration. More...
 
void icm_enable (Icm *p_icm)
 Enable ICM. More...
 
void icm_disable (Icm *p_icm)
 Disable ICM. More...
 
status_code_t icm_region_recompute_hash (Icm *p_icm, enum icm_region_num reg_num)
 Recompute internal hash. More...
 
void icm_set_callback (Icm *p_icm, icm_callback_t callback, enum icm_region_num reg_num, enum icm_interrupt_source interrupt_source, uint8_t irq_level)
 ICM interrupt callback function. More...
 
static void icm_interrupt (enum icm_interrupt_source source, enum icm_region_num reg_num)
 Common ICM interrupt handler. More...
 
void ICM_Handler (void)
 Interrupt handler for ICM. More...
 
void icm_set_algo (Icm *p_icm, enum icm_algo algo)
 Set hash algorithm. More...
 
void icm_set_hash_value (Icm *p_icm, uint32_t *p_value)
 Set Initial Hash Value. More...