spi_flash_ll_get_source_clock_freq_mhz() function
Get the spi flash source clock frequency. Used for calculating the divider parameters.
Syntax
static inline uint32_t spi_flash_ll_get_source_clock_freq_mhz(uint8_t host_id); Arguments
host_id
SPI host id. Not used in this function, but to keep compatibility with other targets.
Return value
the frequency of spi flash clock source.(MHz)
![]()
static inline uint32_t spi_flash_ll_get_source_clock_freq_mhz(uint8_t host_id)
spi_flash_ll_get_source_clock_freq_mhz() is called by 2 functions:
![]()
spi_flash_ll_get_source_clock_freq_mhz()