Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void C28flash_InitSystem (void){
- DINT; // Disable interrupts
- InitSysCtrl(); // Init clocking and stuff
- InitPieCtrl(); // Don't think i need PIE here, but it was in examples, so let it be
- IER = 0x0000; // Clear stuff
- IFR = 0x0000;
- InitPieVectTable(); // Init vectors
- // Copy all of the other code to RAM
- memcpy(&RamfuncsRunStart, &RamfuncsLoadStart, (size_t)&RamfuncsLoadSize);
- };
Advertisement
Add Comment
Please, Sign In to add comment