TMPM4G9
V1.0.0.0
|
Functions | |
void | exec_user_program (void) |
execution user program. More... | |
void | copy_fc_func (void) |
copy flash control functions. More... | |
TXZ_WorkState | fc_get_status (fc_sr0_t status) |
Get the status of the flash auto operation. 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 last_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... | |
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... | |
void copy_fc_func | ( | void | ) |
copy flash control functions.
- |
- |
void exec_user_program | ( | void | ) |
execution user program.
- |
- |
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. |
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_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_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_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. |
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.
- |
- |