test(twai): ensure the bitrate correctness by uart baudrate detector

This commit is contained in:
morris
2025-05-08 16:59:44 +08:00
parent 386a3905b5
commit 2ea460df56
7 changed files with 62 additions and 26 deletions

View File

@@ -120,14 +120,7 @@ typedef union {
* 0b1 - TXBBM_ENABLED - TXT Buffer Backup mode enabled\\
*/
uint32_t txbbm:1;
/** sam : R/W; bitpos: [11]; default: 0;
* Self-acknowledge mode.\\
* 0b0 - SAM_DISABLE - Do not send dominant ACK bit when CTU CAN FD sends Acknowledge
* bit.\\
* 0b1 - SAM_ENABLE - Send dominant ACK bit when CTU CAN FD transmits CAN frame.\\
*/
uint32_t sam:1;
uint32_t reserved_12:4;
uint32_t reserved_11:5;
/** rtrle : R/W; bitpos: [16]; default: 0;
* Retransmitt Limit Enable. If enabled, CTU CAN FD only attempts to retransmitt each
* frame up to RTR_TH