| Electronic Components Datasheet Search |
|
AN0366 Datasheet(PDF) 10 Page - Zilog, Inc. |
|
|
|||||||||||||||||||||||||||||
AN0366 Datasheet(HTML) 10 Page - Zilog, Inc. |
|
10 / 12 page ![]() AN036602-1013 10 Porting RZK/ZTP Applications to the eZ80L925148MODG Module Application Note If the eZ80L925148MODG preprocessor definition is included in the project settings the compiler uses the settings in the ZFS_Conf_eZ80L925148MODG.c file to configure ZFS, as shown in the following code fragment from ZFS_Conf.c. #ifdef EZ80F910300KITG #include "ZFS_Conf_eZ80F910300KITG.c" #else #ifdef EZ80L925148MODG #include "ZFS_Conf_eZ80L925148MODG.c" #else #include "ZFS_Conf_old.c" #endif #endif The eZ80L925148MODG preprocessor definition also determines the location of the block of Flash memory used to hold the Data Persistence variables as shown in the follow- ing code fragment in the DataPer_Conf.c file: #ifdef _EZ80L92 #ifdef EZ80L925148MODG DATA_PER_CFG_t g_data_per_cfg = { ( void * ) 0x7F0000, /* starting address */ ( UINT32 ) 0x002000UL, /* erasable block size */ FS_AM29LV160_Init, FS_AM29LV160_Read, FS_AM29LV160_Write, FS_AM29LV160_Erase, FS_AM29LV160_Close }; #else DATA_PER_CFG_t g_data_per_cfg = { ( void * ) 0x004000, /* starting address */ ( UINT32 ) 0x002000UL, /* erasable block size */ MT28F008_Init, MT28F008_Read, MT28F008_Write, MT28F008_Erase, MT28F008_Close }; #endif #else DATA_PER_CFG_t g_data_per_cfg = { ( void * ) 0x000000, /* starting address */ ( UINT32 ) 0x000100UL, /* erasable block size */ IntFlash_IP_Init, IntFlash_IP_Read, |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |