C language extension and compilation system supporting method used for polycaryon
A technology of compiling system and C language, applied in the field of C language expansion and compiling system support for multi-core, can solve the problems of indistinguishable programs of processors, no definition of processors, etc., to achieve the effect of easy acceptance and simple application
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0067] A preferred embodiment of the present invention is described in detail as follows in conjunction with accompanying drawing:
[0068] For Freescale's dual-core processor MC9S12XEP100, we use the following routine:
[0069] Routine 1:
[0070] #include / *commondefinesandmacros* /
[0071] #include "derivative.h" / *derivative-specific definitions* /
[0072] INT16UTimInterCount;
[0073] voidTIME_INIT(void){
[0074] ECT_TSCR2=0x05;
[0075] ECT_TSCR1=0x87;
[0076] } / / Allow the main timer to start counting
[0077] voidMain()
[0078] {
[0079] INT16Ui;
[0080] TimInterCount=0;
[0081] TIME_INIT(); / / TimerInitialFunction
[0082] for(;;;)
[0083] {
[0084] If(TimInterCount>5000)
[0085] {PB6=~PB6;
[0086] TimInterCount=0;}
[0087] }
[0088] }
[0089] #pragmaCODE_SEGNON_BANKED
[0090] __interrupt16voidtimerbreak(void)
[0091] {
[0092] DisableInterrupts; / / Turn off total interrupts
[0093] TimI...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap