2 Copyright © 2013, The AROS Development Team. All rights reserved.
10 * create timerequest to manage timed operations
12 * timerequest to be used with any of the calls below
14 * only one task can use given timerequest
16 struct IORequest
*sdcard_OpenTimer(struct SDCardBase
*SDCardBase
);
20 * dispose timerequest; most likely never used ;)
22 * tmr - obtained via sdcard_OpenTimer()
26 void sdcard_CloseTimer(struct IORequest
*tmr
);
30 * wait for a period of time or a signal
32 * tmr - obtained via sdcard_OpenTimer()
33 * secs - number of seconds to wait
34 * micro - number of microseconds to wait
35 * sigs - additionally - signal to wait for
37 * ULONG signals - if caught before timeout
39 ULONG
sdcard_WaitTO(struct IORequest
* tmr
, ULONG secs
, ULONG micro
, ULONG sigs
);
43 * waits for (pretty much) specified amount of time. benchmarked.
45 * ns - amount of nanoseconds;
49 * rounds up ns to nearest multiple of 100
51 void sdcard_WaitNano(ULONG ns
, struct SDCardBase
*SDCardBase
);