PAN1080 Peripheral API
Macros | Functions
pan_efuse.h File Reference

Panchip series efuse driver header file. More...

Go to the source code of this file.

Macros

#define EFUSE_CMD_READ   (0X0)
 
#define EFUSE_CMD_PROGRAM   (0X1)
 
#define EFUSE_CMD_INACTIVE   (0X2)
 
#define EFUSE_STATUS_OK   (0x0)
 
#define EFUSE_STATUS_FAIL   (0x1)
 

Functions

__STATIC_INLINE void EFUSE_Init (EFUSE_T *efuse)
 Init eFuse module. More...
 
__STATIC_INLINE void EFUSE_UnInit (EFUSE_T *efuse)
 Un-Init eFuse module. More...
 
__STATIC_INLINE uint32_t EFUSE_GetErrorStatus (EFUSE_T *efuse)
 Get eFuse error status flag. More...
 
__STATIC_INLINE void EFUSE_ClrErrorStatus (EFUSE_T *efuse)
 Clear eFuse error status flag. More...
 
uint8_t EFUSE_ReadByte (EFUSE_T *efuse, uint32_t addr)
 Read specified one byte from eFuse. More...
 
void EFUSE_WriteByte (EFUSE_T *efuse, uint32_t addr, uint8_t data)
 Write one byte data to specified eFuse address. More...
 
bool EFUSE_Read (EFUSE_T *efuse, uint32_t addr, uint8_t *data, uint16_t len)
 Read multiple data from eFuse. More...
 
bool EFUSE_Write (EFUSE_T *efuse, uint32_t addr, uint8_t *data, uint16_t len)
 Write multiple data to eFuse. More...
 
bool EFUSE_UserRead (EFUSE_T *efuse, uint32_t addr, uint8_t *data, uint16_t len)
 Read multiple data from User Area of eFuse (Address 0xE9 ~ 0xFF). More...
 
bool EFUSE_UserWrite (EFUSE_T *efuse, uint32_t addr, uint8_t *data, uint16_t len)
 Write multiple data to User Area of eFuse (Address 0xE9 ~ 0xFF). More...
 

Detailed Description

Panchip series efuse driver header file.

Version
V1.00
Revision
3
Date
21/11/19 18:33