micropython/docs/library
Andrew Leech 86bfabec11 py/modmicropython: Add heap_locked function to test state of heap.
This commit adds micropython.heap_locked() which returns the current
lock-depth of the heap, and can be used by Python code to check if the heap
is locked or not.  This new function is configured via
MICROPY_PY_MICROPYTHON_HEAP_LOCKED and is disabled by default.

This commit also changes the return value of micropython.heap_unlock() so
it returns the current lock-depth as well.
2020-03-11 16:54:16 +11:00
..
_thread.rst
btree.rst docs/library: Add / to indicate positional-only args in library docs. 2020-01-12 13:44:59 +11:00
builtins.rst
cmath.rst
esp.rst docs/library: Add / to indicate positional-only args in library docs. 2020-01-12 13:44:59 +11:00
esp32.rst docs: More consistent capitalization and use of articles in headings. 2020-01-06 22:17:29 +11:00
framebuf.rst docs/library: Fix framebuf monochrome 1-bit modes, swapping HLSB/HMSB. 2020-02-10 23:04:15 +11:00
gc.rst
index.rst
lcd160cr.rst
machine.ADC.rst
machine.ADCWiPy.rst
machine.I2C.rst docs/library/machine.I2C.rst: Use positional-only arguments syntax. 2020-01-06 22:25:35 +11:00
machine.Pin.rst
machine.RTC.rst
machine.SD.rst
machine.SDCard.rst
machine.SPI.rst
machine.Signal.rst
machine.Timer.rst
machine.TimerWiPy.rst
machine.UART.rst docs/library/machine.UART.rst: Detail timeout behaviour of read methods. 2020-01-06 22:50:58 +11:00
machine.WDT.rst
machine.rst docs/library: Add / to indicate positional-only args in library docs. 2020-01-12 13:44:59 +11:00
math.rst
micropython.rst py/modmicropython: Add heap_locked function to test state of heap. 2020-03-11 16:54:16 +11:00
network.CC3K.rst
network.WIZNET5K.rst
network.WLAN.rst
network.WLANWiPy.rst
network.rst
pyb.ADC.rst
pyb.Accel.rst
pyb.CAN.rst
pyb.DAC.rst
pyb.ExtInt.rst
pyb.Flash.rst
pyb.I2C.rst
pyb.LCD.rst
pyb.LED.rst
pyb.Pin.rst
pyb.RTC.rst
pyb.SPI.rst
pyb.Servo.rst
pyb.Switch.rst
pyb.Timer.rst
pyb.UART.rst
pyb.USB_HID.rst
pyb.USB_VCP.rst
pyb.rst
sys.rst docs/library: Add / to indicate positional-only args in library docs. 2020-01-12 13:44:59 +11:00
uarray.rst
ubinascii.rst
ubluetooth.rst extmod/modbluetooth: Change scan result's "connectable" to "adv_type". 2020-03-11 14:00:44 +11:00
ucollections.rst
ucryptolib.rst
uctypes.rst docs/library: Add / to indicate positional-only args in library docs. 2020-01-12 13:44:59 +11:00
uerrno.rst
uhashlib.rst
uheapq.rst
uio.rst
ujson.rst
uos.rst docs/library/uos.rst: Improve block devices section, and ioctl ret vals. 2020-01-22 16:37:31 +11:00
ure.rst docs/library: Add / to indicate positional-only args in library docs. 2020-01-12 13:44:59 +11:00
uselect.rst docs/library: Add / to indicate positional-only args in library docs. 2020-01-12 13:44:59 +11:00
usocket.rst docs/library: Add / to indicate positional-only args in library docs. 2020-01-12 13:44:59 +11:00
ussl.rst
ustruct.rst docs/library: Add / to indicate positional-only args in library docs. 2020-01-12 13:44:59 +11:00
utime.rst
uzlib.rst docs/library: Add / to indicate positional-only args in library docs. 2020-01-12 13:44:59 +11:00
wipy.rst