Damien George
|
0abbafd424
|
stm32/can: Add "list" param to CAN.recv() to receive data inplace.
This API matches (as close as possible) how other pyb classes allow inplace
operations, such as pyb.SPI.recv(buf).
|
7 years ago |
Damien George
|
b7d576d69a
|
docs/library/pyb.CAN: Clean up documentation of data constants.
|
7 years ago |
Damien George
|
a25e6c6b65
|
stm32/can: Add CAN.info() method to retrieve error and tx/rx buf info.
|
7 years ago |
Damien George
|
d7e67fb1b4
|
stm32/can: Add CAN.state() method to get the state of the controller.
This is useful for monitoring errors on the bus and knowing when a restart
is needed.
|
7 years ago |
Damien George
|
1272c3c65d
|
stm32/can: Add CAN.restart() method so controller can leave bus-off.
|
7 years ago |
Damien George
|
823ca03008
|
stm32/can: Add "auto_restart" option to constructor and init() method.
|
7 years ago |
Damien George
|
d91a1989f5
|
docs/library/pyb.CAN: Update markup to use latest doc conventions.
|
7 years ago |
Mike Causer
|
b1457db002
|
docs/library: Add missing cross-ref links for classes in pyb module.
|
7 years ago |
Paul Sokolovsky
|
a384a53130
|
docs/pyb.*: Use proper class case in method headers.
Class designator will be used as is in indexes, so must match actual class
name.
|
9 years ago |
Paul Sokolovsky
|
8171995ee9
|
docs/pyb.CAN: Mark CAN.initfilterbanks() as classmethod explicitly.
|
9 years ago |
Paul Sokolovsky
|
0a4cc24b2e
|
docs/pyb.*: Add "currentmodule:: pyb" directive.
Makes sure that classes described in these separate files are properly
designated as belonging to "pyb" module in indexes.
|
9 years ago |
Henrik
|
e3cd154317
|
stmhal: Add support for sending and receiving CAN RTR messages.
|
10 years ago |
Damien George
|
7d5e34287c
|
stmhal: Allow sending CAN messages with timeout=0.
Thanks to Henrik Sölver for this patch.
|
10 years ago |
Henrik Sölver
|
f80f1a7077
|
stmhal: Add support for CAN rx callbacks.
|
10 years ago |
Henrik Sölver
|
d8c2b2a1c4
|
Update documentation for the CAN class
|
10 years ago |
Damien George
|
d1b42d7b51
|
stmhal: Improve CAN init so that it can take sjw, bs1, bs2 args.
Also update docs to explain how CAN baudrate is determined.
|
10 years ago |
Damien George
|
a58713a899
|
docs: Cleanup and update some docs.
|
10 years ago |
Damien George
|
88d3054ac0
|
docs: Import documentation from source-code inline comments.
The inline docs (prefixed with /// in .c files) have been converted to
RST format and put in the docs subdirectory.
|
10 years ago |