ROM used: 15178 (31%) 15178 (31%) including unused fragments 4 Average locations per line 16 Average locations per statement RAM used: 241 (7%) at main() level 287 (9%) worst case Stack used: 9 worst case (out of 31 total available) Lines Stmts % Files ----- ----- --- ----- 104 43 4 main.c 440 0 0 ..\..\..\..\Program Files\PICC\Devices\18F4585.h 642 265 27 RB.c 215 0 0 RB.h 164 0 0 RBapp.h 770 185 19 canfunctions.c 432 0 0 canfunctions.h 297 154 16 ODaccess.c 607 270 28 hsr_serial.c 104 0 0 regloc.h 126 0 0 hsr_serial.h 14 0 0 project.h 127 50 5 RCservo.c ----- ----- 4042 967 Total Page ROM % RAM Vol Diff Functions: ---- --- --- --- --- ---- ---------- 0 38 0 1 @delay_ms1 0 22 0 1 @PUTCHAR_BIU_1 0 36 0 0 @const129 0 32 0 0 @const135 0 32 0 0 @const153 0 664 2 0 @const173 0 64 0 6 458 5.8 CANSetBaudRate 0 14 0 2 66 3.1 CANSetOperationMode 0 248 1 9 1294 7.8 CANInitialize 0 568 2 11 2209 10.1 CANSendMessage 0 280 1 16 647 7.3 CANIDToRegs 0 60 0 8 168 3.6 CANSetMask 0 128 0 8 421 4.7 CANSetFilter 0 770 3 16 2412 9.2 CANReceiveMessage 0 88 0 7 178 5.8 RBSetEEPROM 0 64 0 9 178 5.8 RBReadEEPROM Inline 1 520 4.6 URB_Sizeof Inline 6 480 3.9 URB_translate_microchip_to_ieee 0 230 1 6 480 3.9 URB_translate_ieee_to_microchip Inline 10 515 6.5 OD_read_data 0 34 0 5 @MUL1616 Inline 10 509 6.3 OD_write_data 0 62 0 2 313 4.3 RB_Get_Rx_Mapping_Length 0 62 0 2 313 4.3 RB_Get_Tx_Mapping_Length 0 232 1 6 396 5.4 RB_Get_Tx_Map_Index 0 44 0 0 @goto10450 0 232 1 6 396 5.4 RB_Get_Rx_Map_Index 0 44 0 0 @goto10463 0 188 1 5 396 5.4 RB_Get_Tx_Map_Type 0 44 0 0 @goto10476 0 220 1 5 394 5.6 RB_Get_Rx_Map_Type 0 44 0 0 @goto10489 0 232 1 6 402 6.1 RB_Get_Tx_Map_Address 0 44 0 0 @goto10502 0 264 1 6 404 5.9 RB_Get_Rx_Map_Address 0 44 0 0 @goto10515 0 10 0 0 37 1.3 RB_Initialize 0 1748 6 3 1102 3.4 RB_PM_SetDefaults 0 906 3 6 726 6.8 RB_Send_PM 0 46 0 0 169 4.0 URB_Send_SDO_Reply 0 188 1 7 1041 7.7 RB_Handle_Mapping_Request Inline 8 322 8.2 OD_lookup 0 2824 9 14 3454 10.1 URB_Handle_SDO_Request 0 126 0 2 493 5.6 URBMaintainHeartbeat 0 210 1 8 344 6.5 RB_Process_Outgoing_PM 0 464 2 24 513 6.8 URB_Handle_rPDO 0 138 0 1 332 5.6 RB_reset_from_eeprom 0 348 1 3 1591 5.9 RB_setup_CAN 0 302 1 2 2026 11.4 RB_ProcessStack 0 16 0 0 96 2.1 HSR_SerialInitialization 0 56 0 1 189 2.9 HSR_Release_v2 0 72 0 1 436 4.2 HSR_ReadPosition 0 66 0 2 169 4.1 WaitRxDataReady 0 74 0 4 237 3.1 HSR_WriteMemory_v2 0 74 0 4 237 3.1 HSR_SetPosition 0 68 0 5 @DIV1616 0 228 1 4 508 4.4 RCservo_init 0 72 0 2 @SITOF 0 458 2 14 @DIVFF 0 464 2 4 1340 8.8 initiate_pulse 0 116 0 6 @DIVS1616 0 244 1 11 @MULFF 0 58 0 4 @SFTOI 0 66 0 2 231 4.1 serial_isr 0 46 0 3 @DIV88 0 132 0 4 394 2.8 RB_App_SetFactoryDefaults 0 52 0 1 123 1.3 RB_App_ResetApp 0 60 0 2 100 2.5 ReadPos 0 164 1 2 202 4.9 MAIN Program metrics: Functions 49 Statements 967 Comments 1674 Volume (V) 55106 Difficilty (D) 264.5 Effort to implement (E) 14576401 Time to implement (T) 224 hours, 57 minutes Est Delivered Bugs (B) 20 Cyclomatic Complexity 154 Maintainability (MI) 104 Segment Used Free ----------- ---- ---- 00000-00002 4 0 00004-00006 0 4 00008-0009C 150 0 0009E-0BFFE 15024 33970