Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: MAXREFDES131_Qt_Demo MAX32630FTHR_iButton_uSD_Logger MAX32630FTHR_DS18B20_uSD_Logger MAXREFDES130_131_Demo ... more
Diff: OneWire_Masters/GPIO/owlink.s
- Revision:
- 30:fdd7a0f82f2f
- Parent:
- 29:5c51a17cfbf5
- Child:
- 31:7c684e49fa8f
--- a/OneWire_Masters/GPIO/owlink.s Tue Mar 29 15:29:37 2016 +0000 +++ b/OneWire_Masters/GPIO/owlink.s Tue Mar 29 15:40:58 2016 +0000 @@ -6,12 +6,14 @@ PROC_CYCLES_PER_LOOP EQU (2 + PIPELINE_REFILL_PROC_CYCLES) LOOPS_PER_US EQU (PROC_CLOCK_MHZ / PROC_CYCLES_PER_LOOP) ; Number of loop passes for a 1 us delay LOOPS_REMOVED_TUNING EQU (OVERHEAD_TUNING / PROC_CYCLES_PER_LOOP) - -; SECTION owlink : CODE + +#ifdef TOOLCHAIN_IAR + SECTION owlink : CODE +#else AREA owlink, CODE +#endif ; void ow_usdelay(unsigned int time_us) -; PUBLIC ow_usdelay EXPORT ow_usdelay ow_usdelay mov R1, #LOOPS_PER_US