Re: Using legacy files for PIC32MM V2.30
Where can I read the documentation about the following syntax asm volatile("mfc0 %0,$9" : "=r" (coretimer)); ??
I have the PIC32 Ref manual and am reading through that. I interpret the above as doing something with the Count register but don't understand the %0, $9 and : "=r" syntax
How would I set the Compare register to define C_VALUE? would it be asm volatile("mfc0 %0,$11" : "=r" (C_VALUE)); ?
Besides modifying the compare value I will need to set the interrupt priority and enable interrupts, is that C0 register 12?