Im working with usb for the first time and I wonder if anyone knows why 'Service' - the name of a routine which performs usb housekeeping functions- is saved by the interrupt service routine
ie. save(FSR0, FSR1, Service) what exactly does 'service' save?
thanks.
Code: Select all
***************************************************************************
* Name : OnService (PRIVATE) *
* Purpose : USB service event handler *
****************************************************************************
}
#if USB_SERVICE
interrupt OnService(PriorityLevel)
PIR2Bits.USBIF = 0
save(FSR0, FSR1, Service)
Service
restore
end interrupt
#endif
[/code]