-: 0:Source:/home/tesena/pointer/test/tmp/procedure/asw_main/tp.c -: 0:Graph:./CMakeFiles/asw_main.dir/tp.c.gcno -: 0:Data:./CMakeFiles/asw_main.dir/tp.c.gcda -: 0:Runs:1 -: 0:Programs:1 -: 1:#include "asw_main.c" -: 2:#include "test_env.h" -: 3: -: 4: -: 5:int ret_hal_led_seton = 0; function hal_led_seton called 0 returned 0% blocks executed 0% #####: 6:int hal_led_seton(const int in_index) -: 7:{ #####: 8: if (in_index == 0) return ret_hal_led_seton; branch 0 never executed branch 1 never executed #####: 9: return ret_hal_led_seton; -: 10:} -: 11: -: 12:int ret_hal_led_setoff = 0; function hal_led_setoff called 0 returned 0% blocks executed 0% #####: 13:int hal_led_setoff(const int in_index) -: 14:{ #####: 15: if (in_index == 0) return ret_hal_led_setoff; branch 0 never executed branch 1 never executed #####: 16: return ret_hal_led_setoff; -: 17:} -: 18: function hal_button_print_on called 1 returned 100% blocks executed 100% 1: 19:void hal_button_print_on(void) -: 20:{ 1: 21:} -: 22: -: 23:hal_button_state_e ret_out_state = HAL_BUTTON_STATE_ON; function hal_button_read called 3 returned 100% blocks executed 100% 3: 24:void hal_button_read(const int in_index, hal_button_state_e *const out_state) -: 25:{ 3: 26: printf("pointer value to out_state: %x\n", out_state); call 0 returned 3 -: 27: -: 28: switch (in_index) -: 29: { -: 30: -: 31: default: 3: 32: break; -: 33: } -: 34: 3: 35: *out_state = ret_out_state; 3: 36: return; -: 37:} -: 38: function asw_next called 0 returned 0% blocks executed 0% #####: 39:void asw_next(void) -: 40:{ #####: 41:} -: 42: -: 43: function tp_01 called 1 returned 100% blocks executed 100% 1: 44:void tp_01(void) -: 45:{ 1: 46: ret_out_state = HAL_BUTTON_STATE_OFF; 1: 47: asw_main(); call 0 returned 1 1: 48:} -: 49: function tp_02 called 1 returned 100% blocks executed 100% 1: 50:void tp_02(void) -: 51:{ 1: 52: ret_out_state = HAL_BUTTON_STATE_ON; 1: 53: asw_main(); call 0 returned 1 1: 54:} -: 55: function tp_03 called 1 returned 100% blocks executed 100% 1: 56:void tp_03(void) -: 57:{ 1: 58: ret_out_state = (hal_button_state_e)555; 1: 59: asw_main(); call 0 returned 1 1: 60:} -: 61: -: 62: function tp_main called 1 returned 100% blocks executed 100% 1: 63:void tp_main(void) -: 64:{ 1: 65: tp_01(); call 0 returned 1 1: 66: tp_02(); call 0 returned 1 1: 67: tp_03(); call 0 returned 1 1: 68:} -: 69: -: 70:/* eof */