Example #1
0
/**
 * @brief       NOR Flash Initial
 *
 * @param[in]   None
 *
 * @return      None
 *
 * @details     Initial and reset NOR Flash - W39L040P.
 */
void NOR_Init(void)
{
    g_pu8NorBaseAddr = (uint8_t *)EBI_BASE_ADDR;

    /* Reset NOR Flash */
    NOR_Reset();
}
Example #2
0
BOOL NOR_Reset(void)
{
    if(Nordic.isLoaded())
    {
        pFuncGetBool NOR_Reset = (pFuncGetBool)Nordic.resolve("NOR_Reset");
        if(NOR_Reset)
        {
            return NOR_Reset();
        }
    }
	return FALSE;
}