aboutsummaryrefslogtreecommitdiff
path: root/docs/library/pyb.CAN.rst
AgeCommit message (Collapse)Author
2020-12-17stm32/pyb_can: Add ability to calculate CAN bit timing from baudrate.iabdalkader
Calculate the bit timing from baudrate if provided, allowing sample point override. This makes it a lot easier to make CAN work between different MCUs with different clocks, prescalers etc. Tested on F4, F7 and H7 Y/V variants.
2020-08-21docs: Change `\*` to `*` in argument lists.Zenix27
Latest versions of Sphinx (at least 3.1.0) do not need the `*` escaped and will render the `\` in the output if it is there, so remove it. Fixes issue #6209.
2019-12-04docs: Remove spaces on lines that are empty.Damien George
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
2017-10-11docs/library: Add missing cross-ref links for classes in pyb module.Mike Causer
2016-06-08docs/pyb.*: Use proper class case in method headers.Paul Sokolovsky
Class designator will be used as is in indexes, so must match actual class name.
2016-06-08docs/pyb.CAN: Mark CAN.initfilterbanks() as classmethod explicitly.Paul Sokolovsky
2016-06-08docs/pyb.*: Add "currentmodule:: pyb" directive.Paul Sokolovsky
Makes sure that classes described in these separate files are properly designated as belonging to "pyb" module in indexes.
2015-04-18stmhal: Add support for sending and receiving CAN RTR messages.Henrik
2015-04-16stmhal: Allow sending CAN messages with timeout=0.Damien George
Thanks to Henrik Sölver for this patch.
2015-02-15stmhal: Add support for CAN rx callbacks.Henrik Sölver
2014-11-30Update documentation for the CAN classHenrik Sölver
2014-11-15stmhal: Improve CAN init so that it can take sjw, bs1, bs2 args.Damien George
Also update docs to explain how CAN baudrate is determined.
2014-10-31docs: Cleanup and update some docs.Damien George
2014-10-31docs: Import documentation from source-code inline comments.Damien George
The inline docs (prefixed with /// in .c files) have been converted to RST format and put in the docs subdirectory.