Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed by
Diff: TARGET_WIZwiki_W7500/W7500x.h
- Revision:
- 107:4f6c30876dfa
- Parent:
- 104:b9ad9a133dc7
diff -r ba1f97679dad -r 4f6c30876dfa TARGET_WIZwiki_W7500/W7500x.h
--- a/TARGET_WIZwiki_W7500/W7500x.h Wed Sep 02 14:17:43 2015 +0100
+++ b/TARGET_WIZwiki_W7500/W7500x.h Wed Sep 16 15:32:31 2015 +0100
@@ -125,7 +125,6 @@
-
/**
* @}
*/
@@ -1147,6 +1146,23 @@
+typedef enum
+{
+ PAD_PA = 0,
+ PAD_PB,
+ PAD_PC,
+ PAD_PD
+}PAD_Type;
+
+typedef enum
+{
+ PAD_AF0 = Px_AFSR_AF0,
+ PAD_AF1 = Px_AFSR_AF1,
+ PAD_AF2 = Px_AFSR_AF2,
+ PAD_AF3 = Px_AFSR_AF3
+}PAD_AF_TypeDef;
+
+
#if !defined (USE_HAL_DRIVER)
#define USE_HAL_DRIVER
#endif /* USE_HAL_DRIVER */
@@ -1154,9 +1170,16 @@
#if defined (USE_HAL_DRIVER)
- #include "W7500x_conf.h"
+// #include "system_W7500x.h"
+// #include "W7500x_conf.h"
#endif
+#ifdef USE_FULL_ASSERT
+ #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__,__LINE__))
+#else
+ #define assert_param(expr) ((void)0)
+#endif /* USE_FULL_ASSERT */
+
#ifdef __cplusplus
}
#endif
