From 30dd23aa7f2c7f142bab66d189f7f479091cf161 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 10 Aug 2014 17:50:28 +0100 Subject: doc: Document gc, sys, math, cmath. --- stmhal/pybstdio.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'stmhal/pybstdio.c') diff --git a/stmhal/pybstdio.c b/stmhal/pybstdio.c index 2121a6cbb..b7756d63e 100644 --- a/stmhal/pybstdio.c +++ b/stmhal/pybstdio.c @@ -177,6 +177,10 @@ STATIC const mp_obj_type_t stdio_obj_type = { .locals_dict = (mp_obj_t)&stdio_locals_dict, }; +/// \moduleref sys +/// \constant stdin - standard input (connected to USB VCP, and optional UART object) +/// \constant stdout - standard output (connected to USB VCP, and optional UART object) +/// \constant stderr - standard error (connected to USB VCP, and optional UART object) const pyb_stdio_obj_t mp_sys_stdin_obj = {{&stdio_obj_type}, .fd = STDIO_FD_IN}; const pyb_stdio_obj_t mp_sys_stdout_obj = {{&stdio_obj_type}, .fd = STDIO_FD_OUT}; const pyb_stdio_obj_t mp_sys_stderr_obj = {{&stdio_obj_type}, .fd = STDIO_FD_ERR}; -- cgit v1.2.3