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:
Karl Palsson 2017-05-08 10:49:04 +00:00
parent a0a7f77d4c
commit 2f4f8ad85b
1 changed files with 1 additions and 1 deletions

View File

@ -480,7 +480,7 @@ LGPL License Terms @ref lgpl_license
/* 15:10 Reserved, forced by hardware to 0 */
/* BRP[9:0]: Baud rate prescaler */
#define CAN_BTR_BRP_MASK (0x1FFUL << 0)
#define CAN_BTR_BRP_MASK (0x3FFUL << 0)
/* --- CAN_TIxR values ------------------------------------------------------ */