Functions | |
void | FLASH_QR_UT_UD_cntl_init () |
void | FLASH_QR_UT_UD_cntl_finalize () |
Variables | |
fla_qrutud_t * | flash_qrutud_cntl_leaf |
fla_qrutud_t * | flash_qrutud_cntl |
fla_blocksize_t * | flash_qrutud_var2_bsize |
void FLASH_QR_UT_UD_cntl_finalize | ( | void | ) |
References FLA_Blocksize_free(), and FLA_Cntl_obj_free().
Referenced by FLA_Cntl_finalize_flash().
00068 { 00069 FLA_Cntl_obj_free( flash_qrutud_cntl_leaf ); 00070 FLA_Cntl_obj_free( flash_qrutud_cntl ); 00071 00072 FLA_Blocksize_free( flash_qrutud_var2_bsize ); 00073 }
void FLASH_QR_UT_UD_cntl_init | ( | void | ) |
References FLA_Blocksize_create(), and FLA_Cntl_qrutud_obj_create().
Referenced by FLA_Cntl_init_flash().
00040 { 00041 // Set blocksize for hierarchical storage. 00042 flash_qrutud_var2_bsize = FLA_Blocksize_create( 1, 1, 1, 1 ); 00043 00044 // Create a control tree to invoke variant 1. 00045 flash_qrutud_cntl_leaf = FLA_Cntl_qrutud_obj_create( FLA_HIER, 00046 FLA_SUBPROBLEM, 00047 NULL, 00048 NULL, 00049 NULL, 00050 NULL, 00051 NULL, 00052 NULL, 00053 NULL ); 00054 00055 // Create a control tree to invoke variant 2. 00056 flash_qrutud_cntl = FLA_Cntl_qrutud_obj_create( FLA_HIER, 00057 FLA_BLOCKED_VARIANT2, 00058 flash_qrutud_var2_bsize, 00059 flash_qrutud_cntl_leaf, 00060 NULL, 00061 NULL, 00062 NULL, 00063 NULL, 00064 NULL ); 00065 }