diff options
author | Damien George <damien.p.george@gmail.com> | 2014-08-08 23:30:01 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-08-08 23:30:01 +0100 |
commit | ea439e59d95bee29df770dadbbc1a330d1e864a1 (patch) | |
tree | dbd421465c2132162307206e95f24e21ec266111 /stmhal/pin.c | |
parent | ef7a066c9cfb3f2e5adb99ba6807646206ca417e (diff) | |
download | micropython-ea439e59d95bee29df770dadbbc1a330d1e864a1.tar.gz micropython-ea439e59d95bee29df770dadbbc1a330d1e864a1.zip |
stmhal: Start of documentation for modos and modtime.
Diffstat (limited to 'stmhal/pin.c')
-rw-r--r-- | stmhal/pin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stmhal/pin.c b/stmhal/pin.c index 0271ced30f..fb50d3db13 100644 --- a/stmhal/pin.c +++ b/stmhal/pin.c @@ -589,7 +589,7 @@ STATIC mp_obj_t pin_af_index(mp_obj_t self_in) { } STATIC MP_DEFINE_CONST_FUN_OBJ_1(pin_af_index_obj, pin_af_index); -/// \method index() +/// \method name() /// Return the name of the alternate function. STATIC mp_obj_t pin_af_name(mp_obj_t self_in) { pin_af_obj_t *af = self_in; @@ -597,7 +597,7 @@ STATIC mp_obj_t pin_af_name(mp_obj_t self_in) { } STATIC MP_DEFINE_CONST_FUN_OBJ_1(pin_af_name_obj, pin_af_name); -/// \method index() +/// \method reg() /// Return the base register associated with the peripheral assigned to this /// alternate function. For example, if the alternate function were TIM2_CH3 /// this would return stm.TIM2 |