STM32: Define CAN handle as part of can object
Instead of a static object, this will make driver instantiation more robust and allow to re-use init configuration on a need basis. The CANName struct member is actually the CAN registers base address, which is now available in the CanHandle.Instance field, so we don't need CANName anymore. |
---|
|
targets/TARGET_STM/TARGET_STM32F0/common_objects.h |
---|
targets/TARGET_STM/TARGET_STM32F1/common_objects.h |
---|
targets/TARGET_STM/TARGET_STM32F2/objects.h |
---|
targets/TARGET_STM/TARGET_STM32F3/common_objects.h |
---|
targets/TARGET_STM/TARGET_STM32F4/common_objects.h |
---|
targets/TARGET_STM/TARGET_STM32F7/common_objects.h |
---|
targets/TARGET_STM/TARGET_STM32L4/common_objects.h |
---|
targets/TARGET_STM/can_api.c |
---|