diff options
| author | Dan Halbert <halbert@halwitz.org> | 2020-08-20 20:29:57 -0400 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2020-08-20 20:29:57 -0400 |
| commit | 0e30dd8bccdbb4469e1bb54443f5d2fca66f7ff6 (patch) | |
| tree | 734b3c975287d2f922c1c6ca3bf7f3dc153d59d8 /shared-bindings/microcontroller/__init__.c | |
| parent | dfe50d08d573f2bf49a77e22de1843eb8db4b855 (diff) | |
| parent | 837abd6da072a55f3c46d62b013690a12e0ee262 (diff) | |
merge from upstream; working; includes debug_out code for debugging via Saleae for posterity
Diffstat (limited to 'shared-bindings/microcontroller/__init__.c')
| -rw-r--r-- | shared-bindings/microcontroller/__init__.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/shared-bindings/microcontroller/__init__.c b/shared-bindings/microcontroller/__init__.c index c00b1e314..2e58bdcc2 100644 --- a/shared-bindings/microcontroller/__init__.c +++ b/shared-bindings/microcontroller/__init__.c @@ -47,6 +47,9 @@ //| The `microcontroller` module defines the pins from the perspective of the //| microcontroller. See `board` for board-specific pin mappings.""" //| +//| from nvm import ByteArray +//| from watchdog import WatchDogTimer +//| //| cpu: Processor //| """CPU information and control, such as ``cpu.temperature`` and ``cpu.frequency`` @@ -133,14 +136,14 @@ STATIC mp_obj_t mcu_reset(void) { } STATIC MP_DEFINE_CONST_FUN_OBJ_0(mcu_reset_obj, mcu_reset); -//| nvm: Optional[nvm.ByteArray] +//| nvm: Optional[ByteArray] //| """Available non-volatile memory. //| This object is the sole instance of `nvm.ByteArray` when available or ``None`` otherwise. //| //| :type: nvm.ByteArray or None""" //| -//| watchdog: Optional[watchdog.WatchDogTimer] +//| watchdog: Optional[WatchDogTimer] //| """Available watchdog timer. //| This object is the sole instance of `watchdog.WatchDogTimer` when available or ``None`` otherwise.""" //| |
