2 Copyright © 2013, The AROS Development Team. All rights reserved.
8 ULONG
sdcard_CurrentTime();
9 void sdcard_Udelay(ULONG
);
13 * create timerequest to manage timed operations
15 * timerequest to be used with any of the calls below
17 * only one task can use given timerequest
19 struct IORequest
*sdcard_OpenTimer(struct SDCardBase
*SDCardBase
);
23 * dispose timerequest; most likely never used ;)
25 * tmr - obtained via sdcard_OpenTimer()
29 void sdcard_CloseTimer(struct IORequest
*tmr
);
33 * wait for a period of time or a signal
35 * tmr - obtained via sdcard_OpenTimer()
36 * secs - number of seconds to wait
37 * micro - number of microseconds to wait
38 * sigs - additionally - signal to wait for
40 * ULONG signals - if caught before timeout
42 ULONG
sdcard_WaitTO(struct IORequest
* tmr
, ULONG secs
, ULONG micro
, ULONG sigs
);
46 * waits for (pretty much) specified amount of time. benchmarked.
48 * ns - amount of nanoseconds;
52 * rounds up ns to nearest multiple of 100
54 void sdcard_WaitNano(ULONG ns
, struct SDCardBase
*SDCardBase
);