circuitpython/docs/library
Paul Sokolovsky d5e9ab6e61 extmod/machine_pulse: Make time_pulse_us() not throw exceptions.
machine.time_pulse_us() is intended to provide very fine timing, including
while working with signal bursts, where each transition is tracked in row.
Throwing and handling an exception may take too much time and "signal loss".
So instead, in case of a timeout, just return negative value. Cases of
timeout while waiting for initial signal stabilization, and during actual
timing, are recognized.

The documentation is updated accordingly, and rewritten somewhat to clarify
the function behavior.
2017-02-05 14:20:17 +03:00
..
array.rst docs/array: Document array module. 2016-08-07 00:13:48 +03:00
builtins.rst docs/library/builtins: Add docs for delattr and slice. 2016-10-25 11:02:47 +11:00
cmath.rst docs: math, cmath: Add port availability information. 2016-06-01 22:12:39 +03:00
esp.rst docs/library/esp: Remove para and add further warning about flash. 2017-01-06 18:32:49 +11:00
gc.rst docs: Cleanup and update some docs. 2014-10-31 22:21:37 +00:00
index.rst docs: Add documentation for lcd160cr module. 2017-01-23 14:37:10 +11:00
lcd160cr.rst docs: For LCD160CR driver and tutorial, add link to positioning image. 2017-02-03 12:48:54 +11:00
machine.ADC.rst docs/machine*: Remove explicit targets and "machine." prefixes on classes. 2016-06-09 03:03:53 +03:00
machine.I2C.rst docs/library/machine.I2C: Fix I2C constructor docs to match impl. 2016-12-30 15:25:48 +11:00
machine.Pin.rst docs/library/machine.Pin: Update Pin docs to align with new HW API. 2016-11-09 11:08:01 +11:00
machine.rst extmod/machine_pulse: Make time_pulse_us() not throw exceptions. 2017-02-05 14:20:17 +03:00
machine.RTC.rst docs: Spelling mistakes 2016-08-02 11:17:46 +03:00
machine.SD.rst docs/machine*: Remove explicit targets and "machine." prefixes on classes. 2016-06-09 03:03:53 +03:00
machine.SPI.rst docs: Fix some minor spelling mistakes. 2017-01-18 15:30:31 +11:00
machine.Timer.rst docs/machine: Add explicit note on machine module level and scope. 2017-01-28 12:08:25 +03:00
machine.UART.rst docs: Remove references to readall() and update stream read() docs. 2016-11-14 23:31:40 +11:00
machine.WDT.rst docs/library/machine.WDT: Add that WDT is available on pyboard. 2016-09-06 14:20:52 +10:00
math.rst docs: math, cmath: Add port availability information. 2016-06-01 22:12:39 +03:00
micropython.rst docs: Add initial draft documentation for the WiPy. 2015-06-10 23:37:56 +02:00
network.rst docs/library/network: Typo fixes, consistent acronym capitalization. 2016-10-28 12:03:35 +03:00
pyb.Accel.rst docs/library/pyb.Accel: Add hardware note about pins used by accel. 2016-12-02 17:39:13 +11:00
pyb.ADC.rst docs: Spelling mistakes 2016-08-02 11:17:46 +03:00
pyb.CAN.rst docs/pyb.*: Use proper class case in method headers. 2016-06-08 16:21:28 +03:00
pyb.DAC.rst docs: Spelling mistakes 2016-08-02 11:17:46 +03:00
pyb.ExtInt.rst docs: Spelling mistakes 2016-08-02 11:17:46 +03:00
pyb.I2C.rst stmhal/i2c: Add option to I2C to enable/disable use of DMA transfers. 2016-11-11 17:36:19 +11:00
pyb.LCD.rst docs/pyb.*: Use proper class case in method headers. 2016-06-08 16:21:28 +03:00
pyb.LED.rst docs/pyb.*: Use proper class case in method headers. 2016-06-08 16:21:28 +03:00
pyb.Pin.rst docs: Spelling mistakes 2016-08-02 11:17:46 +03:00
pyb.rst docs/library: Add reference for pyb.usb_mode and pyb.USB_HID. 2016-08-29 15:17:20 +10:00
pyb.RTC.rst docs: Spelling mistakes 2016-08-02 11:17:46 +03:00
pyb.Servo.rst docs/pyb.*: Use proper class case in method headers. 2016-06-08 16:21:28 +03:00
pyb.SPI.rst docs/library/pyb.SPI: init(): Describe "bits" argument. 2016-09-18 21:41:21 +03:00
pyb.Switch.rst docs/pyb.*: Use proper class case in method headers. 2016-06-08 16:21:28 +03:00
pyb.Timer.rst docs: Spelling mistakes 2016-08-02 11:17:46 +03:00
pyb.UART.rst docs/library/pyb.UART: Moved writechar doc to sit with other writes. 2016-12-15 09:59:45 +11:00
pyb.USB_HID.rst stmhal/usb: Add support to receive USB HID messages from host. 2016-10-04 15:38:01 +11:00
pyb.USB_VCP.rst docs: Remove references to readall() and update stream read() docs. 2016-11-14 23:31:40 +11:00
select.rst docs/select: Add an article. 2016-06-18 19:06:42 +03:00
sys.rst docs/sys: print_exception: Fixes/clarifications. 2016-06-18 19:06:53 +03:00
ubinascii.rst docs: Spelling mistakes 2016-08-02 11:17:46 +03:00
ucollections.rst docs: Spelling mistakes 2016-08-02 11:17:46 +03:00
uctypes.rst docs: Spelling mistakes 2016-08-02 11:17:46 +03:00
uhashlib.rst docs: Spelling mistakes 2016-08-02 11:17:46 +03:00
uheapq.rst Update uheapq.rst 2014-11-28 17:32:29 +00:00
uio.rst docs/uio: Typo fixes/lexical improvements. 2017-01-29 16:18:33 +03:00
ujson.rst docs: Cleanup and update some docs. 2014-10-31 22:21:37 +00:00
uos.rst docs/uos: Add uos.statvfs() documentation. 2016-10-07 13:16:54 +11:00
ure.rst docs/ure: Typo fix. 2016-06-07 08:53:54 +03:00
usocket.rst docs/usocket: Dedent Methods section. 2017-01-28 15:49:54 +03:00
ussl.rst docs/ussl: Add basic description of axTLS-based modussl. 2016-05-22 23:56:22 +03:00
ustruct.rst docs/ustruct: Describe supported type codes. 2016-05-14 20:48:43 +03:00
utime.rst docs/utime: Add docs for ticks_add(), improvements for other ticks_*(). 2016-11-01 00:14:12 +03:00
uzlib.rst docs: uzlib: Typo fix. 2014-12-05 02:08:30 +02:00
wipy.rst docs: Add usocket and ussl modules' documentation. 2015-10-21 15:30:56 +02:00