Ideally, all of our drivers should function without using any of the embedded-hal/embedded-can traits; these traits are only interfaces. Unfortunately, our twai driver is currently quite tightly coupled to these dependencies.
This needs to be fixed; I have started looking into this a bit, but unfortunately I think we will need to duplicate quite a few enums/structs from these packages :/