TMPM4G(1) Group Peripheral Driver User Manual  V1.0.0.0
txz_smif_include.h File Reference

This file provides internal common definition. More...

#include "txz_driver_def.h"

Go to the source code of this file.

Macros

#define SMIF_NULL   ((void *)0)
 
#define SMIF_TIMER_INTERVAL   (100)
 
#define SMIF_PARAM_OK   ((int32_t)1)
 
#define SMIF_PARAM_NG   ((int32_t)0)
 
#define SMIF_E_SFLASH_OK   ((int32_t)0)
 
#define SMIF_E_SFLASH_BUSY   ((int32_t)-1)
 
#define SMIF_E_SFLASH_ABORT   ((int32_t)-2)
 
#define SMIF_E_SFLASH_TIMEOUT   ((int32_t)-3)
 
#define SMIF_E_SFLASH_ERROR   ((int32_t)-4)
 
#define SMIF_SFLASH_POLLING_NO_TIME   (0)
 
#define SMIF_SFLASH_POLLING_TIME_QUAD   (100)
 
#define SMIF_SFLASH_POLLING_TIME_WRITE   (100)
 
#define SMIF_SFLASH_POLLING_TIME_ERASE   (5000)
 
#define SMIF_SFLASH_TIMEOUT_US   (300)
 
#define SMIF_SFLASH_TIMEOUT_QUAD   (3000)
 
#define SMIF_SFLASH_TIMEOUT_WRITE   (3)
 
#define SMIF_SFLASH_TIMEOUT_ERASE   (3000)
 
#define SMIF_SFLASH_TIMEOUT_CHIP_ERASE   (500000)
 

Functions

TXZ_Result smif_timer_initialize (void)
 Initialize. More...
 
TXZ_Result smif_timer_finalize (void)
 
TXZ_Result smif_timer_start (void)
 Start. More...
 
TXZ_Result smif_timer_stop (void)
 Stop. More...
 
uint32_t SysOpe_GetTime (void)
 Get base time. More...
 
uint32_t SysOpe_GetElapseTime (uint32_t baseTime)
 Get Elapse time. More...
 
void BusyCheckTimer (void)
 

Detailed Description

This file provides internal common definition.

Version
V1.0.0.0
Date
2017-10-25 10:43:01

DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT.

Copyright(C) Toshiba Electronic Device Solutions Corporation 2019