@@ -27,9 +27,9 @@ LOG_MODULE_REGISTER(adc_rpi, CONFIG_ADC_LOG_LEVEL);
2727#define ADC_RPI_CHANNEL_NUM (ADC_CS_RROBIN_MSB - ADC_CS_RROBIN_LSB + 1)
2828
2929/**
30- * @brief RaspberryPi Pico ADC config
30+ * @brief Raspberry Pi Pico ADC config
3131 *
32- * This structure contains constant data for given instance of RaspberryPi Pico ADC.
32+ * This structure contains constant data for given instance of Raspberry Pi Pico ADC.
3333 */
3434struct adc_rpi_config {
3535 /** Number of supported channels */
@@ -47,14 +47,14 @@ struct adc_rpi_config {
4747};
4848
4949/**
50- * @brief RaspberryPi Pico ADC data
50+ * @brief Raspberry Pi Pico ADC data
5151 *
52- * This structure contains data structures used by a RaspberryPi Pico ADC.
52+ * This structure contains data structures used by a Raspberry Pi Pico ADC.
5353 */
5454struct adc_rpi_data {
5555 /** Structure that handle state of ongoing read operation */
5656 struct adc_context ctx ;
57- /** Pointer to RaspberryPi Pico ADC own device structure */
57+ /** Pointer to Raspberry Pi Pico ADC own device structure */
5858 const struct device * dev ;
5959 /** Pointer to memory where next sample will be written */
6060 uint16_t * buf ;
@@ -127,7 +127,7 @@ static int adc_rpi_channel_setup(const struct device *dev,
127127/**
128128 * @brief Check if buffer in @p sequence is big enough to hold all ADC samples
129129 *
130- * @param dev RaspberryPi Pico ADC device
130+ * @param dev Raspberry Pi Pico ADC device
131131 * @param sequence ADC sequence description
132132 *
133133 * @return 0 on success
@@ -162,7 +162,7 @@ static int adc_rpi_check_buffer_size(const struct device *dev,
162162/**
163163 * @brief Start processing read request
164164 *
165- * @param dev RaspberryPi Pico ADC device
165+ * @param dev Raspberry Pi Pico ADC device
166166 * @param sequence ADC sequence description
167167 *
168168 * @return 0 on success
@@ -290,10 +290,10 @@ static void adc_context_update_buffer_pointer(struct adc_context *ctx,
290290}
291291
292292/**
293- * @brief Function called on init for each RaspberryPi Pico ADC device. It setups all
293+ * @brief Function called on init for each Raspberry Pi Pico ADC device. It setups all
294294 * channels to return constant 0 mV and create acquisition thread.
295295 *
296- * @param dev RaspberryPi Pico ADC device
296+ * @param dev Raspberry Pi Pico ADC device
297297 *
298298 * @return 0 on success
299299 */
0 commit comments