Rev 1264 | Rev 1731 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1264 | Rev 1702 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
- | 29 | /** @addtogroup generic |
|
- | 30 | * @{ |
|
- | 31 | */ |
|
- | 32 | ||
29 | /** |
33 | /** |
30 | * @file delay.c |
34 | * @file |
31 | * @brief Active delay function. |
35 | * @brief Active delay function. |
32 | */ |
36 | */ |
33 | 37 | ||
34 | #include <time/delay.h> |
38 | #include <time/delay.h> |
35 | #include <arch/types.h> |
39 | #include <arch/types.h> |
Line 57... | Line 61... | ||
57 | */ |
61 | */ |
58 | ipl = interrupts_disable(); |
62 | ipl = interrupts_disable(); |
59 | asm_delay_loop(usec * CPU->delay_loop_const); |
63 | asm_delay_loop(usec * CPU->delay_loop_const); |
60 | interrupts_restore(ipl); |
64 | interrupts_restore(ipl); |
61 | } |
65 | } |
- | 66 | ||
- | 67 | /** @} |
|
- | 68 | */ |
|
- | 69 |