Costmetic update to some comments

This commit is contained in:
Gregory Nutt 2016-05-27 07:50:06 -06:00
parent 55d704e3c2
commit 23f4f04448

View File

@ -159,8 +159,8 @@ struct adc_ops_s
};
/* This is the device structure used by the driver. The caller of
* adc_register() must allocate and initialize this structure. The
* calling logic need only set all fields to zero except:
* adc_register() must allocate and initialize this structure. The calling
* logic need only set all fields to zero except:
*
* The elements of 'ad_ops', and 'ad_priv'
*
@ -170,12 +170,17 @@ struct adc_ops_s
struct adc_dev_s
{
#ifdef CONFIG_ADC
/* Fields managed by common upper half ADC logic */
uint8_t ad_ocount; /* The number of times the device has been opened */
uint8_t ad_nrxwaiters; /* Number of threads waiting to enqueue a message */
sem_t ad_closesem; /* Locks out new opens while close is in progress */
sem_t ad_recvsem; /* Used to wakeup user waiting for space in ad_recv.buffer */
struct adc_fifo_s ad_recv; /* Describes receive FIFO */
#endif
/* Fields provided by lower half ADC logic */
FAR const struct adc_ops_s *ad_ops; /* Arch-specific operations */
FAR void *ad_priv; /* Used by the arch-specific logic */
};