Browse Source

stm32: can: BTR baud rate prescaler is a 10 bit field

Reported on the mailing list, verified in RM0090 and RM008
pull/323/merge
Karl Palsson 8 years ago
parent
commit
2f4f8ad85b
  1. 2
      include/libopencm3/stm32/can.h

2
include/libopencm3/stm32/can.h

@ -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 ------------------------------------------------------ */

Loading…
Cancel
Save