]>
git.gir.st - tmk_keyboard.git/blob - tmk_core/tool/mbed/mbed-sdk/libraries/mbed/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf_delay.h
6 /*lint --e{438, 522} "Variable not used" "Function lacks side-effects" */
7 #if defined ( __CC_ARM )
8 static __ASM
void __INLINE
nrf_delay_us(uint32_t volatile number_of_us
)
27 #elif defined ( __ICCARM__ )
28 static void __INLINE
nrf_delay_us(uint32_t volatile number_of_us
)
32 " SUBS R0, R0, #1\n\t"
47 #elif defined ( __GNUC__ )
48 static void __INLINE
nrf_delay_us(uint32_t volatile number_of_us
)
68 } while (--number_of_us
);
72 void nrf_delay_ms(uint32_t volatile number_of_ms
);