![]() |
EVE 1.0
|
CAN timing initialisation structure definition. More...
#include <can.h>
Data Fields | |
uint8_t | BRP |
Baud Rate Prescaler (5 bit). TQ = 2*(BRP+1)/Freq. | |
uint8_t | SJW |
Synchronisation Jump Width Length = (SJW+1)*TQ (0-3) | |
uint8_t | PRSEG |
Propagation Segment Length bits = (PRSEG+1)*TQ (0-7) | |
uint8_t | PHSEG1 |
Phase Segment 1 Length bits = (PHSEG1+1)*TQ (0-7) | |
uint8_t | PHSEG2 |
Phase Segment 2 Length bits = (PHSEG2+1)*TQ (1-7) | |
uint8_t | BTLMODE |
PS2 mode (0: PS2=max(PS1,2*TQ) ; 1: PS2 determined by PHSEG2). | |
uint8_t | SAM |
Sample Point Configuration bit (0: 1 sample ; 1: 3 samples). | |