zephyr/samples/nanokernel/apps/pwm_dw
Peter Mitsis d63a4f7bf7 nano_timers: Simplify nano_xxx_timer_test() API family
Simplifies the nanokernel timer API so that the timeout parameter must be
specified when invoking nano_isr_timer_test(), nano_fiber_timer_test(),
nano_task_timer_test() and nano_timer_test().

This obsoletes the following APIs:
	nano_fiber_timer_wait()
	nano_task_timer_wait()
	nano_timer_wait()

Note that even the though the new API requires that the timeout parameter
be specified, there are currentl only two acceptable values:
	TICKS_NONE and TICKS_UNLIMITED

Theoretically, the current implementation would allow one to supply a
finite positive value for the timeout and the system would wait up to
that many ticks for the timer to expire. However, it is thought that
that unnecessarily complicates the nanokernel timer model and so it is
left as an unsupported option.  Should that change, then that feature
could be enabled by updating the documentation.

Change-Id: I8835c5342ab5025d6f70fdfbed54a50add7568d7
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
2016-02-05 20:25:15 -05:00
..
src nano_timers: Simplify nano_xxx_timer_test() API family 2016-02-05 20:25:15 -05:00
Makefile samples/nanokernel: add a sample to utilize PWM on Arduino 101 2016-02-05 20:25:11 -05:00
prj_x86.conf samples/nanokernel: add a sample to utilize PWM on Arduino 101 2016-02-05 20:25:11 -05:00
testcase.ini samples/nanokernel: add a sample to utilize PWM on Arduino 101 2016-02-05 20:25:11 -05:00