Searched refs:ns_per_cycle (Results 1 – 2 of 2) sorted by relevance
83 uint32_t ns_per_cycle; in R_BSP_SoftwareDelay() local91 …ns_per_cycle = BSP_DELAY_NS_PER_SECOND / (cpu_hz / BSP_DELAY_SIGNIFICANT_DIGITS); /** Get the # of… in R_BSP_SoftwareDelay()104 cycles_requested = (uint32_t) (ns_64bits / (uint64_t) ns_per_cycle); in R_BSP_SoftwareDelay()111 … total_us = (total_us / (ns_per_cycle * BSP_DELAY_LOOP_CYCLES)) * BSP_DELAY_SIGNIFICANT_DIGITS; in R_BSP_SoftwareDelay()
90 uint32_t ns_per_cycle; in R_BSP_SoftwareDelay() local102 …ns_per_cycle = BSP_DELAY_NS_PER_SECOND / iclk_hz; /** Get the # of nanoseconds/cyc… in R_BSP_SoftwareDelay()112 cycles_requested = ((uint32_t) ns_64bits / ns_per_cycle); in R_BSP_SoftwareDelay()118 total_us = (total_us / (ns_per_cycle * BSP_DELAY_LOOP_CYCLES)); in R_BSP_SoftwareDelay()