117 #define FC_CODE_FLASH_ADDRESS_TOP (0x5E000000UL) 118 #define FC_CODE_DATA_ADDRESS_TOP (0x30000000UL) 119 #define FC_PAGE_SIZE (0x1000) 120 #define FC_BLOCK_SIZE (0x8000) 121 #define FC_AREA_SIZE (0x320000) 122 #define FC_DATA_FLASH_ADDRESS_TOP (0x30000000UL) 123 #define FC_DATA_PAGE_SIZE (0x100) 124 #define FC_DATA_BLOCK_SIZE (0x1000) 125 #define FC_DATA_AREA_SIZE (0x8000) 126 #define FC_DATA_FLASH_WRITE_SIZE (sizeof(uint32_t)*4) TXZ_Result fc_erase_page_data_flash(fc_data_flash_page_number_t first_page, uint8_t num_of_pages)
Auro page erase command of the data flash.
Definition: fc.c:478
fc_data_flash_page_number_t
Definition: fc.h:59
fc_data_flash_block_number_t
Definition: fc.h:95
TXZ_Result fc_write_data_flash(uint32_t *src_address, uint32_t *dst_address, uint32_t size)
Auto write command of the data flash.
Definition: fc.c:447
TXZ_Result
Definition: txz_driver_def.h:43
TXZ_Result fc_write_cdata_flash(uint32_t *src_address, uint32_t *dst_address, uint32_t size)
TXZ_Result fc_erase_block_data_flash(fc_data_flash_block_number_t first_block, uint8_t num_of_block)
Auto block erase command of the data flash.
Definition: fc.c:542
TXZ_WorkState
Definition: txz_driver_def.h:48
TXZ_Result fc_verify_check(uint32_t *src_address, uint32_t *dst_address, uint32_t size)
Verifies data of the Flash ROM.
Definition: fc.c:319
TXZ_WorkState fc_get_status(fc_sr0_t status)
Get the status of the flash auto operation.
Definition: fc.c:420
TXZ_Result fc_blank_check_area_data_flash(fc_data_flash_area_number_t area)
Checks a blank of the data Flash of specified area.
Definition: fc.c:643
All common macro and definition for TXZ peripheral drivers.
BSPExInt status
Definition: main.c:140
fc_data_flash_area_number_t
Definition: fc.h:106
fc_sr0_t
Enumerated type definition of the FCSR0 register.
Definition: fc.h:43
fc_erase_kind_t
FC Erase Flash Kind structure definenition.
Definition: fc.h:53
TXZ_Result fc_blank_check_block_data_flash(fc_data_flash_block_number_t first_block, fc_data_flash_block_number_t last_block)
Checks a blank of the data Flash of specified blocks.
Definition: fc.c:584
TXZ_Result fc_erase_area_data_flash(fc_data_flash_area_number_t area)
Auto area erase command of the data flash.
Definition: fc.c:606