Created on 2009-10-18, 7:59:19.843

Worst Case Thread Lengths

Thead/Function Steps Ram Accesses
GPIO 10 6
            GPIO::GPIO_output_hi 1 0
            GPIO::GPIO_output_lo 1 0
            GPIO::GPIO_input_rising 5 0
            GPIO::GPIO_input_falling 5 0
            GPIO::GPIO_input_either 3 0
            GPIO::GPIO_input_match 10 2
            GPIO::GPIO_input_immediate 9 3
            GPIO::GPIO_match_event 10 6
            GPIO::GPIO_transition_event 9 3
            GPIO::GPIO_undefined    [excluded] 18 1
PWM 15 6
            PWM::PWM_init    [excluded] 27 7
            PWM::PWM_immediate_update 5 3
            PWM::PWM_immediate_update_missed 4 2
            PWM::PWM_coherent_update 10 7
            PWM::PWM_frame_edge_active_high 14 6
            PWM::PWM_frame_edge_active_low 15 6
            PWM::PWM_active_edge 4 2
            PWM::PWM_undefined    [excluded] 18 1
IC 66 12
            IC::IC_init_tcr1    [excluded] 10 2
            IC::IC_init_tcr2    [excluded] 12 2
            IC::IC_init_pram 12 2
            IC::IC_Trans 61 11
            IC::IC_trans_with_ram_ref 66 12
            IC::IC_undefined    [excluded] 18 1
OC 4 2
            OC::OC_init_pin_no_change    [excluded] 52 12
            OC::OC_initialialize_pin_low    [excluded] 55 12
            OC::OC_init_pin_high    [excluded] 55 12
            OC::OC_match 4 2
            OC::OC_undefined    [excluded] 18 1
FPM 13 10
            FPM::Init_FPM    [excluded] 10 0
            FPM::Update_FPM 9 3
            FPM::FIRST_EDGE 4 3
            FPM::TDL_FPM 3 3
            FPM::COUNT_EM_FPM 13 10
            FPM::FPM_undefined    [excluded] 18 1
PPA 50 17
            PPA::PPA_init_tcr2    [excluded] 15 0
            PPA::PPA_init_tcr1    [excluded] 13 0
            PPA::PPA_inactive_srv_req_last_pin_hi 38 12
            PPA::PPA_inactive_srv_req_last_pin_lo 39 12
            PPA::PPA_active_srv_req_last_pin_lo 50 17
            PPA::PPA_active_srv_req_last_pin_hi 49 17
            PPA::PPA_undefined    [excluded] 18 1
UART 30 14
            UART::UART_TX_init    [excluded] 7 0
            UART::UART_RX_init    [excluded] 3 0
            UART::UART_Test_New_Data_Tx 11 6
            UART::UART_Send_Serial_Data_TX 22 8
            UART::UART_Detect_new_data_RX 11 5
            UART::UART_Receive_Serial_Data_RX 30 14
            UART::UART_undefined    [excluded] 18 1
QOM 43 17
            QOM::QOM_init_hi    [excluded] 43 16
            QOM::QOM_init_lo    [excluded] 43 16
            QOM::Init_QOM_LNK_NC 4 2
            QOM::QOM_init_lsr_low 7 2
            QOM::QOM_init_lsr_high 7 2
            QOM::QOM_init_nc 40 16
            QOM::QOM_service_link 43 17
            QOM::Service_single_match0 30 13
            QOM::Service_single_match1 30 13
            QOM::QOM_match_0 33 13
            QOM::QOM_match_1 33 13
            QOM::QOM_undefined    [excluded] 18 1
SM cna
loop
cna
loop
            SM::SM_init_low 7 2
            SM::SM_init_high 5 2
            SM::SM_stop_low 2 0
            SM::SM_stop_high 2 0
            SM::SM_move cna
loop
cna
loop
            SM::SM_step cna
loop
cna
loop
            SM::SM_undefined 18 1
