TMPM4G9
V1.0.0.0
|
Functions | |
TXZ_WorkState | fc_get_status (fc_sr0_t status) |
Get the status of the flash auto operation. More... | |
TXZ_Result | fc_write_cdata_flash (uint32_t *src_address, uint32_t *dst_address, uint32_t size) |
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. More... | |
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. More... | |
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. More... | |
TXZ_Result | fc_erase_area_data_flash (fc_data_flash_area_number_t area) |
Auto area erase command of the data flash. More... | |
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. More... | |
TXZ_Result | fc_write_data_flash (uint32_t *src_address, uint32_t *dst_address, uint32_t size) |
Auto write command of the data flash. More... | |
TXZ_Result | fc_verify_check (uint32_t *src_address, uint32_t *dst_address, uint32_t size) |
Verifies data of the Flash ROM. More... | |
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. More... | |
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. More... | |
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. More... | |
TXZ_Result | fc_write_user_information_area (uint32_t *src_address, uint32_t size) |
Auto write command of the user information area. More... | |
TXZ_Result | fc_erase_user_information_area (void) |
Auro page erase command of the user information area. More... | |
void | fc_read_user_information_area (uint32_t *dst_address, uint32_t size) |
Raed of the user information area. More... | |
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.
area | : The area which checks a blank. |
TXZ_SUCCESS | :Success. |
TXZ_ERROR | :Failure. |
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.
first_block | : The first block which checks a blank. |
last_block | : The last block which checks a blank.. |
TXZ_SUCCESS | :Success. |
TXZ_ERROR | :Failure. |
TXZ_Result fc_blank_check_page_code_flash | ( | fc_code_flash_page_number_t | first_page, |
fc_code_flash_page_number_t | last_page | ||
) |
Checks a blank of the code Flash ROM of specified pages.
first_page | : The first page which checks a blank. |
last_page | : The last page which checks a blank.. |
TXZ_SUCCESS | :Success. |
TXZ_ERROR | :Failure. |
first_page | : The first page which checks a blank. |
last_page | : The last page which checks a blank. |
TXZ_SUCCESS | :Success. |
TXZ_ERROR | :Failure. |
TXZ_Result fc_erase_area_data_flash | ( | fc_data_flash_area_number_t | area | ) |
Auto area erase command of the data flash.
area | : The area block to erase |
TXZ_SUCCESS | :Success. |
TXZ_ERROR | :Failure. |
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.
first_block | : The first block to erase |
num_of_block | : The number of blocks to erase. |
TXZ_SUCCESS | :Success. |
TXZ_ERROR | :Failure. |
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.
first_page | : The first page to erase |
num_of_pages | : The number of pages to erase. |
TXZ_SUCCESS | :Success. |
TXZ_ERROR | :Failure. |
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.
first_page | : The first page to erase |
num_of_pages | : The number of pages to erase. |
TXZ_SUCCESS | :Success. |
TXZ_ERROR | :Failure. |
TXZ_Result fc_erase_user_information_area | ( | void | ) |
Auro page erase command of the user information area.
- |
TXZ_SUCCESS | :Success. |
TXZ_ERROR | :Failure. |
TXZ_WorkState fc_get_status | ( | fc_sr0_t | status | ) |
Get the status of the flash auto operation.
status |
TXZ_BUSY | : Busy. |
TXZ_DONE | : Done. |
void fc_read_user_information_area | ( | uint32_t * | dst_address, |
uint32_t | size | ||
) |
Raed of the user information area.
dst_address | |
size |
- |
TXZ_Result fc_verify_check | ( | uint32_t * | src_address, |
uint32_t * | dst_address, | ||
uint32_t | size | ||
) |
Verifies data of the Flash ROM.
src_address | |
dst_address | |
size |
TXZ_SUCCESS | :Success. |
TXZ_ERROR | :Failure. |
TXZ_Result fc_write_cdata_flash | ( | uint32_t * | src_address, |
uint32_t * | dst_address, | ||
uint32_t | size | ||
) |
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.
src_address | |
dst_address | |
size |
TXZ_SUCCESS | :Success. |
TXZ_ERROR | :Failure. |
TXZ_Result fc_write_data_flash | ( | uint32_t * | src_address, |
uint32_t * | dst_address, | ||
uint32_t | size | ||
) |
Auto write command of the data flash.
src_address | |
dst_address | |
size |
TXZ_SUCCESS | :Success. |
TXZ_ERROR | :Failure. |
TXZ_Result fc_write_user_information_area | ( | uint32_t * | src_address, |
uint32_t | size | ||
) |
Auto write command of the user information area.
src_address | |
size |
TXZ_SUCCESS | :Success. |
TXZ_ERROR | :Failure. |