From 1b12a780548cff613e9eaa5cdef0e4a9429441cb Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka <gniibe@fsij.org> Date: Fri, 22 Apr 2016 13:42:01 +0900 Subject: Modify chopstx_poll API --- doc/chopstx-api.texi | 10 ++++++++++ doc/chopstx.texi | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/chopstx-api.texi b/doc/chopstx-api.texi index 6ccf6d8..72f2553 100644 --- a/doc/chopstx-api.texi +++ b/doc/chopstx-api.texi @@ -209,3 +209,13 @@ Calling chopstx_setcancelstate sets cancelability state. Returns old state which is 0 when it was enabled. @end deftypefun +@subheading chopstx_poll +@anchor{chopstx_poll} +@deftypefun {int} {chopstx_poll} (uint32_t * @var{usec_p}, int @var{n}, @var{...}) +@var{usec_p}: Pointer to usec + +@var{n}: Number of poll descriptors + +Returns number of active descriptors. +@end deftypefun + diff --git a/doc/chopstx.texi b/doc/chopstx.texi index e1db02c..bb42256 100644 --- a/doc/chopstx.texi +++ b/doc/chopstx.texi @@ -11,7 +11,7 @@ This manual is for Chopstx (version @value{VERSION}). @noindent -Copyright @copyright{} 2013, 2015 Flying Stone Technology @* +Copyright @copyright{} 2013, 2015, 2016 Flying Stone Technology @* @quotation Permission is granted to copy, distribute and/or modify this document @@ -84,7 +84,7 @@ Indexes @chapter Introduction Chopstx is an RT thread library for ARM Cortex-M0 and Cortex-M3. -Specifically, it is used for STM32F030 and STM32F103. +Specifically, it is used for STM32F030, STM32F103, and MKL27Z. While most RTOSes come with many features, drivers, and stacks, Chopstx just offers a RT thread library. -- cgit v1.2.3