MCUXpresso SDK API Reference Manual  Rev 2.16.000
NXP Semiconductors
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
EFUSE Driver

Overview

Files

file  fsl_efuse.h
 

EFUSE APIs

status_t EFUSE_Init (void)
 Initialize EFUSE controller. More...
 
status_t EFUSE_Deinit (void)
 De-Initialize EFUSE controller. More...
 
status_t EFUSE_Read (uint32_t addr, uint32_t *data)
 Read Fuse value from eFuse word. More...
 
status_t EFUSE_Program (uint32_t addr, uint32_t data)
 Program value to eFuse block. More...
 

Function Documentation

status_t EFUSE_Init ( void  )

This function enables EFUSE Controller clock.

Return values
kStatus_Success0 Operation succeeded without error.
kStatus_Fail1 The operation failed with a generic error.
kStatus_ReadOnly2 Requested value cannot be changed because it is read-only.
kStatus_OutOfRange3 Requested value is out of range.
kStatus_InvalidArgument4 The requested command's argument is undefined.
kStatus_TimeoutAn invalid 5 A timeout occurred
kStatus_NoTransferInProgress6 No send in progress.
status_t EFUSE_Deinit ( void  )

This functin disables EFUSE Controller Clock.

Return values
kStatus_Success0 Operation succeeded without error.
kStatus_Fail1 The operation failed with a generic error.
kStatus_ReadOnly2 Requested value cannot be changed because it is read-only.
kStatus_OutOfRange3 Requested value is out of range.
kStatus_InvalidArgument4 The requested command's argument is undefined.
kStatus_TimeoutAn invalid 5 A timeout occurred
kStatus_NoTransferInProgress6 No send in progress.
status_t EFUSE_Read ( uint32_t  addr,
uint32_t *  data 
)

This function read fuse data from eFuse word to specified data buffer.

Parameters
addrFuse address
dataBuffer to hold the data read from eFuse word
Return values
kStatus_Success0 Operation succeeded without error.
kStatus_Fail1 The operation failed with a generic error.
kStatus_ReadOnly2 Requested value cannot be changed because it is read-only.
kStatus_OutOfRange3 Requested value is out of range.
kStatus_InvalidArgument4 The requested command's argument is undefined.
kStatus_TimeoutAn invalid 5 A timeout occurred
kStatus_NoTransferInProgress6 No send in progress.
status_t EFUSE_Program ( uint32_t  addr,
uint32_t  data 
)

This function program data to specified eFuse address.

Parameters
addrFuse address
datadata to be programmed into eFuse Fuse block
Return values
kStatus_Success0 Operation succeeded without error.
kStatus_Fail1 The operation failed with a generic error.
kStatus_ReadOnly2 Requested value cannot be changed because it is read-only.
kStatus_OutOfRange3 Requested value is out of range.
kStatus_InvalidArgument4 The requested command's argument is undefined.
kStatus_TimeoutAn invalid 5 A timeout occurred
kStatus_NoTransferInProgress6 No send in progress.