TMPM4G9
V1.0.0.0
|
Functions | |
void | exec_user_program (void) |
execution user program. More... | |
TXZ_Result | verify_fc_func (void) |
veryfy flash data. More... | |
TXZ_Result | rewrite_user_ram (void) |
rewrite user program. More... | |
TXZ_WorkState | fc_get_status (fc_sr0_t status) |
Get the status of the flash auto operation. 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_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_blank_check_page_data_flash (fc_data_flash_page_number_t first_page, fc_data_flash_page_number_t last_page) |
Checks a blank of the data Flash of specified pages. 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... | |
int | main (void) |
Main Function. More... | |
void | irq_usb_uart_rx (BSPUsbUart uart) |
USB UART reception IRQ. More... | |
void | irq_usb_uart_tx (BSPUsbUart uart) |
USB UART transmit IRQ. More... | |
void | irq_usb_uart_err (BSPUsbUart uart) |
USB UART error IRQ. More... | |
void | irq_timer (BSPTimer timer) |
Timer. More... | |
Variables | |
const unsigned char | data_a [256] |
data a More... | |
void exec_user_program | ( | void | ) |
execution user program.
- |
- |
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_data_flash | ( | fc_data_flash_page_number_t | first_page, |
fc_data_flash_page_number_t | last_page | ||
) |
Checks a blank of the data Flash 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. |
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_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_WorkState fc_get_status | ( | fc_sr0_t | status | ) |
Get the status of the flash auto operation.
status |
TXZ_BUSY | : Busy. |
TXZ_DONE | : Done. |
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. |
void irq_timer | ( | BSPTimer | timer | ) |
Timer.
timer | :Timer. |
- |
void irq_usb_uart_err | ( | BSPUsbUart | uart | ) |
USB UART error IRQ.
uart | :USB UART. |
- |
void irq_usb_uart_rx | ( | BSPUsbUart | uart | ) |
USB UART reception IRQ.
uart | :USB UART. |
- |
void irq_usb_uart_tx | ( | BSPUsbUart | uart | ) |
USB UART transmit IRQ.
uart | :USB UART. |
- |
int main | ( | void | ) |
Main Function.
- |
- |
TXZ_Result rewrite_user_ram | ( | void | ) |
rewrite user program.
- |
- |
TXZ_Result verify_fc_func | ( | void | ) |
veryfy flash data.
- |
- |
const unsigned char data_a[256] |
data a