summaryrefslogtreecommitdiff
path: root/shared-bindings
diff options
context:
space:
mode:
authorNick Moore <nick@zoic.org>2018-10-11 17:02:29 +1100
committerNick Moore <nick@zoic.org>2018-10-11 17:02:29 +1100
commita4a0cf826b9d39f14317e6021ac2a5c08d575fbd (patch)
tree5c7f5acdd6320d515b0016bacf1e51d1b20bdfad /shared-bindings
parenta580e870c385c9cdd698f04eb6a6ee34aff2f5ab (diff)
fix doc comments, translations again
Diffstat (limited to 'shared-bindings')
-rw-r--r--shared-bindings/wiznet/wiznet5k.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/shared-bindings/wiznet/wiznet5k.c b/shared-bindings/wiznet/wiznet5k.c
index b407dc5cb..32f100969 100644
--- a/shared-bindings/wiznet/wiznet5k.c
+++ b/shared-bindings/wiznet/wiznet5k.c
@@ -45,9 +45,16 @@
#include "shared-module/network/__init__.h"
#include "shared-module/wiznet/wiznet5k.h"
+//| .. currentmodule:: wiznet
+//|
+//| :class:`WIZNET5K` -- wrapper for Wiznet 5500 Ethernet interface
+//| ===============================================================
+//|
+//| .. class:: WIZNET5K(spi, cs, rst)
+//|
+//| Create a new WIZNET5500 interface using the specified pins
+//|
-/// \classmethod \constructor(spi, pin_cs, pin_rst)
-/// Create and return a WIZNET5K object.
STATIC mp_obj_t wiznet5k_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *args) {
// check arguments
mp_arg_check_num(n_args, n_kw, 3, 3, false);