Mitsubishi Electronics MR-MC210 Sleep Apnea Machine User Manual


 
6 - 120
6. APPLICATION FUNCTIONS
(3) Ring buffer mode
When using ring buffer mode, the mark detection count is started again from 1 if the number of mark
detections exceeds the number of continuous latch data storages. When mark detection data is not read
before the next mark detection, a mark detection write/read error (operation alarm A6, detail No.01) occurs
with a rapid stop.
Example: When both ON/OFF edges are enabled.
Data 2 Data 1Data 0 Data 1No data
3 11 20
0 1 32 1
Get mark detection data
sscGetMarkDetectionData function
Mark detection data
Read complete buffer
number
Mark detection signal
Wait for interrupt event
sscWaitIntEvent function
Mark detection interrupt
(iMAK )
Mark detection counter
API LIBRARY
• Use the sscGetMarkDetectionData function to get mark detection data.
• The read number setting for the read complete buffer number is conducted
within the sscGetMarkDetectionData function therefore user program
processing is not required.
• Use the sscGetMarkDetectionCounter function to get the mark detection
counter.
• When using mark detection interrupt, use the sscWaitIntEvent function and
wait until interrupt is output. If not using mark detection interrupt, use the
sscGetMarkDetectionCounter function to periodically check that the mark
detection counter is updated.