User ManualTable of ContentsIntroduction to the StarCore SC140 Tools11 File I/O Exercise42 Integer and Fractional Arithmetic Exercise52.1 Hardware Support on StarCore52.2 Compiler Support on StarCore63 Local Versus Global Optimization Exercise94 Memory Alignment Exercise125 Split Summation Exercise166 Multi-Sample Exercise187 Control Code: The True Bit Exercise218 Calling an Assembly Routine From C Exercise239 The Challenge2610 Solutions to Exercises27Disclaimer and Contact Information40Size: 344 KBPages: 40Language: EnglishOpen manual
User ManualTable of ContentsTitle1Abstract and Contents31 Introduction52 SC140 Enhanced OnCE Stopwatch Timer Capabilities62.1 Features62.2 Resources62.3 Implementation63 Setting Up the Stopwatch Timer Within an Application73.1 Initializing the Stopwatch Timer73.2 Starting the Stopwatch Timer93.3 Stopping the Stopwatch Timer103.4 Converting Cycles to Actual Time103.5 Putting it All Together113.6 Adapting Stopwatch Timer Code to Other SC140 Devices124 Setting Up the Stopwatch Timer Within the Debugger124.1 Initializing the Stopwatch Timer124.2 Stopping the Stopwatch Timer155 Setting Up the System Clock Speed165.1 Setting Up the PLL in Software175.2 Setting Up the PLL in Hardware186 Verifying Correct Setup186.1 Using the LED on the SDP186.2 Testing the Stopwatch Timer197 Conclusion218 References21AppendixA Complete Example of Profiling23Size: 439 KBPages: 28Language: EnglishOpen manual