codaObject::vxSIS3610InterruptService Class Reference

Implements InterruptService for SIS 3610 board. More...

#include <vxSIS3610InterruptService.hxx>

Inheritance diagram for codaObject::vxSIS3610InterruptService:
codaObject::InterruptService

List of all members.

Public Member Functions

 vxSIS3610InterruptService (uint32_t base_addr, uint32_t intMask, int dispatchPriority=SIS_DISPATCH_PRIORITY, uint16_t interruptLevel=SIS_INTERRUPT_LEVEL, uint16_t interruptVector=SIS_INTERRUPT_VECTOR)
 Constructor just stores parameters.
virtual bool setupInterrupt (void)
 Sets up SIS 3610 interrupt, initializes semaphore and dispatch routine.
virtual bool enableInterrupt (void)
 Enables SIS 3610 interrupt.
virtual bool pauseInterrupt (void)
 Pauses interrupt, called during pause transition.
virtual bool resumeInterrupt (void)
 Resumes interrupt, called during resume transition.
virtual bool deleteInterrupt (void)
 Deletes interrupt.
virtual int dispatchInterrupt (void)
 Waits for sempahore, calls user interrupt routine, resets semaphore.

Protected Attributes

int myInterruptTaskId
SEM_ID mySemId
uint32_t myBaseAddr
uint32_t myIntMask
int myDispatchPriority
uint16_t myInterruptLevel
uint16_t myInterruptVector

Detailed Description

Implements InterruptService for SIS 3610 board.

Definition at line 56 of file vxSIS3610InterruptService.hxx.


Constructor & Destructor Documentation

vxSIS3610InterruptService::vxSIS3610InterruptService ( uint32_t  base_addr,
uint32_t  intMask,
int  dispatchPriority = SIS_DISPATCH_PRIORITY,
uint16_t  interruptLevel = SIS_INTERRUPT_LEVEL,
uint16_t  interruptVector = SIS_INTERRUPT_VECTOR 
)

Constructor just stores parameters.

Definition at line 44 of file vxSIS3610InterruptService.cc.


Member Function Documentation

bool vxSIS3610InterruptService::deleteInterrupt ( void   )  [virtual]

Deletes interrupt.

Implements codaObject::InterruptService.

Definition at line 145 of file vxSIS3610InterruptService.cc.

References myInterruptTaskId, myIntMask, mySemId, and s3610IntDisable().

int vxSIS3610InterruptService::dispatchInterrupt ( void   )  [virtual]

Waits for sempahore, calls user interrupt routine, resets semaphore.

Definition at line 69 of file vxSIS3610InterruptService.cc.

References codaObject::InterruptibleObject::interrupt(), myIntMask, codaObject::InterruptService::myIntObj, mySemId, and s3610IntAck().

bool vxSIS3610InterruptService::enableInterrupt ( void   )  [virtual]

Enables SIS 3610 interrupt.

Implements codaObject::InterruptService.

Definition at line 132 of file vxSIS3610InterruptService.cc.

References myIntMask, and s3610IntEnable().

virtual bool codaObject::vxSIS3610InterruptService::pauseInterrupt ( void   )  [inline, virtual]

Pauses interrupt, called during pause transition.

Implements codaObject::InterruptService.

Definition at line 67 of file vxSIS3610InterruptService.hxx.

virtual bool codaObject::vxSIS3610InterruptService::resumeInterrupt ( void   )  [inline, virtual]

Resumes interrupt, called during resume transition.

Implements codaObject::InterruptService.

Definition at line 68 of file vxSIS3610InterruptService.hxx.

bool vxSIS3610InterruptService::setupInterrupt ( void   )  [virtual]

Sets up SIS 3610 interrupt, initializes semaphore and dispatch routine.

Implements codaObject::InterruptService.

Definition at line 92 of file vxSIS3610InterruptService.cc.

References myBaseAddr, myDispatchPriority, myInterruptLevel, myInterruptTaskId, myInterruptVector, mySemId, s3610Init(), and s3610IntConnect().


Member Data Documentation

Definition at line 77 of file vxSIS3610InterruptService.hxx.

Referenced by setupInterrupt().

Definition at line 79 of file vxSIS3610InterruptService.hxx.

Referenced by setupInterrupt().

Definition at line 80 of file vxSIS3610InterruptService.hxx.

Referenced by setupInterrupt().

Definition at line 75 of file vxSIS3610InterruptService.hxx.

Referenced by deleteInterrupt(), and setupInterrupt().

Definition at line 81 of file vxSIS3610InterruptService.hxx.

Referenced by setupInterrupt().


The documentation for this class was generated from the following files:

Generated on 4 Feb 2014 for CodaObject by  doxygen 1.6.1