Skip to content

Commit

Permalink
Add missing doxygen for cyw43_set_pio_clock_divisor
Browse files Browse the repository at this point in the history
  • Loading branch information
peterharperuk committed Aug 15, 2024
1 parent 1286897 commit b10898f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/rp2_common/pico_cyw43_driver/include/pico/cyw43_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,16 @@ void cyw43_driver_deinit(struct async_context *context);
#endif

#if CYW43_PIO_CLOCK_DIV_DYNAMIC
/*! \brief Set the clock divisor for the cyw43 pio clock
* \ingroup pico_cyw43_driver
*
* SPI is used to communicate with the CYW43 device and this is implemented using a PIO running with a divisor of 2.
* If the system clock is changed it may be necessary to adjust for this to allow communications to succeed.
* This function is only available if \ref CYW43_PIO_CLOCK_DIV_DYNAMIC is true
*
* \param clock_div_int Integer part of the divisor
* \param clock_div_frac Fractional part in 1/256ths
*/
void cyw43_set_pio_clock_divisor(uint16_t clock_div_int, uint8_t clock_div_frac);
#endif

Expand Down

0 comments on commit b10898f

Please sign in to comment.