Home
last modified time | relevance | path

Searched refs:i32N (Results 1 – 3 of 3) sorted by relevance

/hal_ambiq-latest/mcu/apollo4p/hal/mcu/
Dam_hal_iom.c807 int32_t i32Div, i32N; in iom_get_interface_clock_cfg() local
827 i32N = 31 - AM_INSTR_CLZ((i32Div & (-i32Div))); in iom_get_interface_clock_cfg()
829 if ( i32N > 6 ) in iom_get_interface_clock_cfg()
831 i32N = 6; in iom_get_interface_clock_cfg()
837 ui32Denom = ( 1 << i32N ) * ( 1 + (ui32Div3 * 2) ); in iom_get_interface_clock_cfg()
841 ui32Fsel = (ui32v1 > 7) ? ui32v1 + i32N - 7 : i32N; in iom_get_interface_clock_cfg()
/hal_ambiq-latest/mcu/apollo3p/hal/
Dam_hal_iom.c738 int32_t i32Div, i32N; in iom_get_interface_clock_cfg() local
758 i32N = 31 - AM_INSTR_CLZ((i32Div & (-i32Div))); in iom_get_interface_clock_cfg()
760 if ( i32N > 6 ) in iom_get_interface_clock_cfg()
762 i32N = 6; in iom_get_interface_clock_cfg()
768 ui32Denom = ( 1 << i32N ) * ( 1 + (ui32Div3 * 2) ); in iom_get_interface_clock_cfg()
772 ui32Fsel = (ui32v1 > 7) ? ui32v1 + i32N - 7 : i32N; in iom_get_interface_clock_cfg()
/hal_ambiq-latest/mcu/apollo3/hal/
Dam_hal_iom.c747 int32_t i32Div, i32N; in iom_get_interface_clock_cfg() local
767 i32N = 31 - AM_INSTR_CLZ((i32Div & (-i32Div))); in iom_get_interface_clock_cfg()
769 if ( i32N > 6 ) in iom_get_interface_clock_cfg()
771 i32N = 6; in iom_get_interface_clock_cfg()
777 ui32Denom = ( 1 << i32N ) * ( 1 + (ui32Div3 * 2) ); in iom_get_interface_clock_cfg()
781 ui32Fsel = (ui32v1 > 7) ? ui32v1 + i32N - 7 : i32N; in iom_get_interface_clock_cfg()