VxWorks Reference Manual : Libraries

trgShow

NAME

trgShow - trigger show routine

ROUTINES

trgShowInit( ) - initialize the trigger show facility
trgShow( ) - show trigger information

DESCRIPTION

This library provides routines to show event triggering information, such as list of triggers, associated actions, trigger states, and so on.

The routine trgShowInit( ) links the triggering show facility into the VxWorks system. It is called automatically when INCLUDE_TRIGGER_SHOW is defined.

SEE ALSO

trgShow, trgLib


Libraries : Routines

trgShowInit( )

NAME

trgShowInit( ) - initialize the trigger show facility

SYNOPSIS


void trgShowInit (void)

DESCRIPTION

This routine links the trigger show facility into the VxWorks system. These routines are included automatically when INCLUDE_TRIGGER_SHOW is defined.

RETURNS

N/A

SEE ALSO

trgShow


Libraries : Routines

trgShow( )

NAME

trgShow( ) - show trigger information

SYNOPSIS

STATUS trgShow
    (
    TRIGGER_ID trgId,
    int        level
    )

DESCRIPTION

This routine displays trigger information. If trgId is passed, only the summary for that trigger is displayed. If no parameter is passed, the list of existing triggers is displayed with a summary of their state. For example:

   trgID      Status  EvtID    ActType Action     Dis    Chain
   -----------------------------------------------------------
   0xffedfc   disabled  101          3 0x14e7a4     Y 0xffe088
   0xffe088   enabled    55          1 0x10db58     Y      0x0
If level is 1, then more detailed information is displayed.

EXAMPLE

    -> trgShow trgId, 1

RETURNS

OK.

SEE ALSO

trgShow, trgLib