TMPM4G(1) Group Peripheral Driver User Manual
V1.0.0.0
|
This file provides all the functions prototypes for SMIF Class. More...
#include "txz_driver_def.h"
Go to the source code of this file.
Data Structures | |
struct | SMIF_mapping_setting_t |
Mapping setting structure definition. More... | |
struct | SMIF_clock_setting_t |
Clock setting structure definition. More... | |
struct | SMIF_direct_setting_t |
Direct Read setting structure definition. More... | |
struct | SMIF_initial_setting_t |
Initial setting structure definition. More... | |
struct | SMIF_t |
SMIF handle structure definition. More... | |
Macros | |
#define | SMIF_MAP_BASE_MIN ((uint32_t)0x00000000) |
#define | SMIF_MAP_BASE_MAX ((uint32_t)0x00FFFFFF) |
#define | SMIF_FDEN_64KB (0x00) |
#define | SMIF_FDEN_128KB (0x01) |
#define | SMIF_FDEN_256KB (0x02) |
#define | SMIF_FDEN_512KB (0x03) |
#define | SMIF_FDEN_1MB (0x04) |
#define | SMIF_FDEN_2MB (0x05) |
#define | SMIF_FDEN_4MB (0x06) |
#define | SMIF_FDEN_8MB (0x07) |
#define | SMIF_FDEN_16MB (0x08) |
#define | SMIF_MAP_DISABLE (0x00) |
#define | SMIF_MAP_ENABLE (0x01) |
#define | SMIF_TRANS_CLOCK_MIN ((uint32_t)0x00000001) |
#define | SMIF_TRANS_CLOCK_MAX ((uint32_t)0x0000001F) |
#define | SMIF_DEASERT_TIME_MIN ((uint32_t)0x00000000) |
#define | SMIF_DEASERT_TIME_MAX ((uint32_t)0x000000FF) |
#define | SMIF_WIP_POLLING_DISABLE (0x00) |
#define | SMIF_WIP_POLLING_ENABLE (0x01) |
#define | SMIF_CMD_FAST_READ (0x0B) |
#define | SMIF_CMD_DUAL_OUTPUT (0x3B) |
#define | SMIF_CMD_DUAL_I_O (0xBB) |
#define | SMIF_CMD_QUAD_OUTPUT (0x6B) |
#define | SMIF_CMD_QUAD_I_O (0xEB) |
#define | SMIF_READ_ID_LEN (0x03) |
SMIF_NULL Pointer | |
NULL Pointer. | |
#define | SMIF_NULL ((void *)0) |
SMIF MAX Channel | |
MAX Chanel. | |
#define | SMIF_MAX_CHANNEL (1) |
Functions | |
TXZ_Result | smif_init (SMIF_t *p_obj) |
TXZ_Result | smif_finalize (void) |
TXZ_Result | smif_erase_chip (uint8_t ch) |
TXZ_Result | smif_erase_sector (uint8_t *p_address, uint8_t ch) |
TXZ_Result | smif_write_data (uint8_t *p_dst, uint8_t *p_src, uint32_t length, uint8_t ch) |
TXZ_Result | smif_sflash_read_id (uint8_t *id, uint8_t ch) |
TXZ_Result | smif_bank_read (uint8_t *bank, uint8_t ch) |
TXZ_Result | smif_bank_write (uint8_t bank, uint8_t ch) |
This file provides all the functions prototypes for SMIF Class.
DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT.
Copyright(C) Toshiba Electronic Device Solutions Corporation 2019