Mitsubishi Electronics MR-MC210 Sleep Apnea Machine User Manual


 
7 - 13
7. AUXILIARY FUNCTION
7.6 Interrupt
7.6.1 Interrupt sequence
If the interrupt output valid signal (ITS) is on and interrupt conditions are satisfied (Note1), the position board
sets the interrupt trigger on the dual port memory and generates an interrupt.
For cancellation of the interrupt, write 1 to an interrupt signal clear register (Note 2) using a host controller.
After cancellation of the interrupt, turn on the interrupt processing complete signal (ITE). The position board
turns off the outputting with factor of interrupt signal (ITO) and clears the factor of interrupt to 0 after confirming
the interrupt processing complete signal (ITE) is on. The next interrupt output will be put on hold until this
operation is performed.
Note 1. The interrupt conditions can be set in system interrupt conditions (parameter No.0004), interrupt conditions 1 and 2 (parameter
No.0204, 0205).
2. The interrupt signal clear register (offset of dual port memory is 20008h(CH1)) is changed to 0 automatically after the interrupt
signal (IRQ
) is turned off.
Outputting with factor of
interrupt (ITO)
Factor of interrupt
Interrupt per axis (Note)
Interrupt output signal on
Interrupt processing
complete (ITE)
Interrupt signal - Clear
register write
Cancellation of interruptInterrupt
ON
OFF
ON
OFF
ON
OFF
ON
OFF
Position board
Host controller
Interrupt thread and device driver
Note. Only the axis signal with an interrupt generated turns on.
POINT
If multiple interrupt conditions are satisfied during one control cycle, all
corresponding factors for interrupts are turned on.
API LIBRARY
The factor of interrupt check and interrupt clear register are processed by the
interrupt thread and device driver that is created when calling the sscIntStart
function. Thus processing by user program is unnecessary.