SPI 21 4
            SPI::SPI_init_tcr1    [excluded] 17 0
            SPI::SPI_init_tcr2    [excluded] 19 0
            SPI::SPI_run_tcr2 21 4
            SPI::SPI_run_tcr1 19 4
            SPI::SPI_data_odd_lsb 13 5
            SPI::SPI_data_odd_msb 11 5
            SPI::SPI_data_even_lsb 14 4
            SPI::SPI_data_even_msb 16 4
            SPI::SPI_undefined    [excluded] 18 1
SPWM 31 8
            SPWM::SPWM_init_master    [excluded] 39 10
            SPWM::SPWM_init_slave    [excluded] 12 2
            SPWM::SPWM_rising_edge_master 31 8
            SPWM::SPWM_falling_edge_master 7 1
            SPWM::SPWM_slave_calc 14 7
            SPWM::SPWM_rising_edge_slave 13 7
            SPWM::SPWM_falling_edge_slave 7 4
            SPWM::SPWM_out_of_synch_slave 19 1
            SPWM::SPWM_undefined    [excluded] 18 1
            SPWM::SPWM_undefined_hsr    [excluded] 1 0
TEST 4 0
            TEST::TEST_generate_interrupt 2 0
            TEST::TEST_generate_dtr 2 0
            TEST::TEST_generate_link 2 0
            TEST::TEST_global_exception 2 0
            TEST::TEST_link_request 4 0
            TEST::TEST_undefined    [excluded] 1 0
Global Functions -- --
            PPA_CheckPin 3 0
            PPA_AccumTime 9 5
            PPA_Read1Retrig 5 2
            PPA_Read2Retrig 5 2
            PPA_CheckCount 15 10
            PPA_MeasGlitch 5 2
            Global_Error_Func 15 1
            Link4 6 0

Note: worst case data marked as 'cna' could not be analyzed. See the ETEC documentation for an explanation.

Note: [excluded] is used to denote threads that are excluded from a class's and entry table's WCTL.

Source Code File Information

File Opcodes Code Size (bytes) Start Stop Global Data (bytes)
etpuc_qom.c 157 628 0xF90 0x1200 0
etpuc_sm.c 153 612 0x1204 0x1464 0
etpuc_ppa.c 142 568 0xBAC 0xDE0 0
etpuc_uart.c 107 428 0xDE4 0xF8C 0
etpuc_spwm.c 91 364 0x15B8 0x1720 0
etpuc_spi.c 84 336 0x1468 0x15B4 0
etpuc_oc.c 73 292 0x9F4 0xB14 0
etpuc_pwm.c 69 276 0x7FC 0x90C 0
etpuc_ic.c 57 228 0x910 0x9F0 0
etpuc_set1.c 45 180 0x174C 0x17FC 3
etpuc_fpm.c 37 148 0xB18 0xBA8 0
etpuc_gpio.c 36 144 0x76C 0x7F8 0
etpuc_test.c 10 40 0x1724 0x1748 0
TOTAL 1061 4244 0x76C 0x17FC 3

Note: The entry table is not included in the 'Code Size' column.

Call Tree (max stack is 0 bytes)

Thead/Function Stack for Locals and Calls Max. Stack Depth
GPIO 0 0
      Global_Error_Func 0 0
PWM 0 0
      Global_Error_Func 0 0
IC 0 0
      Link4 0 0
      Global_Error_Func 0 0
OC 0 0
      Global_Error_Func 0 0
FPM 0 0
      Global_Error_Func 0 0
PPA 0 0
      PPA_CheckPin 0 0
      PPA_Read1Retrig 0 0
      PPA_MeasGlitch 0 0
      PPA_CheckCount 0 0
      PPA_Read2Retrig 0 0
      PPA_AccumTime 0 0
      Global_Error_Func 0 0
UART 0 0
      Global_Error_Func 0 0
QOM 0 0
      Global_Error_Func 0 0
SM 0 0
      Global_Error_Func 0 0
SPI 0 0
      Global_Error_Func 0 0
SPWM 0 0
      Link4 0 0
      Global_Error_Func 0 0
TEST 0 0