aboutsummaryrefslogtreecommitdiff
path: root/stmhal/modcc3k.c
diff options
context:
space:
mode:
authorDamien George2014-10-31 01:11:55 +0000
committerDamien George2014-10-31 01:12:54 +0000
commit1a8573ed0ed72825a5cedc6a07277535aa2630fa (patch)
tree91231aea68479ed35266884ff9b413c4419190e3 /stmhal/modcc3k.c
parent47f349e7dea25fd7b2dd9d387654418aeb7de0bd (diff)
stmhal: Update some inlined docs for network and CAN.
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;