Microchip® Advanced Software Framework

efuse.c File Reference

This module contains efuse APIs.

Copyright (c) 2019 Microchip Technology Inc. and its subsidiaries.

Macros

#define _EFUSE_   1
 
#define m2mmemset   m2m_memset
 

Functions

void dump_efuse_struct (EFUSEProdStruct *efuse_struct)
 
sint8 is_efuse_bank_loaded (uint8 bankIdx)
 
int load_efuse_to_regs (uint8 bankIdx)
 
sint8 overwrite_efuse_struct (EFUSEProdStruct *efuse_struct, int bankIdx)
 
sint8 read_efuse_struct (EFUSEProdStruct *efuse_struct, uint8 skip_bank_check)
 
static int read_from_efuse (uint8 bankIdx, uint8 *buf)
 
static int write_to_efuse (uint8 bankIdx, uint8 *buf)
 

Variables

EFUSEProdStruct g_efuse_struct
 

#define _EFUSE_   1
#define m2mmemset   m2m_memset

sint8 is_efuse_bank_loaded ( uint8  bankIdx)
static int read_from_efuse ( uint8  bankIdx,
uint8 buf 
)
static

References EFUSE_SUCCESS, and nm_read_reg().

Referenced by read_efuse_struct().

static int write_to_efuse ( uint8  bankIdx,
uint8 buf 
)
static

EFUSEProdStruct g_efuse_struct