|
25 | 25 | * - RP2040 5 input mux: |
26 | 26 | * - 4 inputs that are available on package pins shared with GPIO[29:26] |
27 | 27 | * - 1 input is dedicated to the internal temperature sensor |
28 | | - * - 4 element receive sample FIFO |
29 | 28 | * \endif |
30 | 29 | * |
31 | 30 | * \if rp2350_specific |
32 | 31 | * - RP2350 5 or 9 input mux: |
33 | 32 | * - 4 inputs available on QFN-60 package pins shared with GPIO[29:26] |
34 | 33 | * - 8 inputs available on QFN-80 package pins shared with GPIO[47:40] |
35 | | - * - 8 element receive sample FIFO |
| 34 | + * - One input dedicated to the internal temperature sensor (see Section 12.4.6) |
36 | 35 | * \endif |
37 | | - * - One input dedicated to the internal temperature sensor (see Section 12.4.6) |
| 36 | + * - 8 element receive sample FIFO |
38 | 37 | * - Interrupt generation |
39 | 38 | * - DMA interface |
40 | 39 | * |
@@ -213,14 +212,7 @@ static inline void adc_set_clkdiv(float clkdiv) { |
213 | 212 | /*! \brief Setup the ADC FIFO |
214 | 213 | * \ingroup hardware_adc |
215 | 214 | * |
216 | | - * \if rp2040_specific |
217 | | - * On RP2040 the FIFO is 4 samples long. |
218 | | - * \endif |
219 | | - * |
220 | | - * \if rp2350_specific |
221 | | - * On RP2350 the FIFO is 8 samples long. |
222 | | - * \endif |
223 | | - * |
| 215 | + * The FIFO is 8 samples long. |
224 | 216 | * If a conversion is completed and the FIFO is full, the result is dropped. |
225 | 217 | * |
226 | 218 | * \param en Enables write each conversion result to the FIFO |
@@ -256,13 +248,7 @@ static inline bool adc_fifo_is_empty(void) { |
256 | 248 | /*! \brief Get number of entries in the ADC FIFO |
257 | 249 | * \ingroup hardware_adc |
258 | 250 | * |
259 | | - * \if rp2040_specific |
260 | | - * On RP2040 the FIFO is 4 samples long. |
261 | | - * \endif |
262 | | - * \if rp2350_specific |
263 | | - * On RP2350 the FIFO is 8 samples long. |
264 | | - * \endif |
265 | | - * |
| 251 | + * The FIFO is 8 samples long. |
266 | 252 | * This function will return how many samples are currently present. |
267 | 253 | */ |
268 | 254 | static inline uint8_t adc_fifo_get_level(void) { |
|
0 commit comments