Implements InterruptService for SIS 3610 board. More...
#include <vxSIS3610InterruptService.hxx>
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 |
Implements InterruptService for SIS 3610 board.
Definition at line 56 of file vxSIS3610InterruptService.hxx.
| 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.
| 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().
uint32_t codaObject::vxSIS3610InterruptService::myBaseAddr [protected] |
Definition at line 77 of file vxSIS3610InterruptService.hxx.
Referenced by setupInterrupt().
int codaObject::vxSIS3610InterruptService::myDispatchPriority [protected] |
Definition at line 79 of file vxSIS3610InterruptService.hxx.
Referenced by setupInterrupt().
uint16_t codaObject::vxSIS3610InterruptService::myInterruptLevel [protected] |
Definition at line 80 of file vxSIS3610InterruptService.hxx.
Referenced by setupInterrupt().
int codaObject::vxSIS3610InterruptService::myInterruptTaskId [protected] |
Definition at line 75 of file vxSIS3610InterruptService.hxx.
Referenced by deleteInterrupt(), and setupInterrupt().
uint16_t codaObject::vxSIS3610InterruptService::myInterruptVector [protected] |
Definition at line 81 of file vxSIS3610InterruptService.hxx.
Referenced by setupInterrupt().
uint32_t codaObject::vxSIS3610InterruptService::myIntMask [protected] |
Definition at line 78 of file vxSIS3610InterruptService.hxx.
Referenced by deleteInterrupt(), dispatchInterrupt(), and enableInterrupt().
SEM_ID codaObject::vxSIS3610InterruptService::mySemId [protected] |
Definition at line 76 of file vxSIS3610InterruptService.hxx.
Referenced by deleteInterrupt(), dispatchInterrupt(), and setupInterrupt().
1.6.1