123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680 |
- /*
- ** Linker script for PIC24FJ64GB002
- */
- OUTPUT_ARCH("24FJ64GB002")
- CRT0_STARTUP(crt0_standard.o)
- CRT1_STARTUP(crt1_standard.o)
- OPTIONAL(-lpPIC24Fxxx)
- /*
- ** Memory Regions
- */
- MEMORY
- {
- data (a!xr) : ORIGIN = 0x800, LENGTH = 0x1FFF
- reset : ORIGIN = 0x0, LENGTH = 0x4
- ivt : ORIGIN = 0x4, LENGTH = 0xFC
- aivt : ORIGIN = 0x104, LENGTH = 0xFC
- program (xr) : ORIGIN = 0x200, LENGTH = 0xA9F8
- CONFIG4 : ORIGIN = 0xABF8, LENGTH = 0x2
- CONFIG3 : ORIGIN = 0xABFA, LENGTH = 0x2
- CONFIG2 : ORIGIN = 0xABFC, LENGTH = 0x2
- CONFIG1 : ORIGIN = 0xABFE, LENGTH = 0x2
- }
- __CONFIG4 = 0xABF8;
- __CONFIG3 = 0xABFA;
- __CONFIG2 = 0xABFC;
- __CONFIG1 = 0xABFE;
- __NO_HANDLES = 1; /* Suppress handles on this device */
- __IVT_BASE = 0x4;
- __AIVT_BASE = 0x104;
- __DATA_BASE = 0x800;
- __CODE_BASE = 0x200;
- /*
- ** ==================== Section Map ======================
- */
- SECTIONS
- {
- /*
- ** ========== Program Memory ==========
- */
- /*
- ** Reset Instruction
- */
- .reset :
- {
- SHORT(ABSOLUTE(__reset));
- SHORT(0x04);
- SHORT((ABSOLUTE(__reset) >> 16) & 0x7F);
- SHORT(0);
- } >reset
- /*
- ** Interrupt Vector Tables
- **
- ** The primary and alternate tables are loaded
- ** here, between sections .reset and .text.
- ** Vector table source code appears below.
- */
- /*
- ** User Code and Library Code
- **
- ** This section must not be assigned to __CODE_BASE,
- ** because CodeGuard(tm) sections may be located there.
- **
- ** Note that input sections *(.text) are not mapped here.
- ** The best-fit allocator locates them, so that .text
- ** may flow around PSV sections as needed.
- */
- .text :
- {
- *(.init);
- *(.user_init);
- *(.handle);
- *(.libc) *(.libm) *(.libdsp); /* keep together in this order */
- *(.lib*);
- } >program
- /*
- ** User-Defined Section in Program Memory
- **
- ** note: can specify an address using
- ** the following syntax:
- **
- ** usercode 0x1234 :
- ** {
- ** *(usercode);
- ** } >program
- */
- usercode :
- {
- *(usercode);
- } >program
- /*
- ** User-Defined Constants in Program Memory
- **
- ** For PSV type sections, the Load Memory Address (LMA)
- ** should be specified as follows:
- **
- ** userconst : AT(0x1234)
- ** {
- ** *(userconst);
- ** } >program
- **
- ** Note that mapping PSV sections in linker scripts
- ** is not generally recommended.
- **
- ** Because of page alignment restrictions, memory is
- ** often used more efficiently when PSV sections
- ** do not appear in the linker script.
- **
- ** For more information on memory allocation,
- ** please refer to chapter 10, 'Linker Processing'
- ** in the Assembler, Linker manual (DS51317).
- */
- /*
- ** Configuration Words
- */
- __CONFIG4 :
- { *(__CONFIG4.sec) } >CONFIG4
- __CONFIG3 :
- { *(__CONFIG3.sec) } >CONFIG3
- __CONFIG2 :
- { *(__CONFIG2.sec) } >CONFIG2
- __CONFIG1 :
- { *(__CONFIG1.sec) } >CONFIG1
- /*
- ** =========== Data Memory ===========
- */
- /*
- ** ICD Debug Exec
- **
- ** This section provides optional storage for
- ** the ICD2 debugger. Define a global symbol
- ** named __ICD2RAM to enable ICD2. This section
- ** must be loaded at data address 0x800.
- */
- .icd __DATA_BASE (NOLOAD):
- {
- . += (DEFINED (__ICD2RAM) ? 0x50 : 0 );
- } > data
- /*
- ** Other sections in data memory are not explicitly mapped.
- ** Instead they are allocated according to their section
- ** attributes, which is most efficient.
- **
- ** If a specific arrangement of sections is required
- ** (other than what can be achieved using attributes)
- ** additional sections may be defined here. See chapter
- ** 10.5 in the MPLAB ASM30/LINK30 User's Guide (DS51317)
- ** for more information.
- */
- /*
- ** ========== Debug Info ==============
- */
- .comment 0 : { *(.comment) }
- /*
- ** DWARF-2
- */
- .debug_info 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- .debug_ranges 0 : { *(.debug_ranges) }
- .debug_aranges 0 : { *(.debug_aranges) }
- } /* SECTIONS */
- /*
- ** ================= End of Section Map ================
- */
- /*
- ** Section Map for Interrupt Vector Tables
- */
- SECTIONS
- {
- /*
- ** Interrupt Vector Table
- */
- .ivt __IVT_BASE :
- {
- LONG( DEFINED(__ReservedTrap0) ? ABSOLUTE(__ReservedTrap0) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__OscillatorFail) ? ABSOLUTE(__OscillatorFail) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__AddressError) ? ABSOLUTE(__AddressError) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__StackError) ? ABSOLUTE(__StackError) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__MathError) ? ABSOLUTE(__MathError) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__ReservedTrap5) ? ABSOLUTE(__ReservedTrap5) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__ReservedTrap6) ? ABSOLUTE(__ReservedTrap6) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__ReservedTrap7) ? ABSOLUTE(__ReservedTrap7) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__INT0Interrupt) ? ABSOLUTE(__INT0Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__IC1Interrupt) ? ABSOLUTE(__IC1Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__OC1Interrupt) ? ABSOLUTE(__OC1Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__T1Interrupt) ? ABSOLUTE(__T1Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt4) ? ABSOLUTE(__Interrupt4) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__IC2Interrupt) ? ABSOLUTE(__IC2Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__OC2Interrupt) ? ABSOLUTE(__OC2Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__T2Interrupt) ? ABSOLUTE(__T2Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__T3Interrupt) ? ABSOLUTE(__T3Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__SPI1ErrInterrupt) ? ABSOLUTE(__SPI1ErrInterrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__SPI1Interrupt) ? ABSOLUTE(__SPI1Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__U1RXInterrupt) ? ABSOLUTE(__U1RXInterrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__U1TXInterrupt) ? ABSOLUTE(__U1TXInterrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__ADC1Interrupt) ? ABSOLUTE(__ADC1Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt14) ? ABSOLUTE(__Interrupt14) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt15) ? ABSOLUTE(__Interrupt15) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__SI2C1Interrupt) ? ABSOLUTE(__SI2C1Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__MI2C1Interrupt) ? ABSOLUTE(__MI2C1Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__CompInterrupt) ? ABSOLUTE(__CompInterrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__CNInterrupt) ? ABSOLUTE(__CNInterrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__INT1Interrupt) ? ABSOLUTE(__INT1Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt21) ? ABSOLUTE(__Interrupt21) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt22) ? ABSOLUTE(__Interrupt22) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt23) ? ABSOLUTE(__Interrupt23) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt24) ? ABSOLUTE(__Interrupt24) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__OC3Interrupt) ? ABSOLUTE(__OC3Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__OC4Interrupt) ? ABSOLUTE(__OC4Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__T4Interrupt) ? ABSOLUTE(__T4Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__T5Interrupt) ? ABSOLUTE(__T5Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__INT2Interrupt) ? ABSOLUTE(__INT2Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__U2RXInterrupt) ? ABSOLUTE(__U2RXInterrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__U2TXInterrupt) ? ABSOLUTE(__U2TXInterrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__SPI2ErrInterrupt) ? ABSOLUTE(__SPI2ErrInterrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__SPI2Interrupt) ? ABSOLUTE(__SPI2Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt34) ? ABSOLUTE(__Interrupt34) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt35) ? ABSOLUTE(__Interrupt35) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt36) ? ABSOLUTE(__Interrupt36) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__IC3Interrupt) ? ABSOLUTE(__IC3Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__IC4Interrupt) ? ABSOLUTE(__IC4Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__IC5Interrupt) ? ABSOLUTE(__IC5Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt40) ? ABSOLUTE(__Interrupt40) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__OC5Interrupt) ? ABSOLUTE(__OC5Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt42) ? ABSOLUTE(__Interrupt42) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt43) ? ABSOLUTE(__Interrupt43) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt44) ? ABSOLUTE(__Interrupt44) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__PMPInterrupt) ? ABSOLUTE(__PMPInterrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt46) ? ABSOLUTE(__Interrupt46) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt47) ? ABSOLUTE(__Interrupt47) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt48) ? ABSOLUTE(__Interrupt48) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__SI2C2Interrupt) ? ABSOLUTE(__SI2C2Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__MI2C2Interrupt) ? ABSOLUTE(__MI2C2Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt51) ? ABSOLUTE(__Interrupt51) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt52) ? ABSOLUTE(__Interrupt52) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt53) ? ABSOLUTE(__Interrupt53) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt54) ? ABSOLUTE(__Interrupt54) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt55) ? ABSOLUTE(__Interrupt55) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt56) ? ABSOLUTE(__Interrupt56) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt57) ? ABSOLUTE(__Interrupt57) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt58) ? ABSOLUTE(__Interrupt58) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt59) ? ABSOLUTE(__Interrupt59) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt60) ? ABSOLUTE(__Interrupt60) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt61) ? ABSOLUTE(__Interrupt61) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__RTCCInterrupt) ? ABSOLUTE(__RTCCInterrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt63) ? ABSOLUTE(__Interrupt63) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt64) ? ABSOLUTE(__Interrupt64) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__U1ErrInterrupt) ? ABSOLUTE(__U1ErrInterrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__U2ErrInterrupt) ? ABSOLUTE(__U2ErrInterrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__CRCInterrupt) ? ABSOLUTE(__CRCInterrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt68) ? ABSOLUTE(__Interrupt68) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt69) ? ABSOLUTE(__Interrupt69) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt70) ? ABSOLUTE(__Interrupt70) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt71) ? ABSOLUTE(__Interrupt71) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__LVDInterrupt) ? ABSOLUTE(__LVDInterrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt73) ? ABSOLUTE(__Interrupt73) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt74) ? ABSOLUTE(__Interrupt74) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt75) ? ABSOLUTE(__Interrupt75) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt76) ? ABSOLUTE(__Interrupt76) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__CTMUInterrupt) ? ABSOLUTE(__CTMUInterrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt78) ? ABSOLUTE(__Interrupt78) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt79) ? ABSOLUTE(__Interrupt79) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt80) ? ABSOLUTE(__Interrupt80) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt81) ? ABSOLUTE(__Interrupt81) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt82) ? ABSOLUTE(__Interrupt82) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt83) ? ABSOLUTE(__Interrupt83) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt84) ? ABSOLUTE(__Interrupt84) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt85) ? ABSOLUTE(__Interrupt85) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__USB1Interrupt) ? ABSOLUTE(__USB1Interrupt) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt87) ? ABSOLUTE(__Interrupt87) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt88) ? ABSOLUTE(__Interrupt88) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt89) ? ABSOLUTE(__Interrupt89) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt90) ? ABSOLUTE(__Interrupt90) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt91) ? ABSOLUTE(__Interrupt91) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt92) ? ABSOLUTE(__Interrupt92) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt93) ? ABSOLUTE(__Interrupt93) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt94) ? ABSOLUTE(__Interrupt94) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt95) ? ABSOLUTE(__Interrupt95) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt96) ? ABSOLUTE(__Interrupt96) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt97) ? ABSOLUTE(__Interrupt97) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt98) ? ABSOLUTE(__Interrupt98) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt99) ? ABSOLUTE(__Interrupt99) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt100) ? ABSOLUTE(__Interrupt100) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt101) ? ABSOLUTE(__Interrupt101) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt102) ? ABSOLUTE(__Interrupt102) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt103) ? ABSOLUTE(__Interrupt103) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt104) ? ABSOLUTE(__Interrupt104) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt105) ? ABSOLUTE(__Interrupt105) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt106) ? ABSOLUTE(__Interrupt106) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt107) ? ABSOLUTE(__Interrupt107) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt108) ? ABSOLUTE(__Interrupt108) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt109) ? ABSOLUTE(__Interrupt109) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt110) ? ABSOLUTE(__Interrupt110) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt111) ? ABSOLUTE(__Interrupt111) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt112) ? ABSOLUTE(__Interrupt112) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt113) ? ABSOLUTE(__Interrupt113) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt114) ? ABSOLUTE(__Interrupt114) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt115) ? ABSOLUTE(__Interrupt115) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt116) ? ABSOLUTE(__Interrupt116) :
- ABSOLUTE(__DefaultInterrupt));
- LONG( DEFINED(__Interrupt117) ? ABSOLUTE(__Interrupt117) :
- ABSOLUTE(__DefaultInterrupt));
- } >ivt
- /*
- ** Alternate Interrupt Vector Table
- */
- .aivt __AIVT_BASE :
- {
- LONG( DEFINED(__AltReservedTrap0) ? ABSOLUTE(__AltReservedTrap0) :
- (DEFINED(__ReservedTrap0) ? ABSOLUTE(__ReservedTrap0) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltOscillatorFail) ? ABSOLUTE(__AltOscillatorFail) :
- (DEFINED(__OscillatorFail) ? ABSOLUTE(__OscillatorFail) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltAddressError) ? ABSOLUTE(__AltAddressError) :
- (DEFINED(__AddressError) ? ABSOLUTE(__AddressError) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltStackError) ? ABSOLUTE(__AltStackError) :
- (DEFINED(__StackError) ? ABSOLUTE(__StackError) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltMathError) ? ABSOLUTE(__AltMathError) :
- (DEFINED(__MathError) ? ABSOLUTE(__MathError) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltReservedTrap5) ? ABSOLUTE(__AltReservedTrap5) :
- (DEFINED(__ReservedTrap5) ? ABSOLUTE(__ReservedTrap5) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltReservedTrap6) ? ABSOLUTE(__AltReservedTrap6) :
- (DEFINED(__ReservedTrap6) ? ABSOLUTE(__ReservedTrap6) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltReservedTrap7) ? ABSOLUTE(__AltReservedTrap7) :
- (DEFINED(__ReservedTrap7) ? ABSOLUTE(__ReservedTrap7) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltINT0Interrupt) ? ABSOLUTE(__AltINT0Interrupt) :
- (DEFINED(__INT0Interrupt) ? ABSOLUTE(__INT0Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltIC1Interrupt) ? ABSOLUTE(__AltIC1Interrupt) :
- (DEFINED(__IC1Interrupt) ? ABSOLUTE(__IC1Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltOC1Interrupt) ? ABSOLUTE(__AltOC1Interrupt) :
- (DEFINED(__OC1Interrupt) ? ABSOLUTE(__OC1Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltT1Interrupt) ? ABSOLUTE(__AltT1Interrupt) :
- (DEFINED(__T1Interrupt) ? ABSOLUTE(__T1Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt4) ? ABSOLUTE(__AltInterrupt4) :
- (DEFINED(__Interrupt4) ? ABSOLUTE(__Interrupt4) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltIC2Interrupt) ? ABSOLUTE(__AltIC2Interrupt) :
- (DEFINED(__IC2Interrupt) ? ABSOLUTE(__IC2Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltOC2Interrupt) ? ABSOLUTE(__AltOC2Interrupt) :
- (DEFINED(__OC2Interrupt) ? ABSOLUTE(__OC2Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltT2Interrupt) ? ABSOLUTE(__AltT2Interrupt) :
- (DEFINED(__T2Interrupt) ? ABSOLUTE(__T2Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltT3Interrupt) ? ABSOLUTE(__AltT3Interrupt) :
- (DEFINED(__T3Interrupt) ? ABSOLUTE(__T3Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltSPI1ErrInterrupt) ? ABSOLUTE(__AltSPI1ErrInterrupt) :
- (DEFINED(__SPI1ErrInterrupt) ? ABSOLUTE(__SPI1ErrInterrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltSPI1Interrupt) ? ABSOLUTE(__AltSPI1Interrupt) :
- (DEFINED(__SPI1Interrupt) ? ABSOLUTE(__SPI1Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltU1RXInterrupt) ? ABSOLUTE(__AltU1RXInterrupt) :
- (DEFINED(__U1RXInterrupt) ? ABSOLUTE(__U1RXInterrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltU1TXInterrupt) ? ABSOLUTE(__AltU1TXInterrupt) :
- (DEFINED(__U1TXInterrupt) ? ABSOLUTE(__U1TXInterrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltADC1Interrupt) ? ABSOLUTE(__AltADC1Interrupt) :
- (DEFINED(__ADC1Interrupt) ? ABSOLUTE(__ADC1Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt14) ? ABSOLUTE(__AltInterrupt14) :
- (DEFINED(__Interrupt14) ? ABSOLUTE(__Interrupt14) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt15) ? ABSOLUTE(__AltInterrupt15) :
- (DEFINED(__Interrupt15) ? ABSOLUTE(__Interrupt15) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltSI2C1Interrupt) ? ABSOLUTE(__AltSI2C1Interrupt) :
- (DEFINED(__SI2C1Interrupt) ? ABSOLUTE(__SI2C1Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltMI2C1Interrupt) ? ABSOLUTE(__AltMI2C1Interrupt) :
- (DEFINED(__MI2C1Interrupt) ? ABSOLUTE(__MI2C1Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltCompInterrupt) ? ABSOLUTE(__AltCompInterrupt) :
- (DEFINED(__CompInterrupt) ? ABSOLUTE(__CompInterrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltCNInterrupt) ? ABSOLUTE(__AltCNInterrupt) :
- (DEFINED(__CNInterrupt) ? ABSOLUTE(__CNInterrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltINT1Interrupt) ? ABSOLUTE(__AltINT1Interrupt) :
- (DEFINED(__INT1Interrupt) ? ABSOLUTE(__INT1Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt21) ? ABSOLUTE(__AltInterrupt21) :
- (DEFINED(__Interrupt21) ? ABSOLUTE(__Interrupt21) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt22) ? ABSOLUTE(__AltInterrupt22) :
- (DEFINED(__Interrupt22) ? ABSOLUTE(__Interrupt22) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt23) ? ABSOLUTE(__AltInterrupt23) :
- (DEFINED(__Interrupt23) ? ABSOLUTE(__Interrupt23) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt24) ? ABSOLUTE(__AltInterrupt24) :
- (DEFINED(__Interrupt24) ? ABSOLUTE(__Interrupt24) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltOC3Interrupt) ? ABSOLUTE(__AltOC3Interrupt) :
- (DEFINED(__OC3Interrupt) ? ABSOLUTE(__OC3Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltOC4Interrupt) ? ABSOLUTE(__AltOC4Interrupt) :
- (DEFINED(__OC4Interrupt) ? ABSOLUTE(__OC4Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltT4Interrupt) ? ABSOLUTE(__AltT4Interrupt) :
- (DEFINED(__T4Interrupt) ? ABSOLUTE(__T4Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltT5Interrupt) ? ABSOLUTE(__AltT5Interrupt) :
- (DEFINED(__T5Interrupt) ? ABSOLUTE(__T5Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltINT2Interrupt) ? ABSOLUTE(__AltINT2Interrupt) :
- (DEFINED(__INT2Interrupt) ? ABSOLUTE(__INT2Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltU2RXInterrupt) ? ABSOLUTE(__AltU2RXInterrupt) :
- (DEFINED(__U2RXInterrupt) ? ABSOLUTE(__U2RXInterrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltU2TXInterrupt) ? ABSOLUTE(__AltU2TXInterrupt) :
- (DEFINED(__U2TXInterrupt) ? ABSOLUTE(__U2TXInterrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltSPI2ErrInterrupt) ? ABSOLUTE(__AltSPI2ErrInterrupt) :
- (DEFINED(__SPI2ErrInterrupt) ? ABSOLUTE(__SPI2ErrInterrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltSPI2Interrupt) ? ABSOLUTE(__AltSPI2Interrupt) :
- (DEFINED(__SPI2Interrupt) ? ABSOLUTE(__SPI2Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt34) ? ABSOLUTE(__AltInterrupt34) :
- (DEFINED(__Interrupt34) ? ABSOLUTE(__Interrupt34) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt35) ? ABSOLUTE(__AltInterrupt35) :
- (DEFINED(__Interrupt35) ? ABSOLUTE(__Interrupt35) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt36) ? ABSOLUTE(__AltInterrupt36) :
- (DEFINED(__Interrupt36) ? ABSOLUTE(__Interrupt36) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltIC3Interrupt) ? ABSOLUTE(__AltIC3Interrupt) :
- (DEFINED(__IC3Interrupt) ? ABSOLUTE(__IC3Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltIC4Interrupt) ? ABSOLUTE(__AltIC4Interrupt) :
- (DEFINED(__IC4Interrupt) ? ABSOLUTE(__IC4Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltIC5Interrupt) ? ABSOLUTE(__AltIC5Interrupt) :
- (DEFINED(__IC5Interrupt) ? ABSOLUTE(__IC5Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt40) ? ABSOLUTE(__AltInterrupt40) :
- (DEFINED(__Interrupt40) ? ABSOLUTE(__Interrupt40) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltOC5Interrupt) ? ABSOLUTE(__AltOC5Interrupt) :
- (DEFINED(__OC5Interrupt) ? ABSOLUTE(__OC5Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt42) ? ABSOLUTE(__AltInterrupt42) :
- (DEFINED(__Interrupt42) ? ABSOLUTE(__Interrupt42) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt43) ? ABSOLUTE(__AltInterrupt43) :
- (DEFINED(__Interrupt43) ? ABSOLUTE(__Interrupt43) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt44) ? ABSOLUTE(__AltInterrupt44) :
- (DEFINED(__Interrupt44) ? ABSOLUTE(__Interrupt44) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltPMPInterrupt) ? ABSOLUTE(__AltPMPInterrupt) :
- (DEFINED(__PMPInterrupt) ? ABSOLUTE(__PMPInterrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt46) ? ABSOLUTE(__AltInterrupt46) :
- (DEFINED(__Interrupt46) ? ABSOLUTE(__Interrupt46) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt47) ? ABSOLUTE(__AltInterrupt47) :
- (DEFINED(__Interrupt47) ? ABSOLUTE(__Interrupt47) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt48) ? ABSOLUTE(__AltInterrupt48) :
- (DEFINED(__Interrupt48) ? ABSOLUTE(__Interrupt48) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltSI2C2Interrupt) ? ABSOLUTE(__AltSI2C2Interrupt) :
- (DEFINED(__SI2C2Interrupt) ? ABSOLUTE(__SI2C2Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltMI2C2Interrupt) ? ABSOLUTE(__AltMI2C2Interrupt) :
- (DEFINED(__MI2C2Interrupt) ? ABSOLUTE(__MI2C2Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt51) ? ABSOLUTE(__AltInterrupt51) :
- (DEFINED(__Interrupt51) ? ABSOLUTE(__Interrupt51) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt52) ? ABSOLUTE(__AltInterrupt52) :
- (DEFINED(__Interrupt52) ? ABSOLUTE(__Interrupt52) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt53) ? ABSOLUTE(__AltInterrupt53) :
- (DEFINED(__Interrupt53) ? ABSOLUTE(__Interrupt53) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt54) ? ABSOLUTE(__AltInterrupt54) :
- (DEFINED(__Interrupt54) ? ABSOLUTE(__Interrupt54) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt55) ? ABSOLUTE(__AltInterrupt55) :
- (DEFINED(__Interrupt55) ? ABSOLUTE(__Interrupt55) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt56) ? ABSOLUTE(__AltInterrupt56) :
- (DEFINED(__Interrupt56) ? ABSOLUTE(__Interrupt56) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt57) ? ABSOLUTE(__AltInterrupt57) :
- (DEFINED(__Interrupt57) ? ABSOLUTE(__Interrupt57) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt58) ? ABSOLUTE(__AltInterrupt58) :
- (DEFINED(__Interrupt58) ? ABSOLUTE(__Interrupt58) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt59) ? ABSOLUTE(__AltInterrupt59) :
- (DEFINED(__Interrupt59) ? ABSOLUTE(__Interrupt59) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt60) ? ABSOLUTE(__AltInterrupt60) :
- (DEFINED(__Interrupt60) ? ABSOLUTE(__Interrupt60) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt61) ? ABSOLUTE(__AltInterrupt61) :
- (DEFINED(__Interrupt61) ? ABSOLUTE(__Interrupt61) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltRTCCInterrupt) ? ABSOLUTE(__AltRTCCInterrupt) :
- (DEFINED(__RTCCInterrupt) ? ABSOLUTE(__RTCCInterrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt63) ? ABSOLUTE(__AltInterrupt63) :
- (DEFINED(__Interrupt63) ? ABSOLUTE(__Interrupt63) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt64) ? ABSOLUTE(__AltInterrupt64) :
- (DEFINED(__Interrupt64) ? ABSOLUTE(__Interrupt64) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltU1ErrInterrupt) ? ABSOLUTE(__AltU1ErrInterrupt) :
- (DEFINED(__U1ErrInterrupt) ? ABSOLUTE(__U1ErrInterrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltU2ErrInterrupt) ? ABSOLUTE(__AltU2ErrInterrupt) :
- (DEFINED(__U2ErrInterrupt) ? ABSOLUTE(__U2ErrInterrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltCRCInterrupt) ? ABSOLUTE(__AltCRCInterrupt) :
- (DEFINED(__CRCInterrupt) ? ABSOLUTE(__CRCInterrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt68) ? ABSOLUTE(__AltInterrupt68) :
- (DEFINED(__Interrupt68) ? ABSOLUTE(__Interrupt68) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt69) ? ABSOLUTE(__AltInterrupt69) :
- (DEFINED(__Interrupt69) ? ABSOLUTE(__Interrupt69) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt70) ? ABSOLUTE(__AltInterrupt70) :
- (DEFINED(__Interrupt70) ? ABSOLUTE(__Interrupt70) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt71) ? ABSOLUTE(__AltInterrupt71) :
- (DEFINED(__Interrupt71) ? ABSOLUTE(__Interrupt71) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltLVDInterrupt) ? ABSOLUTE(__AltLVDInterrupt) :
- (DEFINED(__LVDInterrupt) ? ABSOLUTE(__LVDInterrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt73) ? ABSOLUTE(__AltInterrupt73) :
- (DEFINED(__Interrupt73) ? ABSOLUTE(__Interrupt73) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt74) ? ABSOLUTE(__AltInterrupt74) :
- (DEFINED(__Interrupt74) ? ABSOLUTE(__Interrupt74) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt75) ? ABSOLUTE(__AltInterrupt75) :
- (DEFINED(__Interrupt75) ? ABSOLUTE(__Interrupt75) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt76) ? ABSOLUTE(__AltInterrupt76) :
- (DEFINED(__Interrupt76) ? ABSOLUTE(__Interrupt76) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltCTMUInterrupt) ? ABSOLUTE(__AltCTMUInterrupt) :
- (DEFINED(__CTMUInterrupt) ? ABSOLUTE(__CTMUInterrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt78) ? ABSOLUTE(__AltInterrupt78) :
- (DEFINED(__Interrupt78) ? ABSOLUTE(__Interrupt78) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt79) ? ABSOLUTE(__AltInterrupt79) :
- (DEFINED(__Interrupt79) ? ABSOLUTE(__Interrupt79) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt80) ? ABSOLUTE(__AltInterrupt80) :
- (DEFINED(__Interrupt80) ? ABSOLUTE(__Interrupt80) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt81) ? ABSOLUTE(__AltInterrupt81) :
- (DEFINED(__Interrupt81) ? ABSOLUTE(__Interrupt81) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt82) ? ABSOLUTE(__AltInterrupt82) :
- (DEFINED(__Interrupt82) ? ABSOLUTE(__Interrupt82) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt83) ? ABSOLUTE(__AltInterrupt83) :
- (DEFINED(__Interrupt83) ? ABSOLUTE(__Interrupt83) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt84) ? ABSOLUTE(__AltInterrupt84) :
- (DEFINED(__Interrupt84) ? ABSOLUTE(__Interrupt84) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt85) ? ABSOLUTE(__AltInterrupt85) :
- (DEFINED(__Interrupt85) ? ABSOLUTE(__Interrupt85) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltUSB1Interrupt) ? ABSOLUTE(__AltUSB1Interrupt) :
- (DEFINED(__USB1Interrupt) ? ABSOLUTE(__USB1Interrupt) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt87) ? ABSOLUTE(__AltInterrupt87) :
- (DEFINED(__Interrupt87) ? ABSOLUTE(__Interrupt87) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt88) ? ABSOLUTE(__AltInterrupt88) :
- (DEFINED(__Interrupt88) ? ABSOLUTE(__Interrupt88) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt89) ? ABSOLUTE(__AltInterrupt89) :
- (DEFINED(__Interrupt89) ? ABSOLUTE(__Interrupt89) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt90) ? ABSOLUTE(__AltInterrupt90) :
- (DEFINED(__Interrupt90) ? ABSOLUTE(__Interrupt90) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt91) ? ABSOLUTE(__AltInterrupt91) :
- (DEFINED(__Interrupt91) ? ABSOLUTE(__Interrupt91) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt92) ? ABSOLUTE(__AltInterrupt92) :
- (DEFINED(__Interrupt92) ? ABSOLUTE(__Interrupt92) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt93) ? ABSOLUTE(__AltInterrupt93) :
- (DEFINED(__Interrupt93) ? ABSOLUTE(__Interrupt93) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt94) ? ABSOLUTE(__AltInterrupt94) :
- (DEFINED(__Interrupt94) ? ABSOLUTE(__Interrupt94) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt95) ? ABSOLUTE(__AltInterrupt95) :
- (DEFINED(__Interrupt95) ? ABSOLUTE(__Interrupt95) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt96) ? ABSOLUTE(__AltInterrupt96) :
- (DEFINED(__Interrupt96) ? ABSOLUTE(__Interrupt96) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt97) ? ABSOLUTE(__AltInterrupt97) :
- (DEFINED(__Interrupt97) ? ABSOLUTE(__Interrupt97) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt98) ? ABSOLUTE(__AltInterrupt98) :
- (DEFINED(__Interrupt98) ? ABSOLUTE(__Interrupt98) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt99) ? ABSOLUTE(__AltInterrupt99) :
- (DEFINED(__Interrupt99) ? ABSOLUTE(__Interrupt99) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt100) ? ABSOLUTE(__AltInterrupt100) :
- (DEFINED(__Interrupt100) ? ABSOLUTE(__Interrupt100) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt101) ? ABSOLUTE(__AltInterrupt101) :
- (DEFINED(__Interrupt101) ? ABSOLUTE(__Interrupt101) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt102) ? ABSOLUTE(__AltInterrupt102) :
- (DEFINED(__Interrupt102) ? ABSOLUTE(__Interrupt102) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt103) ? ABSOLUTE(__AltInterrupt103) :
- (DEFINED(__Interrupt103) ? ABSOLUTE(__Interrupt103) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt104) ? ABSOLUTE(__AltInterrupt104) :
- (DEFINED(__Interrupt104) ? ABSOLUTE(__Interrupt104) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt105) ? ABSOLUTE(__AltInterrupt105) :
- (DEFINED(__Interrupt105) ? ABSOLUTE(__Interrupt105) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt106) ? ABSOLUTE(__AltInterrupt106) :
- (DEFINED(__Interrupt106) ? ABSOLUTE(__Interrupt106) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt107) ? ABSOLUTE(__AltInterrupt107) :
- (DEFINED(__Interrupt107) ? ABSOLUTE(__Interrupt107) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt108) ? ABSOLUTE(__AltInterrupt108) :
- (DEFINED(__Interrupt108) ? ABSOLUTE(__Interrupt108) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt109) ? ABSOLUTE(__AltInterrupt109) :
- (DEFINED(__Interrupt109) ? ABSOLUTE(__Interrupt109) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt110) ? ABSOLUTE(__AltInterrupt110) :
- (DEFINED(__Interrupt110) ? ABSOLUTE(__Interrupt110) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt111) ? ABSOLUTE(__AltInterrupt111) :
- (DEFINED(__Interrupt111) ? ABSOLUTE(__Interrupt111) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt112) ? ABSOLUTE(__AltInterrupt112) :
- (DEFINED(__Interrupt112) ? ABSOLUTE(__Interrupt112) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt113) ? ABSOLUTE(__AltInterrupt113) :
- (DEFINED(__Interrupt113) ? ABSOLUTE(__Interrupt113) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt114) ? ABSOLUTE(__AltInterrupt114) :
- (DEFINED(__Interrupt114) ? ABSOLUTE(__Interrupt114) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt115) ? ABSOLUTE(__AltInterrupt115) :
- (DEFINED(__Interrupt115) ? ABSOLUTE(__Interrupt115) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt116) ? ABSOLUTE(__AltInterrupt116) :
- (DEFINED(__Interrupt116) ? ABSOLUTE(__Interrupt116) :
- ABSOLUTE(__DefaultInterrupt)));
- LONG( DEFINED(__AltInterrupt117) ? ABSOLUTE(__AltInterrupt117) :
- (DEFINED(__Interrupt117) ? ABSOLUTE(__Interrupt117) :
- ABSOLUTE(__DefaultInterrupt)));
- } >aivt
- } /* SECTIONS */
- /*
- ** ============== Equates for SFR Addresses =============
- */
- WREG0 = 0x0;
- _WREG0 = 0x0;
- WREG1 = 0x2;
- _WREG1 = 0x2;
- WREG2 = 0x4;
- _WREG2 = 0x4;
- WREG3 = 0x6;
- _WREG3 = 0x6;
- WREG4 = 0x8;
- _WREG4 = 0x8;
- WREG5 = 0xA;
- _WREG5 = 0xA;
- WREG6 = 0xC;
- _WREG6 = 0xC;
- WREG7 = 0xE;
- _WREG7 = 0xE;
- WREG8 = 0x10;
- _WREG8 = 0x10;
- WREG9 = 0x12;
- _WREG9 = 0x12;
- WREG10 = 0x14;
- _WREG10 = 0x14;
- WREG11 = 0x16;
- _WREG11 = 0x16;
- WREG12 = 0x18;
- _WREG12 = 0x18;
- WREG13 = 0x1A;
- _WREG13 = 0x1A;
- WREG14 = 0x1C;
- _WREG14 = 0x1C;
- WREG15 = 0x1E;
- _WREG15 = 0x1E;
- SPLIM = 0x20;
- _SPLIM = 0x20;
- PCL = 0x2E;
- _PCL = 0x2E;
- PCH = 0x30;
- _PCH = 0x30;
- TBLPAG = 0x32;
- _TBLPAG = 0x32;
- PSVPAG = 0x34;
- _PSVPAG = 0x34;
- RCOUNT = 0x36;
- _RCOUNT = 0x36;
- SR = 0x42;
- _SR = 0x42;
- _SRbits = 0x42;
- CORCON = 0x44;
- _CORCON = 0x44;
- _CORCONbits = 0x44;
- DISICNT = 0x52;
- _DISICNT = 0x52;
- CNEN1 = 0x60;
- _CNEN1 = 0x60;
- _CNEN1bits = 0x60;
- CNEN2 = 0x62;
- _CNEN2 = 0x62;
- _CNEN2bits = 0x62;
- CNPU1 = 0x68;
- _CNPU1 = 0x68;
- _CNPU1bits = 0x68;
- CNPU2 = 0x6A;
- _CNPU2 = 0x6A;
- _CNPU2bits = 0x6A;
- INTCON1 = 0x80;
- _INTCON1 = 0x80;
- _INTCON1bits = 0x80;
- INTCON2 = 0x82;
- _INTCON2 = 0x82;
- _INTCON2bits = 0x82;
- IFS0 = 0x84;
- _IFS0 = 0x84;
- _IFS0bits = 0x84;
- IFS1 = 0x86;
- _IFS1 = 0x86;
- _IFS1bits = 0x86;
- IFS2 = 0x88;
- _IFS2 = 0x88;
- _IFS2bits = 0x88;
- IFS3 = 0x8A;
- _IFS3 = 0x8A;
- _IFS3bits = 0x8A;
- IFS4 = 0x8C;
- _IFS4 = 0x8C;
- _IFS4bits = 0x8C;
- IFS5 = 0x8E;
- _IFS5 = 0x8E;
- _IFS5bits = 0x8E;
- IEC0 = 0x94;
- _IEC0 = 0x94;
- _IEC0bits = 0x94;
- IEC1 = 0x96;
- _IEC1 = 0x96;
- _IEC1bits = 0x96;
- IEC2 = 0x98;
- _IEC2 = 0x98;
- _IEC2bits = 0x98;
- IEC3 = 0x9A;
- _IEC3 = 0x9A;
- _IEC3bits = 0x9A;
- IEC4 = 0x9C;
- _IEC4 = 0x9C;
- _IEC4bits = 0x9C;
- IEC5 = 0x9E;
- _IEC5 = 0x9E;
- _IEC5bits = 0x9E;
- IPC0 = 0xA4;
- _IPC0 = 0xA4;
- _IPC0bits = 0xA4;
- IPC1 = 0xA6;
- _IPC1 = 0xA6;
- _IPC1bits = 0xA6;
- IPC2 = 0xA8;
- _IPC2 = 0xA8;
- _IPC2bits = 0xA8;
- IPC3 = 0xAA;
- _IPC3 = 0xAA;
- _IPC3bits = 0xAA;
- IPC4 = 0xAC;
- _IPC4 = 0xAC;
- _IPC4bits = 0xAC;
- IPC5 = 0xAE;
- _IPC5 = 0xAE;
- _IPC5bits = 0xAE;
- IPC6 = 0xB0;
- _IPC6 = 0xB0;
- _IPC6bits = 0xB0;
- IPC7 = 0xB2;
- _IPC7 = 0xB2;
- _IPC7bits = 0xB2;
- IPC8 = 0xB4;
- _IPC8 = 0xB4;
- _IPC8bits = 0xB4;
- IPC9 = 0xB6;
- _IPC9 = 0xB6;
- _IPC9bits = 0xB6;
- IPC10 = 0xB8;
- _IPC10 = 0xB8;
- _IPC10bits = 0xB8;
- IPC11 = 0xBA;
- _IPC11 = 0xBA;
- _IPC11bits = 0xBA;
- IPC12 = 0xBC;
- _IPC12 = 0xBC;
- _IPC12bits = 0xBC;
- IPC15 = 0xC2;
- _IPC15 = 0xC2;
- _IPC15bits = 0xC2;
- IPC16 = 0xC4;
- _IPC16 = 0xC4;
- _IPC16bits = 0xC4;
- IPC18 = 0xC8;
- _IPC18 = 0xC8;
- _IPC18bits = 0xC8;
- IPC19 = 0xCA;
- _IPC19 = 0xCA;
- _IPC19bits = 0xCA;
- IPC21 = 0xCE;
- _IPC21 = 0xCE;
- _IPC21bits = 0xCE;
- INTTREG = 0xE0;
- _INTTREG = 0xE0;
- _INTTREGbits = 0xE0;
- TMR1 = 0x100;
- _TMR1 = 0x100;
- PR1 = 0x102;
- _PR1 = 0x102;
- T1CON = 0x104;
- _T1CON = 0x104;
- _T1CONbits = 0x104;
- TMR2 = 0x106;
- _TMR2 = 0x106;
- TMR3HLD = 0x108;
- _TMR3HLD = 0x108;
- TMR3 = 0x10A;
- _TMR3 = 0x10A;
- PR2 = 0x10C;
- _PR2 = 0x10C;
- PR3 = 0x10E;
- _PR3 = 0x10E;
- T2CON = 0x110;
- _T2CON = 0x110;
- _T2CONbits = 0x110;
- T3CON = 0x112;
- _T3CON = 0x112;
- _T3CONbits = 0x112;
- TMR4 = 0x114;
- _TMR4 = 0x114;
- TMR5HLD = 0x116;
- _TMR5HLD = 0x116;
- TMR5 = 0x118;
- _TMR5 = 0x118;
- PR4 = 0x11A;
- _PR4 = 0x11A;
- PR5 = 0x11C;
- _PR5 = 0x11C;
- T4CON = 0x11E;
- _T4CON = 0x11E;
- _T4CONbits = 0x11E;
- T5CON = 0x120;
- _T5CON = 0x120;
- _T5CONbits = 0x120;
- IC1CON1 = 0x140;
- _IC1CON1 = 0x140;
- _IC1CON1bits = 0x140;
- IC1CON2 = 0x142;
- _IC1CON2 = 0x142;
- _IC1CON2bits = 0x142;
- IC1BUF = 0x144;
- _IC1BUF = 0x144;
- IC1TMR = 0x146;
- _IC1TMR = 0x146;
- IC2CON1 = 0x148;
- _IC2CON1 = 0x148;
- _IC2CON1bits = 0x148;
- IC2CON2 = 0x14A;
- _IC2CON2 = 0x14A;
- _IC2CON2bits = 0x14A;
- IC2BUF = 0x14C;
- _IC2BUF = 0x14C;
- IC2TMR = 0x14E;
- _IC2TMR = 0x14E;
- IC3CON1 = 0x150;
- _IC3CON1 = 0x150;
- _IC3CON1bits = 0x150;
- IC3CON2 = 0x152;
- _IC3CON2 = 0x152;
- _IC3CON2bits = 0x152;
- IC3BUF = 0x154;
- _IC3BUF = 0x154;
- IC3TMR = 0x156;
- _IC3TMR = 0x156;
- IC4CON1 = 0x158;
- _IC4CON1 = 0x158;
- _IC4CON1bits = 0x158;
- IC4CON2 = 0x15A;
- _IC4CON2 = 0x15A;
- _IC4CON2bits = 0x15A;
- IC4BUF = 0x15C;
- _IC4BUF = 0x15C;
- IC4TMR = 0x15E;
- _IC4TMR = 0x15E;
- IC5CON1 = 0x160;
- _IC5CON1 = 0x160;
- _IC5CON1bits = 0x160;
- IC5CON2 = 0x162;
- _IC5CON2 = 0x162;
- _IC5CON2bits = 0x162;
- IC5BUF = 0x164;
- _IC5BUF = 0x164;
- IC5TMR = 0x166;
- _IC5TMR = 0x166;
- OC1CON1 = 0x190;
- _OC1CON1 = 0x190;
- _OC1CON1bits = 0x190;
- OC1CON2 = 0x192;
- _OC1CON2 = 0x192;
- _OC1CON2bits = 0x192;
- OC1RS = 0x194;
- _OC1RS = 0x194;
- OC1R = 0x196;
- _OC1R = 0x196;
- OC1TMR = 0x198;
- _OC1TMR = 0x198;
- OC2CON1 = 0x19A;
- _OC2CON1 = 0x19A;
- _OC2CON1bits = 0x19A;
- OC2CON2 = 0x19C;
- _OC2CON2 = 0x19C;
- _OC2CON2bits = 0x19C;
- OC2RS = 0x19E;
- _OC2RS = 0x19E;
- OC2R = 0x1A0;
- _OC2R = 0x1A0;
- OC2TMR = 0x1A2;
- _OC2TMR = 0x1A2;
- OC3CON1 = 0x1A4;
- _OC3CON1 = 0x1A4;
- _OC3CON1bits = 0x1A4;
- OC3CON2 = 0x1A6;
- _OC3CON2 = 0x1A6;
- _OC3CON2bits = 0x1A6;
- OC3RS = 0x1A8;
- _OC3RS = 0x1A8;
- OC3R = 0x1AA;
- _OC3R = 0x1AA;
- OC3TMR = 0x1AC;
- _OC3TMR = 0x1AC;
- OC4CON1 = 0x1AE;
- _OC4CON1 = 0x1AE;
- _OC4CON1bits = 0x1AE;
- OC4CON2 = 0x1B0;
- _OC4CON2 = 0x1B0;
- _OC4CON2bits = 0x1B0;
- OC4RS = 0x1B2;
- _OC4RS = 0x1B2;
- OC4R = 0x1B4;
- _OC4R = 0x1B4;
- OC4TMR = 0x1B6;
- _OC4TMR = 0x1B6;
- OC5CON1 = 0x1B8;
- _OC5CON1 = 0x1B8;
- _OC5CON1bits = 0x1B8;
- OC5CON2 = 0x1BA;
- _OC5CON2 = 0x1BA;
- _OC5CON2bits = 0x1BA;
- OC5RS = 0x1BC;
- _OC5RS = 0x1BC;
- OC5R = 0x1BE;
- _OC5R = 0x1BE;
- OC5TMR = 0x1C0;
- _OC5TMR = 0x1C0;
- I2C1RCV = 0x200;
- _I2C1RCV = 0x200;
- I2C1TRN = 0x202;
- _I2C1TRN = 0x202;
- I2C1BRG = 0x204;
- _I2C1BRG = 0x204;
- I2C1CON = 0x206;
- _I2C1CON = 0x206;
- _I2C1CONbits = 0x206;
- I2C1STAT = 0x208;
- _I2C1STAT = 0x208;
- _I2C1STATbits = 0x208;
- I2C1ADD = 0x20A;
- _I2C1ADD = 0x20A;
- I2C1MSK = 0x20C;
- _I2C1MSK = 0x20C;
- I2C2RCV = 0x210;
- _I2C2RCV = 0x210;
- I2C2TRN = 0x212;
- _I2C2TRN = 0x212;
- I2C2BRG = 0x214;
- _I2C2BRG = 0x214;
- I2C2CON = 0x216;
- _I2C2CON = 0x216;
- _I2C2CONbits = 0x216;
- I2C2STAT = 0x218;
- _I2C2STAT = 0x218;
- _I2C2STATbits = 0x218;
- I2C2ADD = 0x21A;
- _I2C2ADD = 0x21A;
- I2C2MSK = 0x21C;
- _I2C2MSK = 0x21C;
- U1MODE = 0x220;
- _U1MODE = 0x220;
- _U1MODEbits = 0x220;
- U1STA = 0x222;
- _U1STA = 0x222;
- _U1STAbits = 0x222;
- U1TXREG = 0x224;
- _U1TXREG = 0x224;
- _U1TXREGbits = 0x224;
- U1RXREG = 0x226;
- _U1RXREG = 0x226;
- _U1RXREGbits = 0x226;
- U1BRG = 0x228;
- _U1BRG = 0x228;
- U2MODE = 0x230;
- _U2MODE = 0x230;
- _U2MODEbits = 0x230;
- U2STA = 0x232;
- _U2STA = 0x232;
- _U2STAbits = 0x232;
- U2TXREG = 0x234;
- _U2TXREG = 0x234;
- _U2TXREGbits = 0x234;
- U2RXREG = 0x236;
- _U2RXREG = 0x236;
- _U2RXREGbits = 0x236;
- U2BRG = 0x238;
- _U2BRG = 0x238;
- SPI1STAT = 0x240;
- _SPI1STAT = 0x240;
- _SPI1STATbits = 0x240;
- SPI1CON1 = 0x242;
- _SPI1CON1 = 0x242;
- _SPI1CON1bits = 0x242;
- SPI1CON2 = 0x244;
- _SPI1CON2 = 0x244;
- _SPI1CON2bits = 0x244;
- SPI1BUF = 0x248;
- _SPI1BUF = 0x248;
- SPI2STAT = 0x260;
- _SPI2STAT = 0x260;
- _SPI2STATbits = 0x260;
- SPI2CON1 = 0x262;
- _SPI2CON1 = 0x262;
- _SPI2CON1bits = 0x262;
- SPI2CON2 = 0x264;
- _SPI2CON2 = 0x264;
- _SPI2CON2bits = 0x264;
- SPI2BUF = 0x268;
- _SPI2BUF = 0x268;
- TRISA = 0x2C0;
- _TRISA = 0x2C0;
- _TRISAbits = 0x2C0;
- PORTA = 0x2C2;
- _PORTA = 0x2C2;
- _PORTAbits = 0x2C2;
- LATA = 0x2C4;
- _LATA = 0x2C4;
- _LATAbits = 0x2C4;
- ODCA = 0x2C6;
- _ODCA = 0x2C6;
- _ODCAbits = 0x2C6;
- TRISB = 0x2C8;
- _TRISB = 0x2C8;
- _TRISBbits = 0x2C8;
- PORTB = 0x2CA;
- _PORTB = 0x2CA;
- _PORTBbits = 0x2CA;
- LATB = 0x2CC;
- _LATB = 0x2CC;
- _LATBbits = 0x2CC;
- ODCB = 0x2CE;
- _ODCB = 0x2CE;
- _ODCBbits = 0x2CE;
- PADCFG1 = 0x2FC;
- _PADCFG1 = 0x2FC;
- _PADCFG1bits = 0x2FC;
- ADC1BUF0 = 0x300;
- _ADC1BUF0 = 0x300;
- ADC1BUF1 = 0x302;
- _ADC1BUF1 = 0x302;
- ADC1BUF2 = 0x304;
- _ADC1BUF2 = 0x304;
- ADC1BUF3 = 0x306;
- _ADC1BUF3 = 0x306;
- ADC1BUF4 = 0x308;
- _ADC1BUF4 = 0x308;
- ADC1BUF5 = 0x30A;
- _ADC1BUF5 = 0x30A;
- ADC1BUF6 = 0x30C;
- _ADC1BUF6 = 0x30C;
- ADC1BUF7 = 0x30E;
- _ADC1BUF7 = 0x30E;
- ADC1BUF8 = 0x310;
- _ADC1BUF8 = 0x310;
- ADC1BUF9 = 0x312;
- _ADC1BUF9 = 0x312;
- ADC1BUFA = 0x314;
- _ADC1BUFA = 0x314;
- ADC1BUFB = 0x316;
- _ADC1BUFB = 0x316;
- ADC1BUFC = 0x318;
- _ADC1BUFC = 0x318;
- ADC1BUFD = 0x31A;
- _ADC1BUFD = 0x31A;
- ADC1BUFE = 0x31C;
- _ADC1BUFE = 0x31C;
- ADC1BUFF = 0x31E;
- _ADC1BUFF = 0x31E;
- AD1CON1 = 0x320;
- _AD1CON1 = 0x320;
- _AD1CON1bits = 0x320;
- AD1CON2 = 0x322;
- _AD1CON2 = 0x322;
- _AD1CON2bits = 0x322;
- AD1CON3 = 0x324;
- _AD1CON3 = 0x324;
- _AD1CON3bits = 0x324;
- AD1CHS = 0x328;
- _AD1CHS = 0x328;
- _AD1CHSbits = 0x328;
- AD1CHS0 = 0x328;
- _AD1CHS0 = 0x328;
- _AD1CHS0bits = 0x328;
- AD1PCFG = 0x32C;
- _AD1PCFG = 0x32C;
- _AD1PCFGbits = 0x32C;
- AD1PCFGL = 0x32C;
- _AD1PCFGL = 0x32C;
- _AD1PCFGLbits = 0x32C;
- AD1CSSL = 0x330;
- _AD1CSSL = 0x330;
- _AD1CSSLbits = 0x330;
- CTMUCON = 0x33C;
- _CTMUCON = 0x33C;
- _CTMUCONbits = 0x33C;
- CTMUICON = 0x33E;
- _CTMUICON = 0x33E;
- _CTMUICONbits = 0x33E;
- U1OTGIR = 0x480;
- _U1OTGIR = 0x480;
- _U1OTGIRbits = 0x480;
- U1OTGIE = 0x482;
- _U1OTGIE = 0x482;
- _U1OTGIEbits = 0x482;
- U1OTGSTAT = 0x484;
- _U1OTGSTAT = 0x484;
- _U1OTGSTATbits = 0x484;
- U1OTGCON = 0x486;
- _U1OTGCON = 0x486;
- _U1OTGCONbits = 0x486;
- U1PWRC = 0x488;
- _U1PWRC = 0x488;
- _U1PWRCbits = 0x488;
- U1IR = 0x48A;
- _U1IR = 0x48A;
- _U1IRbits = 0x48A;
- U1IE = 0x48C;
- _U1IE = 0x48C;
- _U1IEbits = 0x48C;
- U1EIR = 0x48E;
- _U1EIR = 0x48E;
- _U1EIRbits = 0x48E;
- U1EIE = 0x490;
- _U1EIE = 0x490;
- _U1EIEbits = 0x490;
- U1STAT = 0x492;
- _U1STAT = 0x492;
- _U1STATbits = 0x492;
- U1CON = 0x494;
- _U1CON = 0x494;
- _U1CONbits = 0x494;
- U1ADDR = 0x496;
- _U1ADDR = 0x496;
- _U1ADDRbits = 0x496;
- U1BDTP1 = 0x498;
- _U1BDTP1 = 0x498;
- _U1BDTP1bits = 0x498;
- U1FRML = 0x49A;
- _U1FRML = 0x49A;
- _U1FRMLbits = 0x49A;
- U1FRMH = 0x49C;
- _U1FRMH = 0x49C;
- _U1FRMHbits = 0x49C;
- U1TOK = 0x49E;
- _U1TOK = 0x49E;
- _U1TOKbits = 0x49E;
- U1SOF = 0x4A0;
- _U1SOF = 0x4A0;
- _U1SOFbits = 0x4A0;
- U1CNFG1 = 0x4A6;
- _U1CNFG1 = 0x4A6;
- _U1CNFG1bits = 0x4A6;
- U1CNFG2 = 0x4A8;
- _U1CNFG2 = 0x4A8;
- _U1CNFG2bits = 0x4A8;
- U1EP0 = 0x4AA;
- _U1EP0 = 0x4AA;
- _U1EP0bits = 0x4AA;
- U1EP1 = 0x4AC;
- _U1EP1 = 0x4AC;
- _U1EP1bits = 0x4AC;
- U1EP2 = 0x4AE;
- _U1EP2 = 0x4AE;
- _U1EP2bits = 0x4AE;
- U1EP3 = 0x4B0;
- _U1EP3 = 0x4B0;
- _U1EP3bits = 0x4B0;
- U1EP4 = 0x4B2;
- _U1EP4 = 0x4B2;
- _U1EP4bits = 0x4B2;
- U1EP5 = 0x4B4;
- _U1EP5 = 0x4B4;
- _U1EP5bits = 0x4B4;
- U1EP6 = 0x4B6;
- _U1EP6 = 0x4B6;
- _U1EP6bits = 0x4B6;
- U1EP7 = 0x4B8;
- _U1EP7 = 0x4B8;
- _U1EP7bits = 0x4B8;
- U1EP8 = 0x4BA;
- _U1EP8 = 0x4BA;
- _U1EP8bits = 0x4BA;
- U1EP9 = 0x4BC;
- _U1EP9 = 0x4BC;
- _U1EP9bits = 0x4BC;
- U1EP10 = 0x4BE;
- _U1EP10 = 0x4BE;
- _U1EP10bits = 0x4BE;
- U1EP11 = 0x4C0;
- _U1EP11 = 0x4C0;
- _U1EP11bits = 0x4C0;
- U1EP12 = 0x4C2;
- _U1EP12 = 0x4C2;
- _U1EP12bits = 0x4C2;
- U1EP13 = 0x4C4;
- _U1EP13 = 0x4C4;
- _U1EP13bits = 0x4C4;
- U1EP14 = 0x4C6;
- _U1EP14 = 0x4C6;
- _U1EP14bits = 0x4C6;
- U1EP15 = 0x4C8;
- _U1EP15 = 0x4C8;
- _U1EP15bits = 0x4C8;
- U1PWMRRS = 0x4CC;
- _U1PWMRRS = 0x4CC;
- _U1PWMRRSbits = 0x4CC;
- U1PWMCON = 0x4CE;
- _U1PWMCON = 0x4CE;
- _U1PWMCONbits = 0x4CE;
- PMCON = 0x600;
- _PMCON = 0x600;
- _PMCONbits = 0x600;
- PMMODE = 0x602;
- _PMMODE = 0x602;
- _PMMODEbits = 0x602;
- PMADDR = 0x604;
- _PMADDR = 0x604;
- _PMADDRbits = 0x604;
- PMDOUT1 = 0x604;
- _PMDOUT1 = 0x604;
- _PMDOUT1bits = 0x604;
- PMDOUT2 = 0x606;
- _PMDOUT2 = 0x606;
- PMDIN1 = 0x608;
- _PMDIN1 = 0x608;
- PMDIN2 = 0x60A;
- _PMDIN2 = 0x60A;
- PMAEN = 0x60C;
- _PMAEN = 0x60C;
- _PMAENbits = 0x60C;
- PMSTAT = 0x60E;
- _PMSTAT = 0x60E;
- _PMSTATbits = 0x60E;
- ALRMVAL = 0x620;
- _ALRMVAL = 0x620;
- ALCFGRPT = 0x622;
- _ALCFGRPT = 0x622;
- _ALCFGRPTbits = 0x622;
- RTCVAL = 0x624;
- _RTCVAL = 0x624;
- RCFGCAL = 0x626;
- _RCFGCAL = 0x626;
- _RCFGCALbits = 0x626;
- CRCCON = 0x640;
- _CRCCON = 0x640;
- _CRCCONbits = 0x640;
- CRCCON1 = 0x640;
- _CRCCON1 = 0x640;
- _CRCCON1bits = 0x640;
- CRCCON2 = 0x642;
- _CRCCON2 = 0x642;
- _CRCCON2bits = 0x642;
- CRCXOR = 0x644;
- _CRCXOR = 0x644;
- _CRCXORbits = 0x644;
- CRCXORL = 0x644;
- _CRCXORL = 0x644;
- _CRCXORLbits = 0x644;
- CRCXORH = 0x646;
- _CRCXORH = 0x646;
- _CRCXORHbits = 0x646;
- CRCDAT = 0x648;
- _CRCDAT = 0x648;
- CRCDATL = 0x648;
- _CRCDATL = 0x648;
- CRCDATH = 0x64A;
- _CRCDATH = 0x64A;
- CRCWDAT = 0x64C;
- _CRCWDAT = 0x64C;
- CRCWDATL = 0x64C;
- _CRCWDATL = 0x64C;
- CRCWDATH = 0x64E;
- _CRCWDATH = 0x64E;
- CMSTAT = 0x650;
- _CMSTAT = 0x650;
- _CMSTATbits = 0x650;
- CVRCON = 0x652;
- _CVRCON = 0x652;
- _CVRCONbits = 0x652;
- CM1CON = 0x654;
- _CM1CON = 0x654;
- _CM1CONbits = 0x654;
- CM2CON = 0x65C;
- _CM2CON = 0x65C;
- _CM2CONbits = 0x65C;
- CM3CON = 0x664;
- _CM3CON = 0x664;
- _CM3CONbits = 0x664;
- RPINR0 = 0x680;
- _RPINR0 = 0x680;
- _RPINR0bits = 0x680;
- RPINR1 = 0x682;
- _RPINR1 = 0x682;
- _RPINR1bits = 0x682;
- RPINR3 = 0x686;
- _RPINR3 = 0x686;
- _RPINR3bits = 0x686;
- RPINR4 = 0x688;
- _RPINR4 = 0x688;
- _RPINR4bits = 0x688;
- RPINR7 = 0x68E;
- _RPINR7 = 0x68E;
- _RPINR7bits = 0x68E;
- RPINR8 = 0x690;
- _RPINR8 = 0x690;
- _RPINR8bits = 0x690;
- RPINR9 = 0x692;
- _RPINR9 = 0x692;
- _RPINR9bits = 0x692;
- RPINR11 = 0x696;
- _RPINR11 = 0x696;
- _RPINR11bits = 0x696;
- RPINR18 = 0x6A4;
- _RPINR18 = 0x6A4;
- _RPINR18bits = 0x6A4;
- RPINR19 = 0x6A6;
- _RPINR19 = 0x6A6;
- _RPINR19bits = 0x6A6;
- RPINR20 = 0x6A8;
- _RPINR20 = 0x6A8;
- _RPINR20bits = 0x6A8;
- RPINR21 = 0x6AA;
- _RPINR21 = 0x6AA;
- _RPINR21bits = 0x6AA;
- RPINR22 = 0x6AC;
- _RPINR22 = 0x6AC;
- _RPINR22bits = 0x6AC;
- RPINR23 = 0x6AE;
- _RPINR23 = 0x6AE;
- _RPINR23bits = 0x6AE;
- RPOR0 = 0x6C0;
- _RPOR0 = 0x6C0;
- _RPOR0bits = 0x6C0;
- RPOR1 = 0x6C2;
- _RPOR1 = 0x6C2;
- _RPOR1bits = 0x6C2;
- RPOR2 = 0x6C4;
- _RPOR2 = 0x6C4;
- _RPOR2bits = 0x6C4;
- RPOR3 = 0x6C6;
- _RPOR3 = 0x6C6;
- _RPOR3bits = 0x6C6;
- RPOR4 = 0x6C8;
- _RPOR4 = 0x6C8;
- _RPOR4bits = 0x6C8;
- RPOR5 = 0x6CA;
- _RPOR5 = 0x6CA;
- _RPOR5bits = 0x6CA;
- RPOR6 = 0x6CC;
- _RPOR6 = 0x6CC;
- _RPOR6bits = 0x6CC;
- RPOR7 = 0x6CE;
- _RPOR7 = 0x6CE;
- _RPOR7bits = 0x6CE;
- RCON = 0x740;
- _RCON = 0x740;
- _RCONbits = 0x740;
- OSCCON = 0x742;
- _OSCCON = 0x742;
- _OSCCONbits = 0x742;
- OSCCONL = 0x742;
- _OSCCONL = 0x742;
- OSCCONH = 0x743;
- _OSCCONH = 0x743;
- CLKDIV = 0x744;
- _CLKDIV = 0x744;
- _CLKDIVbits = 0x744;
- OSCTUN = 0x748;
- _OSCTUN = 0x748;
- _OSCTUNbits = 0x748;
- REFOCON = 0x74E;
- _REFOCON = 0x74E;
- _REFOCONbits = 0x74E;
- DSCON = 0x758;
- _DSCON = 0x758;
- _DSCONbits = 0x758;
- DSWAKE = 0x75A;
- _DSWAKE = 0x75A;
- _DSWAKEbits = 0x75A;
- DSGPR0 = 0x75C;
- _DSGPR0 = 0x75C;
- _DSGPR0bits = 0x75C;
- DSGPR1 = 0x75E;
- _DSGPR1 = 0x75E;
- _DSGPR1bits = 0x75E;
- NVMCON = 0x760;
- _NVMCON = 0x760;
- _NVMCONbits = 0x760;
- NVMKEY = 0x766;
- _NVMKEY = 0x766;
- PMD1 = 0x770;
- _PMD1 = 0x770;
- _PMD1bits = 0x770;
- PMD2 = 0x772;
- _PMD2 = 0x772;
- _PMD2bits = 0x772;
- PMD3 = 0x774;
- _PMD3 = 0x774;
- _PMD3bits = 0x774;
- PMD4 = 0x776;
- _PMD4 = 0x776;
- _PMD4bits = 0x776;
- /*
- ** ======= Base Addresses for Various Peripherals ======
- */
- IC1 = 0x144;
- _IC1 = 0x144;
- IC2 = 0x14C;
- _IC2 = 0x14C;
- IC3 = 0x154;
- _IC3 = 0x154;
- IC4 = 0x15C;
- _IC4 = 0x15C;
- IC5 = 0x164;
- _IC5 = 0x164;
- OC1 = 0x194;
- _OC1 = 0x194;
- OC2 = 0x19E;
- _OC2 = 0x19E;
- OC3 = 0x1A8;
- _OC3 = 0x1A8;
- OC4 = 0x1B2;
- _OC4 = 0x1B2;
- OC5 = 0x1BC;
- _OC5 = 0x1BC;
- SPI1 = 0x240;
- _SPI1 = 0x240;
- SPI2 = 0x260;
- _SPI2 = 0x260;
- UART1 = 0x220;
- _UART1 = 0x220;
- UART2 = 0x230;
- _UART2 = 0x230;
|