What is the size of ERJW field inside CAN_CBT register from FlexCAN - 4 or 5 bits?
I am a little bit confused because:
union { /* CAN Bit Timing Register */
vuint32_t R;
struct {
vuint32_t BTF:1; /* Bit Timing Format Enable */
vuint32_t EPRESDIV:10; /* Extended Prescaler Division Factor */
// vuint32_t :1;
vuint32_t ERJW:5; /* Extended Resync Jump Width */ // was 4 bits
vuint32_t EPROPSEG:6; /* Extended Propagation Segment */
vuint32_t EPSEG1:5; /* Extended Phase Segment 1 */
vuint32_t EPSEG2:5; /* Extended Phase Segment 2 */
} B;
Hi,
size of ERJW is 5 bits.
BR, Petr