Home
last modified time | relevance | path

Searched refs:sd_clock_khz (Results 1 – 2 of 2) sorted by relevance

/hal_nuvoton-latest/m46x/StdDriver/src/
Dsdh.c336 void SDH_Set_clock(SDH_T *sdh, uint32_t sd_clock_khz) in SDH_Set_clock() argument
348 if (sd_clock_khz <= 400ul) in SDH_Set_clock()
414 if(sd_clock_khz >= 50000ul) in SDH_Set_clock()
416 sd_clock_khz = 50000ul; in SDH_Set_clock()
421 rate = _SDH0_ReferenceClock / sd_clock_khz; in SDH_Set_clock()
424 if ((_SDH0_ReferenceClock % sd_clock_khz) != 0ul) in SDH_Set_clock()
431 rate = _SDH1_ReferenceClock / sd_clock_khz; in SDH_Set_clock()
434 if ((_SDH1_ReferenceClock % sd_clock_khz) != 0ul) in SDH_Set_clock()
/hal_nuvoton-latest/m48x/StdDriver/src/
Dsdh.c285 void SDH_Set_clock(SDH_T *sdh, uint32_t sd_clock_khz) in SDH_Set_clock() argument
293 if (sd_clock_khz <= 400ul) in SDH_Set_clock()
358 if(sd_clock_khz >= 50000ul) in SDH_Set_clock()
360 sd_clock_khz = 50000ul; in SDH_Set_clock()
363 rate = _SDH_ReferenceClock / sd_clock_khz; in SDH_Set_clock()
366 if ((_SDH_ReferenceClock % sd_clock_khz) != 0ul) in SDH_Set_clock()