summaryrefslogtreecommitdiff
path: root/docs/library/pyb.CAN.rst
diff options
context:
space:
mode:
authoriabdalkader <i.abdalkader@gmail.com>2022-03-30 17:40:44 +0200
committerDamien George <damien@micropython.org>2022-04-02 22:42:00 +1100
commit5562ed3f43f1a9327bf8634f16e2592774eb7907 (patch)
treecc1f86f9a427f5267d5142b6204a9d99506c7d83 /docs/library/pyb.CAN.rst
parenta79706fb397b5763eff9fa0a2c1b3f1dbc906fff (diff)
stm32/pyb_can: Replace CAN.initfilterbanks with CAN.init keyword arg.
The CAN.initfilterbanks() class method is removed, and its functionality is replaced with the "num_filter_banks" keyword argument to the CAN constructor and CAN.init(). This configures the filter bank split. This new approach provides more flexibility configuring the resources used by a given CAN instance, allowing other MCUs like H7 to fit the API. It also brings CAN closer to how other machine peripherals are configured, where everything is done in the constructor/init method. This is a breaking change to the CAN API.
Diffstat (limited to 'docs/library/pyb.CAN.rst')
0 files changed, 0 insertions, 0 deletions