summaryrefslogtreecommitdiff
path: root/stmhal/modcc3k.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/modcc3k.c')
-rw-r--r--stmhal/modcc3k.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/stmhal/modcc3k.c b/stmhal/modcc3k.c
index 7c35e76f6..7b908e895 100644
--- a/stmhal/modcc3k.c
+++ b/stmhal/modcc3k.c
@@ -61,6 +61,8 @@
#include "netapp.h"
#include "patch_prog.h"
+/// \moduleref network
+
int CC3000_EXPORT(errno); // for cc3000 driver
STATIC mp_obj_t cc3k_socket_new(mp_uint_t family, mp_uint_t type, mp_uint_t protocol, int *_errno);
@@ -140,6 +142,8 @@ STATIC int cc3k_gethostbyname(mp_obj_t nic, const char *name, mp_uint_t len, uin
/******************************************************************************/
// Micro Python bindings; CC3k class
+/// \class CC3k - driver for CC3000 Wifi modules
+
typedef struct _cc3k_obj_t {
mp_obj_base_t base;
} cc3k_obj_t;