From d7e611cc6f8da33647521abbcd5a67b28a794a9a Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Fri, 11 May 2012 12:45:29 +0100 Subject: [PATCH] doc/funcref: Add links between comedi_to_phys and comedi_set_global_oor_behavior. --- doc/funcref | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/funcref b/doc/funcref index b17d932..39900aa 100644 --- a/doc/funcref +++ b/doc/funcref @@ -614,8 +614,8 @@ Param: enum comedi_oor_behavior behavior Description: This function changes the Comedilib out-of-range behavior. This currently affects the behavior of - comedi_to_phys when - converting endpoint sample values, that is, sample values + comedi_to_phys + when converting endpoint sample values, that is, sample values equal to 0 or maxdata. If the out-of-range behavior is set to COMEDI_OOR_NAN, endpoint values are converted to @@ -644,7 +644,10 @@ Description: Conversion of endpoint sample values, that is, sample values equal to 0 or maxdata, is affected by the Comedilib out-of-range - behavior. If the out-of-range behavior is set to + behavior (see function comedi_set_global_oor_behavior>). + If the out-of-range behavior is set to COMEDI_OOR_NAN, endpoint values are converted to NAN. If the out-of-range behavior is set to COMEDI_OOR_NUMBER, the endpoint values are -- 2.26.2