Help: ICE_ICELIB_PIC_RESET

Reset a device or device IO port

Function PIC_RESET - Reset a device or device IO port

PIC	p	Handle to Device 
int	flags	Reset flags (FLG_BOOT=Hard, 0=Soft)

Resets the ICE-PIC card or one of its IO ports.

If a PORT=xxx assignment appears in the pic_open() call that opened the
device, only that port will be reset.  Other ports will not be affected.

If no PORT=xxx appears in the pic_open() call or if the FLG_BOOT flag is
present in the flags argument, a full reset of the card is performed.  The
full reset includes Processor reboot, code download and FPGA configuration.

A full reset should be performed at least once after the host computer is
rebooted.  It can also be performed in the beginning of an application if
ports are not being shared by different applications.  In X-Midas, this is
performed by the command PICDRIVER RESET <PIC NAME>.

Note: FLG_BOOT is defined in icelib.h or icelib.inc