summaryrefslogtreecommitdiff
path: root/docs/library
AgeCommit message (Collapse)Author
2018-07-18docs/library/machine.UART: Remove conditional docs for wipy port.Damien George
The UART.init() method is now included unconditionally and its wording adjusted to better describe ports other than the cc3200. UART.irq() is also included unconditionally, but this is currently only available on the WiPy target.
2018-07-18docs/library/pyb.DAC: Fix typo in markup to balance quotes.Damien George
2018-07-18docs/library: Remove "only" directive from all pyb module docs.Damien George
By virtue of its name, the pyb module would only be available on a pyboard and so does not need to have conditional "only" directives throughout its documentation. These conditionals were added mostly in cfcf47c0644952358e1a260db159e807872a37e6 in the initial development of the cc3200 port, which had the pyb module before it switched to the machine module. And wipy only conditionals were removed from the pyb module documentation in 4542643025c77a7272bde348b89d5039aea28d23, so there's no need to retain any more conditionals.
2018-07-02docs/ure: Document some more supported regex operators.Damien George
2018-07-02docs/ure: Document sub(), groups(), span(), start() and end().Damien George
2018-06-28docs/uos: Make it clear that block device block_num param is an index.Damien George
2018-06-27extmod/moducryptolib: Optionally export MODE_* constants to Python.Yonatan Goldschmidt
Allow including crypto consts based on compilation settings. Disabled by default to reduce code size; if one wants extra code readability, can enable them.
2018-06-27docs/usocket: Minor fixes to grammar of getaddrinfo.Damien George
2018-06-27docs/usocket: getaddrinfo: Describe af/type/proto optional params.Paul Sokolovsky
These can be optionally specified, but all ports are expected to be able to accept them, at the very least ignore, though handling of "type" param (SOCK_STREAM vs SOCK_DGRAM) is recommended.
2018-06-27docs/ucryptolib: Add docs for new ucryptolib module.Paul Sokolovsky
2018-06-26docs/library: Add documentation for ucollections.deque.Damien George
2018-05-21stm32/rtc: Don't try to set SubSeconds value on RTC.Damien George
The hardware doesn't allow it, instead the value is reset to 255 upon setting the other calendar/time values.
2018-04-26docs/library: Add ussl module to library index for unix port.Damien George
2018-04-20docs/library/pyb.ADC: Fix typo of "prarmeter".Damien George
2018-04-20docs/library/pyb.ADC: Remove outdated ADCAll code example.Peter Hinch
2018-04-11stm32/dac: Add buffering argument to constructor and init() method.Damien George
This can be used to select the output buffer behaviour of the DAC. The default values are chosen to retain backwards compatibility with existing behaviour. Thanks to @peterhinch for the initial idea to add this feature.
2018-04-11stm32/adc: Optimise read_timed_multi() by caching buffer pointers.Damien George
2018-04-11stm32/adc: Add read_timed_multi() static method, with docs and tests.Peter Hinch
2018-04-10docs/library/pyb.ADC.rst: Document new features for ADCAll.T S
2018-03-19stm32/can: Add "list" param to CAN.recv() to receive data inplace.Damien George
This API matches (as close as possible) how other pyb classes allow inplace operations, such as pyb.SPI.recv(buf).
2018-03-16docs/library/pyb.CAN: Clean up documentation of data constants.Damien George
2018-03-16stm32/can: Add CAN.info() method to retrieve error and tx/rx buf info.Damien George
2018-03-16stm32/can: Add CAN.state() method to get the state of the controller.Damien George
This is useful for monitoring errors on the bus and knowing when a restart is needed.
2018-03-15stm32/can: Add CAN.restart() method so controller can leave bus-off.Damien George
2018-03-15stm32/can: Add "auto_restart" option to constructor and init() method.Damien George
2018-03-15docs/library/pyb.CAN: Update markup to use latest doc conventions.Damien George
2018-03-15docs: Fix some references and RST markup to eliminate Sphinx warnings.Damien George
2018-03-12extmod/vfs_fat: Add file size as 4th element of uos.ilistdir tuple.Tom Collins
2018-03-07docs/library/uos: Document mount, umount, VfsFat and block devices.Damien George
2018-03-07docs/library/uos: Create sections for distinct parts and document uname.Damien George
2018-03-05docs/library/micropython: Describe optimisation levels for opt_level().Damien George
2018-03-05docs/library/usocket: Make xref to uerrno explicitly a module reference.Damien George
2018-02-26esp8266/modnetwork: Implement WLAN.status('rssi') for STA interface.Damien George
This will return the RSSI of the AP that the STA is connected to.
2018-02-15docs/library/ujson: Document dump() and load() functions.Damien George
2018-02-15docs/library/ujson: Update to conform with docs conventions.Damien George
The formatting of exception objects is done as per CPython conventions, eg: :exc:`TypeError`
2018-02-01docs/library/pyb.rst: Add note about availability of USB MSC-only mode.Damien George
2017-12-23docs/library/index: Elaborate uPy libraries intro.Paul Sokolovsky
2017-12-14extmod/modframebuf: Add 8-bit greyscale format (GS8).Damien George
2017-12-14extmod/modframebuf: Add 2-bit color format (GS2_HMSB).Petr Viktorin
This format is used in 2-color LED matrices and in e-ink displays like SSD1606.
2017-12-04docs/library: Add xrefs to "stream" dictionary entry for many modules.Paul Sokolovsky
2017-12-03docs/uerrno: Fix xref-vs-code markup.Paul Sokolovsky
2017-12-03docs/glossary: Describe the callee-owned tuple concept.Paul Sokolovsky
2017-11-30docs/uselect: ipoll: Fix grammar/wording of one-shot flag description.Paul Sokolovsky
2017-11-30docs/library/utime: Fix incorrect example with ticks_diff args order.Paul Carver
The parameter order in the example for ticks_diff was incorrect. If it's "too early" that means that scheduled time is greater than current time and if it's "running late" then scheduled time would be less than current time.
2017-11-26docs/uselect: Describe POLLHUP/POLLERR semantics in more details.Paul Sokolovsky
Per POSIX, http://pubs.opengroup.org/onlinepubs/9699919799/functions/poll.html these flags aren't valid in the input eventmask. Instead, they can be returned in unsolicited manner in the output eventmask at any time.
2017-11-25docs/uctypes: Tweak descriptor reference to hopefully be easier to follow.Paul Sokolovsky
Put offset first in OR expressions, and use "offset" var instead of hardcoded numbers. Hopefully, this will make it more self-describing and show patterns better.
2017-11-25docs/uctypes: Typo/article fixes.Paul Sokolovsky
2017-11-23docs/uselect: poll: Explicitly specify that no-timeout value is -1.Paul Sokolovsky
2017-11-23docs: Add notes on heap allocation caused by bound method refs.Peter Hinch
2017-11-16docs/library/network: Enhance AbstractNIC.status to take an argument.Damien George
The argument is optional and if given should be a string naming the status variable to query.