|
enum | _ocotp_status { kStatus_OCOTP_AccessError = MAKE_STATUS(kStatusGroup_SDK_OCOTP, 0),
kStatus_OCOTP_CrcFail = MAKE_STATUS(kStatusGroup_SDK_OCOTP, 1)
} |
| Error codes for the OCOTP driver. More...
|
|
#define | FSL_OCOTP_DRIVER_VERSION (MAKE_VERSION(2, 0, 1)) |
| OCOTP driver version 2.0.1. More...
|
|
static bool | OCOTP_CheckBusyStatus (OCOTP_Type *base) |
| Checking the BUSY bit in CTRL register. Checking this BUSY bit will help confirm if the OCOTP controller is ready for access. More...
|
|
static bool | OCOTP_CheckErrorStatus (OCOTP_Type *base) |
| Checking the ERROR bit in CTRL register. More...
|
|
static void | OCOTP_ClearErrorStatus (OCOTP_Type *base) |
| Clear the error bit if this bit is set. More...
|
|
void | OCOTP_Deinit (OCOTP_Type *base) |
| De-initializes OCOTP controller. More...
|
|
static uint32_t | OCOTP_GetVersion (OCOTP_Type *base) |
| Get the OCOTP controller version from the register. More...
|
|
void | OCOTP_Init (OCOTP_Type *base, uint32_t srcClock_Hz) |
| Initializes OCOTP controller. More...
|
|
uint32_t | OCOTP_ReadFuseShadowRegister (OCOTP_Type *base, uint32_t address) |
| Read the fuse shadow register with the fuse addess. More...
|
|
void | OCOTP_ReloadShadowRegister (OCOTP_Type *base) |
| Reload the shadow register. This function will help reload the shadow register without reseting the OCOTP module. Please make sure the OCOTP has been initialized before calling this API. More...
|
|
typedef struct _ocotp_timing | ocotp_timing_t |
| OCOTP timing structure. Note that, these value are used for calcalating the read/write timings. And the values should statisfy below rules: More...
|
|
status_t | OCOTP_WriteFuseShadowRegister (OCOTP_Type *base, uint32_t address, uint32_t data) |
| Write the fuse shadow register with the fuse addess and data. Please make sure the wrtie address is not locked while calling this API. More...
|
|