mbed libraries for KL25Z
us_ticker_api.h@0:8024c367e29f, 2012-10-05 (annotated)
- Committer:
- emilmont
- Date:
- Fri Oct 05 09:16:41 2012 +0000
- Revision:
- 0:8024c367e29f
- Child:
- 8:c14af7958ef5
First release of the mbed libraries for KL25Z
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
emilmont | 0:8024c367e29f | 1 | /* mbed Microcontroller Library - us_ticker_api |
emilmont | 0:8024c367e29f | 2 | * Copyright (c) 2009 ARM Limited. All rights reserved. |
emilmont | 0:8024c367e29f | 3 | */ |
emilmont | 0:8024c367e29f | 4 | #ifndef MBED_US_TICKER_API_H |
emilmont | 0:8024c367e29f | 5 | #define MBED_US_TICKER_API_H |
emilmont | 0:8024c367e29f | 6 | |
emilmont | 0:8024c367e29f | 7 | #include <stdint.h> |
emilmont | 0:8024c367e29f | 8 | |
emilmont | 0:8024c367e29f | 9 | #ifdef __cplusplus |
emilmont | 0:8024c367e29f | 10 | extern "C" { |
emilmont | 0:8024c367e29f | 11 | #endif |
emilmont | 0:8024c367e29f | 12 | |
emilmont | 0:8024c367e29f | 13 | uint32_t us_ticker_read(void); |
emilmont | 0:8024c367e29f | 14 | |
emilmont | 0:8024c367e29f | 15 | void us_ticker_set_handler(uint32_t vector); |
emilmont | 0:8024c367e29f | 16 | |
emilmont | 0:8024c367e29f | 17 | void us_ticker_set_interrupt(unsigned int timestamp); |
emilmont | 0:8024c367e29f | 18 | void us_ticker_disable_interrupt(void); |
emilmont | 0:8024c367e29f | 19 | void us_ticker_clear_interrupt(void); |
emilmont | 0:8024c367e29f | 20 | |
emilmont | 0:8024c367e29f | 21 | #ifdef __cplusplus |
emilmont | 0:8024c367e29f | 22 | } |
emilmont | 0:8024c367e29f | 23 | #endif |
emilmont | 0:8024c367e29f | 24 | |
emilmont | 0:8024c367e29f | 25 | #endif |