VxWorks Reference Manual : Libraries

ncr710CommLib

NAME

ncr710CommLib - common library for ncr710Lib.c and ncr710Lib2.c

ROUTINES

ncr710SingleStep( ) - perform a single-step
ncr710StepEnable( ) - enable/disable script single-step

DESCRIPTION

Contains ncr710Lib and ncr710Lib2 common driver interfaces which can be called from user code.

SEE ALSO

ncr710CommLib, ncr710Lib.c, ncr710Lib2.c, NCR 53C710 SCSI I/O Processor Programming Guide, VxWorks Programmer's Guide: I/O System


Libraries : Routines

ncr710SingleStep( )

NAME

ncr710SingleStep( ) - perform a single-step

SYNOPSIS

void ncr710SingleStep
    (
    SIOP * pSiop,  /* pointer to SIOP info */
    BOOL   verbose /* show all registers */
    )

DESCRIPTION

This routine performs a single-step by writing the STD bit in the DCNTL register. The pSiop parameter is a pointer to the SIOP information. Before executing, enable the single-step facility by calling ncr710StepEnable( ).

RETURNS

N/A

SEE ALSO

ncr710CommLib, ncr710StepEnable( )


Libraries : Routines

ncr710StepEnable( )

NAME

ncr710StepEnable( ) - enable/disable script single-step

SYNOPSIS

void ncr710StepEnable
    (
    SIOP * pSiop,    /* pointer to SIOP info */
    BOOL   boolValue /* TRUE/FALSE to enable/disable single step */
    )

DESCRIPTION

This routine enables/disables the single-step facility on the chip. It also unmasks/masks the single-step interrupt in the Dien register. Before executing any SCSI routines, enable the single-step facility by calling ncr710StepEnable( ) with boolValue set to TRUE. To disable, call it with boolValue set to FALSE.

RETURNS

N/A

SEE ALSO

ncr710CommLib, ncr710SingleStep( )