Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose method to check if bus is dominant
Checking if the bus is dominant (i.e., the RX pin value is low) can be particularly useful in scenarios where the transceiver is put into sleep mode. Some transceivers (such as TCAN1043-Q1[1]) signals wake-up by setting the RX pin (and nFAULT) to low while being in sleep mode. To accurately tell if the transceiver requests a wake-up, the RX pin state needs to be accessible from the application. Fortunately MCAN provides a way to read the state of the RX pin through its `TEST` register. Extend the `DynAux` trait with an additional method that reads the `RX` bit from that register. [1]: https://www.ti.com/product/TCAN1043-Q1
- Loading branch information