@@ -262,11 +262,18 @@ extern "C" {
262
262
263
263
typedef clock_num_t clock_handle_t ;
264
264
265
- /*! \brief Configure the specified clock
265
+ /*! \brief Configure the specified clock with automatic clock divisor setup
266
266
* \ingroup hardware_clocks
267
267
*
268
+ * This method allows both the src_frequency of the input clock source AND the desired
269
+ * frequency to be specified, and will set the clock divider to achieve the exact or higher frequency
270
+ * achievable, with the maximum being the src_freq.
271
+ *
272
+ * Note: That the clock hardware only support divisors of exactly 1 or 2.0->65535.0
273
+ *
268
274
* See the tables in the description for details on the possible values for clock sources.
269
275
*
276
+ *
270
277
* \param clock The clock to configure
271
278
* \param src The main clock source, can be 0.
272
279
* \param auxsrc The auxiliary clock source, which depends on which clock is being set. Can be 0
@@ -275,7 +282,7 @@ typedef clock_num_t clock_handle_t;
275
282
*/
276
283
bool clock_configure (clock_handle_t clock , uint32_t src , uint32_t auxsrc , uint32_t src_freq , uint32_t freq );
277
284
278
- /*! \brief Configure the specified clock to use the undividded input source
285
+ /*! \brief Configure the specified clock to use the undivided input source
279
286
* \ingroup hardware_clocks
280
287
*
281
288
* See the tables in the description for details on the possible values for clock sources.
@@ -287,7 +294,7 @@ bool clock_configure(clock_handle_t clock, uint32_t src, uint32_t auxsrc, uint32
287
294
*/
288
295
void clock_configure_undivided (clock_handle_t clock , uint32_t src , uint32_t auxsrc , uint32_t src_freq );
289
296
290
- /*! \brief Configure the specified clock to use the undividded input source
297
+ /*! \brief Configure the specified clock to use the undivided input source
291
298
* \ingroup hardware_clocks
292
299
*
293
300
* See the tables in the description for details on the possible values for clock sources.
0 commit comments