spi_ll_master_cal_clock() function
Calculate the nearest frequency available for master.
Arguments
fapb
APB clock of the system.
duty_cycle
Duty cycle desired.
out_reg
Output address to store the calculated clock configurations for the return frequency.
Return value
Actual (nearest) frequency.
spi_ll_master_cal_clock() is called by 3 functions and calls 1 function:
![]()
spi_ll_master_cal_clock()
spi_ll_master_cal_clock() reads 3 variables and writes 5 variables:
![]()
spi_ll_master_cal_clock()