mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Committer:
mbed_official
Date:
Fri Jul 17 09:15:10 2015 +0100
Revision:
592:a274ee790e56
Parent:
579:53297373a894
Synchronized with git revision e7144f83a8d75df80c4877936b6ffe552b0be9e6

Full URL: https://github.com/mbedmicro/mbed/commit/e7144f83a8d75df80c4877936b6ffe552b0be9e6/

More API implementation for SAMR21

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 579:53297373a894 1 #ifndef _STRINGZ_H_
mbed_official 579:53297373a894 2 #define _STRINGZ_H_
mbed_official 579:53297373a894 3
mbed_official 579:53297373a894 4 /**
mbed_official 579:53297373a894 5 * \defgroup group_sam0_utils_stringz Preprocessor - Stringize
mbed_official 579:53297373a894 6 *
mbed_official 579:53297373a894 7 * \ingroup group_sam0_utils
mbed_official 579:53297373a894 8 *
mbed_official 579:53297373a894 9 * @{
mbed_official 579:53297373a894 10 */
mbed_official 579:53297373a894 11
mbed_official 579:53297373a894 12 /** \brief Stringize.
mbed_official 579:53297373a894 13 *
mbed_official 579:53297373a894 14 * Stringize a preprocessing token, this token being allowed to be \#defined.
mbed_official 579:53297373a894 15 *
mbed_official 579:53297373a894 16 * May be used only within macros with the token passed as an argument if the
mbed_official 579:53297373a894 17 * token is \#defined.
mbed_official 579:53297373a894 18 *
mbed_official 579:53297373a894 19 * For example, writing STRINGZ(PIN) within a macro \#defined by PIN_NAME(PIN)
mbed_official 579:53297373a894 20 * and invoked as PIN_NAME(PIN0) with PIN0 \#defined as A0 is equivalent to
mbed_official 579:53297373a894 21 * writing "A0".
mbed_official 579:53297373a894 22 */
mbed_official 579:53297373a894 23 #define STRINGZ(x) #x
mbed_official 579:53297373a894 24
mbed_official 579:53297373a894 25 /** \brief Absolute stringize.
mbed_official 579:53297373a894 26 *
mbed_official 579:53297373a894 27 * Stringize a preprocessing token, this token being allowed to be \#defined.
mbed_official 579:53297373a894 28 *
mbed_official 579:53297373a894 29 * No restriction of use if the token is \#defined.
mbed_official 579:53297373a894 30 *
mbed_official 579:53297373a894 31 * For example, writing ASTRINGZ(PIN0) anywhere with PIN0 \#defined as A0 is
mbed_official 579:53297373a894 32 * equivalent to writing "A0".
mbed_official 579:53297373a894 33 */
mbed_official 579:53297373a894 34 #define ASTRINGZ(x) STRINGZ(x)
mbed_official 579:53297373a894 35
mbed_official 579:53297373a894 36 /** @} */
mbed_official 579:53297373a894 37
mbed_official 579:53297373a894 38 #endif // _STRINGZ_H_