VxWorks Reference Manual : Libraries

pcmciaLib

NAME

pcmciaLib - generic PCMCIA event-handling facilities

ROUTINES

pcmciaInit( ) - initialize the PCMCIA event-handling package
pcmciad( ) - handle task-level PCMCIA events

DESCRIPTION

This library provides generic facilities for handling PCMCIA events.

USER-CALLABLE ROUTINES

Before the driver can be used, it must be initialized by calling pcmciaInit( ). This routine should be called exactly once, before any PC card device driver is used. Normally, it is called from usrRoot( ) in usrConfig.c.

The pcmciaInit( ) routine performs the following actions:

The CSC interrupt handler performs the following actions:

SEE ALSO

pcmciaLib


Libraries : Routines

pcmciaInit( )

NAME

pcmciaInit( ) - initialize the PCMCIA event-handling package

SYNOPSIS


STATUS pcmciaInit (void)

DESCRIPTION

This routine installs the PCMCIA event-handling facilities and spawns pcmciad( ), which performs special PCMCIA event-handling functions that need to be done at task level. It also creates the message queue used to communicate with pcmciad( ).

RETURNS

OK, or ERROR if a message queue cannot be created or pcmciad( ) cannot be spawned.

SEE ALSO

pcmciaLib, pcmciad( )


Libraries : Routines

pcmciad( )

NAME

pcmciad( ) - handle task-level PCMCIA events

SYNOPSIS


void pcmciad (void)

DESCRIPTION

This routine is spawned as a task by pcmciaInit( ) to perform functions that cannot be performed at interrupt or trap level. It has a priority of 0. Do not suspend, delete, or change the priority of this task.

RETURNS

N/A

SEE ALSO

pcmciaLib, pcmciaInit( )