Skip to content

Commit 7f77b13

Browse files
committed
more doc fixes
1 parent 063c7c8 commit 7f77b13

File tree

1 file changed

+1
-0
lines changed
  • src/rp2_common/hardware_clocks/include/hardware

1 file changed

+1
-0
lines changed

src/rp2_common/hardware_clocks/include/hardware/clocks.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@ void clock_gpio_init_int_frac16(uint gpio, uint src, uint32_t div_int, uint16_t
366366
* \param src The source clock. See the register field CLOCKS_CLK_GPOUT0_CTRL_AUXSRC for a full list. The list is the same for each GPOUT clock generator.
367367
* \param div_int The integer part of the value to divide the source clock by. This is useful to not overwhelm the GPIO pin with a fast clock. This is in range of 1..2^24-1 on RP2040
368368
* and 1..2^16-1 on RP2350
369+
* \param div_frac8 The fractional part of the value to divide the source clock by. This is in range of 0..255 (/256).
369370
*/
370371
static inline void clock_gpio_init_int_frac8(uint gpio, uint src, uint32_t div_int, uint8_t div_frac8) {
371372
return clock_gpio_init_int_frac16(gpio, src, div_int, (uint16_t)(div_frac8 << 8u));

0 commit comments

Comments
 (0)