| /bsp/nxp/imx/imxrt/libraries/drivers/ |
| A D | drv_common.c | 17 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 21 told = SysTick->VAL; in rt_hw_us_delay() 25 if (tnow != told) in rt_hw_us_delay() 27 if (tnow < told) in rt_hw_us_delay() 29 tcnt += told - tnow; in rt_hw_us_delay() 33 tcnt += reload - tnow + told; in rt_hw_us_delay() 35 told = tnow; in rt_hw_us_delay()
|
| /bsp/n32g452xx/Libraries/rt_drivers/ |
| A D | drv_common.c | 39 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 43 told = SysTick->VAL; in rt_hw_us_delay() 47 if (tnow != told) in rt_hw_us_delay() 49 if (tnow < told) in rt_hw_us_delay() 51 tcnt += told - tnow; in rt_hw_us_delay() 55 tcnt += reload - tnow + told; in rt_hw_us_delay() 57 told = tnow; in rt_hw_us_delay()
|
| /bsp/airm2m/air105/libraries/rt_drivers/ |
| A D | drv_common.c | 82 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 86 told = SysTick->VAL; in rt_hw_us_delay() 90 if (tnow != told) in rt_hw_us_delay() 92 if (tnow < told) in rt_hw_us_delay() 94 tcnt += told - tnow; in rt_hw_us_delay() 98 tcnt += reload - tnow + told; in rt_hw_us_delay() 100 told = tnow; in rt_hw_us_delay()
|
| /bsp/mm32f526x/board/ |
| A D | board.c | 23 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 27 told = SysTick->VAL; in rt_hw_us_delay() 30 if (tnow != told) { in rt_hw_us_delay() 31 if (tnow < told) { in rt_hw_us_delay() 32 tcnt += told - tnow; in rt_hw_us_delay() 34 tcnt += reload - tnow + told; in rt_hw_us_delay() 36 told = tnow; in rt_hw_us_delay()
|
| /bsp/nxp/mcx/mcxa/frdm-mcxa156/board/ |
| A D | board.c | 80 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 84 told = SysTick->VAL; in rt_hw_us_delay() 88 if (tnow != told) in rt_hw_us_delay() 90 if (tnow < told) in rt_hw_us_delay() 92 tcnt += told - tnow; in rt_hw_us_delay() 96 tcnt += reload - tnow + told; in rt_hw_us_delay() 98 told = tnow; in rt_hw_us_delay()
|
| /bsp/nxp/mcx/mcxa/frdm-mcxa346/board/ |
| A D | board.c | 71 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 75 told = SysTick->VAL; in rt_hw_us_delay() 79 if (tnow != told) in rt_hw_us_delay() 81 if (tnow < told) in rt_hw_us_delay() 83 tcnt += told - tnow; in rt_hw_us_delay() 87 tcnt += reload - tnow + told; in rt_hw_us_delay() 89 told = tnow; in rt_hw_us_delay()
|
| /bsp/tkm32F499/drivers/ |
| A D | board.c | 53 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 57 told = SysTick->VAL; in rt_hw_us_delay() 61 if (tnow != told) in rt_hw_us_delay() 63 if (tnow < told) in rt_hw_us_delay() 65 tcnt += told - tnow; in rt_hw_us_delay() 69 tcnt += reload - tnow + told; in rt_hw_us_delay() 71 told = tnow; in rt_hw_us_delay()
|
| /bsp/nxp/mcx/mcxa/frdm-mcxa153/board/ |
| A D | board.c | 84 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 88 told = SysTick->VAL; in rt_hw_us_delay() 92 if (tnow != told) in rt_hw_us_delay() 94 if (tnow < told) in rt_hw_us_delay() 96 tcnt += told - tnow; in rt_hw_us_delay() 100 tcnt += reload - tnow + told; in rt_hw_us_delay() 102 told = tnow; in rt_hw_us_delay()
|
| /bsp/apm32/libraries/Drivers/ |
| A D | drv_common.c | 66 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 70 told = SysTick->VAL; in rt_hw_us_delay() 74 if (tnow != told) in rt_hw_us_delay() 76 if (tnow < told) in rt_hw_us_delay() 78 tcnt += told - tnow; in rt_hw_us_delay() 82 tcnt += reload - tnow + told; in rt_hw_us_delay() 84 told = tnow; in rt_hw_us_delay()
|
| /bsp/nuvoton/libraries/m480/rtt_port/ |
| A D | drv_common.c | 78 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 82 told = SysTick->VAL; in rt_hw_us_delay() 86 if (tnow != told) in rt_hw_us_delay() 88 if (tnow < told) in rt_hw_us_delay() 90 tcnt += told - tnow; in rt_hw_us_delay() 94 tcnt += reload - tnow + told; in rt_hw_us_delay() 96 told = tnow; in rt_hw_us_delay()
|
| /bsp/nuvoton/libraries/nuc980/rtt_port/ |
| A D | drv_systick.c | 55 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 59 told = ETIMER_GetCounter(USE_TIMER); in rt_hw_us_delay() 64 if (tnow != told) in rt_hw_us_delay() 67 if (tnow > told) in rt_hw_us_delay() 69 tcnt += tnow - told; in rt_hw_us_delay() 74 tcnt += cmp - told + tnow; in rt_hw_us_delay() 76 told = tnow; in rt_hw_us_delay()
|
| /bsp/Vango/v85xxp/drivers/ |
| A D | board.c | 86 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 90 told = SysTick->VAL; in rt_hw_us_delay() 94 if (tnow != told) in rt_hw_us_delay() 96 if (tnow < told) in rt_hw_us_delay() 98 tcnt += told - tnow; in rt_hw_us_delay() 102 tcnt += reload - tnow + told; in rt_hw_us_delay() 104 told = tnow; in rt_hw_us_delay()
|
| /bsp/Vango/v85xx/drivers/ |
| A D | board.c | 83 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 87 told = SysTick->VAL; in rt_hw_us_delay() 91 if (tnow != told) in rt_hw_us_delay() 93 if (tnow < told) in rt_hw_us_delay() 95 tcnt += told - tnow; in rt_hw_us_delay() 99 tcnt += reload - tnow + told; in rt_hw_us_delay() 101 told = tnow; in rt_hw_us_delay()
|
| /bsp/nxp/lpc/lpc55sxx/lpc55s06_nxp_evk/board/ |
| A D | board.c | 113 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 117 told = SysTick->VAL; in rt_hw_us_delay() 121 if (tnow != told) in rt_hw_us_delay() 123 if (tnow < told) in rt_hw_us_delay() 125 tcnt += told - tnow; in rt_hw_us_delay() 129 tcnt += reload - tnow + told; in rt_hw_us_delay() 131 told = tnow; in rt_hw_us_delay()
|
| /bsp/nxp/lpc/lpc55sxx/lpc55s36_nxp_evk/board/ |
| A D | board.c | 113 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 117 told = SysTick->VAL; in rt_hw_us_delay() 121 if (tnow != told) in rt_hw_us_delay() 123 if (tnow < told) in rt_hw_us_delay() 125 tcnt += told - tnow; in rt_hw_us_delay() 129 tcnt += reload - tnow + told; in rt_hw_us_delay() 131 told = tnow; in rt_hw_us_delay()
|
| /bsp/nxp/lpc/lpc55sxx/lpc55s16_nxp_evk/board/ |
| A D | board.c | 113 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 117 told = SysTick->VAL; in rt_hw_us_delay() 121 if (tnow != told) in rt_hw_us_delay() 123 if (tnow < told) in rt_hw_us_delay() 125 tcnt += told - tnow; in rt_hw_us_delay() 129 tcnt += reload - tnow + told; in rt_hw_us_delay() 131 told = tnow; in rt_hw_us_delay()
|
| /bsp/nxp/lpc/lpc55sxx/lpc55s28_nxp_evk/board/ |
| A D | board.c | 113 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 117 told = SysTick->VAL; in rt_hw_us_delay() 121 if (tnow != told) in rt_hw_us_delay() 123 if (tnow < told) in rt_hw_us_delay() 125 tcnt += told - tnow; in rt_hw_us_delay() 129 tcnt += reload - tnow + told; in rt_hw_us_delay() 131 told = tnow; in rt_hw_us_delay()
|
| /bsp/nuvoton/libraries/m2354/rtt_port/ |
| A D | drv_common.c | 78 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 82 told = SysTick->VAL; in rt_hw_us_delay() 86 if (tnow != told) in rt_hw_us_delay() 88 if (tnow < told) in rt_hw_us_delay() 90 tcnt += told - tnow; in rt_hw_us_delay() 94 tcnt += reload - tnow + told; in rt_hw_us_delay() 96 told = tnow; in rt_hw_us_delay()
|
| /bsp/nuvoton/libraries/ma35/rtt_port/ |
| A D | drv_common_subm.c | 64 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 68 told = SysTick->VAL; in rt_hw_us_delay() 72 if (tnow != told) in rt_hw_us_delay() 74 if (tnow < told) in rt_hw_us_delay() 76 tcnt += told - tnow; in rt_hw_us_delay() 80 tcnt += reload - tnow + told; in rt_hw_us_delay() 82 told = tnow; in rt_hw_us_delay()
|
| /bsp/nrf5x/nrf52832/board/ |
| A D | board.c | 60 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 64 told = SysTick->VAL; in rt_hw_us_delay() 68 if (tnow != told) in rt_hw_us_delay() 70 if (tnow < told) in rt_hw_us_delay() 72 tcnt += told - tnow; in rt_hw_us_delay() 76 tcnt += reload - tnow + told; in rt_hw_us_delay() 78 told = tnow; in rt_hw_us_delay()
|
| /bsp/nuvoton/libraries/m031/rtt_port/ |
| A D | drv_common.c | 78 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 82 told = SysTick->VAL; in rt_hw_us_delay() 86 if (tnow != told) in rt_hw_us_delay() 88 if (tnow < told) in rt_hw_us_delay() 90 tcnt += told - tnow; in rt_hw_us_delay() 94 tcnt += reload - tnow + told; in rt_hw_us_delay() 96 told = tnow; in rt_hw_us_delay()
|
| /bsp/airm2m/air32f103/libraries/rt_drivers/ |
| A D | drv_common.c | 74 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 78 told = SysTick->VAL; in rt_hw_us_delay() 82 if (tnow != told) in rt_hw_us_delay() 84 if (tnow < told) in rt_hw_us_delay() 86 tcnt += told - tnow; in rt_hw_us_delay() 90 tcnt += reload - tnow + told; in rt_hw_us_delay() 92 told = tnow; in rt_hw_us_delay()
|
| /bsp/nxp/lpc/lpc55sxx/lpc55s69_nxp_evk/board/ |
| A D | board.c | 116 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 120 told = SysTick->VAL; in rt_hw_us_delay() 124 if (tnow != told) in rt_hw_us_delay() 126 if (tnow < told) in rt_hw_us_delay() 128 tcnt += told - tnow; in rt_hw_us_delay() 132 tcnt += reload - tnow + told; in rt_hw_us_delay() 134 told = tnow; in rt_hw_us_delay()
|
| /bsp/at32/libraries/rt_drivers/ |
| A D | drv_common.c | 82 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 86 told = SysTick->VAL; in rt_hw_us_delay() 90 if (tnow != told) in rt_hw_us_delay() 92 if (tnow < told) in rt_hw_us_delay() 94 tcnt += told - tnow; in rt_hw_us_delay() 98 tcnt += reload - tnow + told; in rt_hw_us_delay() 100 told = tnow; in rt_hw_us_delay()
|
| /bsp/ft32/ft32f072xb-starter/board/ |
| A D | board.c | 94 rt_uint32_t told, tnow, tcnt = 0; in rt_hw_us_delay() local 98 told = SysTick->VAL; in rt_hw_us_delay() 102 if (tnow != told) in rt_hw_us_delay() 104 if (tnow < told) in rt_hw_us_delay() 106 tcnt += told - tnow; in rt_hw_us_delay() 110 tcnt += reload - tnow + told; in rt_hw_us_delay() 112 told = tnow; in rt_hw_us_delay()
|