Help: ICE_ICELIB_PIC_LOADSHARC
Deprecated, use PIC_LOADFILE
Function PIC_LOADSHARC - Deprecated, use PIC_LOADFILE
PIC p Handle to Device
byte prog[] Array of bytes containing the SHARC load file
int nprog Number of 48 bit words in prog[]
int flags Run-time modifiers
Loads a program into the SHARC and begins execution if flags=1.
The SHARC has two register banks. In the ICE-PIC architecture, the 1st bank
is used for user programs and the 2nd bank is used for the interrupt handlers.
This allows for very low overhead interrupt service routines to manage the
ongoing DMA requests. User programs have full access to the DMA control
blocks and any of the IO port control registers. They can be written in C
or SHARC assembler.