nuttx/drivers/timers
Gregory Nutt 9568600ab1 Squashed commit of the following:
This commit backs out most of commit b4747286b1.  That change was added because sem_wait() would sometimes cause cancellation points inappropriated.  But with these recent changes, nxsem_wait() is used instead and it is not a cancellation point.

    In the OS, all calls to sem_wait() changed to nxsem_wait().  nxsem_wait() does not return errors via errno so each place where nxsem_wait() is now called must not examine the errno variable.

    In all OS functions (not libraries), change sem_wait() to nxsem_wait().  This will prevent the OS from creating bogus cancellation points and from modifying the per-task errno variable.

    sched/semaphore:  Add the function nxsem_wait().  This is a new internal OS interface.  It is functionally equivalent to sem_wait() except that (1) it is not a cancellation point, and (2) it does not set the per-thread errno value on return.
2017-10-04 15:22:27 -06:00
..
cs2100-cp.c drivers: handle I2C_TRANSFER return value consistently. Some I2C peripherals transfers return zero on success, others number of completed transfers. Make drivers robust against this. 2017-08-04 07:31:36 -06:00
ds3231.c Centralize definitions associated with CONFIG_DEBUG_RTC 2016-06-16 07:39:23 -06:00
ds3231.h Update some comments 2015-11-20 09:55:18 -06:00
Kconfig drivers: handle I2C_TRANSFER return value consistently. Some I2C peripherals transfers return zero on success, others number of completed transfers. Make drivers robust against this. 2017-08-04 07:31:36 -06:00
Make.defs drivers/timer: Add an upper-half, oneshot timer character driver. 2016-08-12 10:40:07 -06:00
oneshot.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
pcf85263.c Centralize definitions associated with CONFIG_DEBUG_RTC 2016-06-16 07:39:23 -06:00
pcf85263.h drivers/timers/pcf85263.c: Add a driver for the NXP PCF85263 I2C RTC 2015-11-20 17:36:10 -06:00
rtc.c Extend the RTC framework with an alarm read ioctl (RTC_RD_ALARM). Through it consumer could get configuration settings about previously scheduled hardware alarms (active status, hours, minutes, seconds). 2017-09-03 08:39:02 -06:00
timer.c drivers: fix some bad NULL checks 2017-05-15 07:20:32 -06:00
watchdog.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00