101 #define FC_CODE_FLASH_ADDRESS_TOP (0x5E000000UL) 102 //#define FC_CODEFLASHADDRESSEND (0x5E01FFFFUL) 103 #define FC_PAGE_SIZE (0x1000) 104 //#define FC_CODEFLASHPAGESIZE (0x1000) 105 #define FC_CODE_FLASH_WRITE_SIZE (sizeof(uint32_t)*4)
TXZ_Result
Definition: txz_driver_def.h:43
TXZ_Result fc_blank_check_page_code_flash(fc_code_flash_page_number_t first_page, fc_code_flash_page_number_t lasr_page)
Checks a blank of the code Flash ROM of specified pages.
Definition: fc.c:503
TXZ_Result fc_erase_page_code_flash(fc_code_flash_page_number_t first_page, uint8_t num_of_pages)
Auro page erase command of the code flash ROM.
Definition: fc.c:461
TXZ_WorkState
Definition: txz_driver_def.h:48
TXZ_WorkState fc_get_status(fc_sr0_t status)
Get the status of the flash auto operation.
Definition: fc.c:420
fc_code_flash_page_number_t
Definition: fc.h:57
All common macro and definition for TXZ peripheral drivers.
BSPExInt status
Definition: main.c:140
TXZ_Result fc_write_code_flash(uint32_t *src_address, uint32_t *dst_address, uint32_t size)
Auto write command of the code flash ROM.
Definition: fc.c:428
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