The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
wait.h@1:6b7f447ca868, 2008-04-30 (annotated)
- Committer:
- simon.ford@mbed.co.uk
- Date:
- Wed Apr 30 15:43:24 2008 +0000
- Revision:
- 1:6b7f447ca868
- Parent:
- 0:82220227f4fa
Fixes:
- ADC bug
- Newlines at end of files
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
simon.ford@mbed.co.uk | 0:82220227f4fa | 1 | /* mbed Microcontroller Library - wait |
simon.ford@mbed.co.uk | 0:82220227f4fa | 2 | * Copyright (c) 2007-2008, sford |
simon.ford@mbed.co.uk | 0:82220227f4fa | 3 | */ |
simon.ford@mbed.co.uk | 0:82220227f4fa | 4 | |
simon.ford@mbed.co.uk | 0:82220227f4fa | 5 | #ifndef MBED_WAIT_H |
simon.ford@mbed.co.uk | 0:82220227f4fa | 6 | #define MBED_WAIT_H |
simon.ford@mbed.co.uk | 0:82220227f4fa | 7 | |
simon.ford@mbed.co.uk | 0:82220227f4fa | 8 | namespace mbed { |
simon.ford@mbed.co.uk | 0:82220227f4fa | 9 | |
simon.ford@mbed.co.uk | 0:82220227f4fa | 10 | /* Section: wait |
simon.ford@mbed.co.uk | 0:82220227f4fa | 11 | * Useful waiting around functions |
simon.ford@mbed.co.uk | 0:82220227f4fa | 12 | */ |
simon.ford@mbed.co.uk | 0:82220227f4fa | 13 | |
simon.ford@mbed.co.uk | 0:82220227f4fa | 14 | /* Function: wait |
simon.ford@mbed.co.uk | 0:82220227f4fa | 15 | * Wait the specified number of seconds (float) |
simon.ford@mbed.co.uk | 0:82220227f4fa | 16 | */ |
simon.ford@mbed.co.uk | 0:82220227f4fa | 17 | void wait(float s); |
simon.ford@mbed.co.uk | 0:82220227f4fa | 18 | |
simon.ford@mbed.co.uk | 0:82220227f4fa | 19 | /* Function: wait_ms |
simon.ford@mbed.co.uk | 0:82220227f4fa | 20 | * Wait the specified number of milli-seconds (int) |
simon.ford@mbed.co.uk | 0:82220227f4fa | 21 | */ |
simon.ford@mbed.co.uk | 0:82220227f4fa | 22 | void wait_ms(int ms); |
simon.ford@mbed.co.uk | 0:82220227f4fa | 23 | |
simon.ford@mbed.co.uk | 0:82220227f4fa | 24 | /* Function: wait_us |
simon.ford@mbed.co.uk | 0:82220227f4fa | 25 | * Wait the specified number of micro-seconds (int) |
simon.ford@mbed.co.uk | 0:82220227f4fa | 26 | */ |
simon.ford@mbed.co.uk | 0:82220227f4fa | 27 | void wait_us(int us); |
simon.ford@mbed.co.uk | 0:82220227f4fa | 28 | |
simon.ford@mbed.co.uk | 0:82220227f4fa | 29 | } |
simon.ford@mbed.co.uk | 0:82220227f4fa | 30 | |
simon.ford@mbed.co.uk | 1:6b7f447ca868 | 31 | #endif |
simon.ford@mbed.co.uk | 1:6b7f447ca868 | 32 |