From a6abcfa716cf6252efd94ba3628a4ea71a08d0e8 Mon Sep 17 00:00:00 2001 From: Jérémy Dufour Date: Fri, 2 May 2008 12:42:50 +0200 Subject: * digital/io/src - add a function to know when we are near the end of the match --- digital/io/src/chrono.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'digital/io/src/chrono.h') diff --git a/digital/io/src/chrono.h b/digital/io/src/chrono.h index fc715d6d..f8a5a308 100644 --- a/digital/io/src/chrono.h +++ b/digital/io/src/chrono.h @@ -64,4 +64,14 @@ chrono_is_match_over (void); void chrono_end_match (uint8_t block); +/** + * Are we near the end of the match. + * This function tell you when there is not much time remaining. + * @return + * - 0 not near the end of the match + * - 1 near the end of the match + */ +uint8_t +chrono_near_end_match (void); + #endif /* chrono_h */ -- cgit v1.2.3