stm32: can: BTR baud rate prescaler is a 10 bit field
Reported on the mailing list, verified in RM0090 and RM008
This commit is contained in:
@@ -480,7 +480,7 @@ LGPL License Terms @ref lgpl_license
|
|||||||
/* 15:10 Reserved, forced by hardware to 0 */
|
/* 15:10 Reserved, forced by hardware to 0 */
|
||||||
|
|
||||||
/* BRP[9:0]: Baud rate prescaler */
|
/* BRP[9:0]: Baud rate prescaler */
|
||||||
#define CAN_BTR_BRP_MASK (0x1FFUL << 0)
|
#define CAN_BTR_BRP_MASK (0x3FFUL << 0)
|
||||||
|
|
||||||
/* --- CAN_TIxR values ------------------------------------------------------ */
|
/* --- CAN_TIxR values ------------------------------------------------------ */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user