|
PAN1080 Peripheral API
|
Efuse Interface. More...

Modules | |
| Efuse operate command | |
| Efuse operate command definitions. | |
| Efuse status | |
| Efuse status definitions. | |
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... | |
Efuse Interface.
| __STATIC_INLINE void EFUSE_ClrErrorStatus | ( | EFUSE_T * | efuse | ) |
Clear eFuse error status flag.
| [in] | efuse | Module name of eFuse, typically EFUSE. |
| __STATIC_INLINE uint32_t EFUSE_GetErrorStatus | ( | EFUSE_T * | efuse | ) |
Get eFuse error status flag.
| [in] | efuse | Module name of eFuse, typically EFUSE. |
| EFUSE_STATUS_OK | The previous eFuse operation success. |
| EFUSE_STATUS_FAIL | The previous eFuse operation is illegal. |
| __STATIC_INLINE void EFUSE_Init | ( | EFUSE_T * | efuse | ) |
Init eFuse module.
| [in] | efuse | Module name of eFuse, typically EFUSE. |
| bool EFUSE_Read | ( | EFUSE_T * | efuse, |
| uint32_t | addr, | ||
| uint8_t * | data, | ||
| uint16_t | len | ||
| ) |
Read multiple data from eFuse.
| [in] | efuse | Module name of eFuse, typically EFUSE. |
| [in] | addr | eFuse address to read data from. |
| [in] | data | Buffer to store data read from eFuse. |
| [in] | len | Number of bytes to read. |
| true | Read success. |
| false | Error occurs while reading. |
| uint8_t EFUSE_ReadByte | ( | EFUSE_T * | efuse, |
| uint32_t | addr | ||
| ) |
Read specified one byte from eFuse.
| [in] | efuse | Module name of eFuse, typically EFUSE. |
| [in] | addr | eFuse address to read data from. |
| __STATIC_INLINE void EFUSE_UnInit | ( | EFUSE_T * | efuse | ) |
Un-Init eFuse module.
| [in] | efuse | Module name of eFuse, typically EFUSE. |
| 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).
| [in] | efuse | Module name of eFuse, typically EFUSE. |
| [in] | addr | eFuse address to read data from, should be in range of 0xE9 ~ 0xFF. |
| [in] | data | Buffer to store data read from eFuse. |
| [in] | len | Number of bytes to read. |
| true | Read success. |
| false | Error, illegal parameter (addr or len). |
| 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).
| [in] | efuse | Module name of eFuse, typically EFUSE. |
| [in] | addr | eFuse address to write data to, should be in range of 0xE9 ~ 0xFF. |
| [in] | data | Buffer to store data to be write to eFuse. |
| [in] | len | Number of bytes to write. |
| true | Write success. |
| false | Error, illegal parameter (addr or len). |
| bool EFUSE_Write | ( | EFUSE_T * | efuse, |
| uint32_t | addr, | ||
| uint8_t * | data, | ||
| uint16_t | len | ||
| ) |
Write multiple data to eFuse.
| [in] | efuse | Module name of eFuse, typically EFUSE. |
| [in] | addr | eFuse address to write data to. |
| [in] | data | Buffer to store data to be write to eFuse. |
| [in] | len | Number of bytes to write. |
| true | Write success. |
| false | Error occurs while writing. |
| void EFUSE_WriteByte | ( | EFUSE_T * | efuse, |
| uint32_t | addr, | ||
| uint8_t | data | ||
| ) |
Write one byte data to specified eFuse address.
| [in] | efuse | Module name of eFuse, typically EFUSE. |
| [in] | addr | eFuse address to write data to. |
| [in] | data | Data to write to eFuse. |