Microchip® Advanced Software Framework

can_bit_timing_t Struct Reference

Data Fields

uint8_t uc_phase1
 Phase segment 1, (3-bits + 1), 1~8;. More...
 
uint8_t uc_phase2
 Phase segment 2, (3-bits + 1), 1~8, CAN_BIT_IPT <= uc_phase2;. More...
 
uint8_t uc_prog
 Propagation segment, (3-bits + 1), 1~8;. More...
 
uint8_t uc_sjw
 Resynchronization jump width, (2-bits + 1), min(uc_phase1, 4);. More...
 
uint8_t uc_sp
 Sample point value, 0~100 in percent. More...
 
uint8_t uc_tq
 CAN_BIT_SYNC + uc_prog + uc_phase1 + uc_phase2 = uc_tq, 8 <= uc_tq <= 25. More...
 

uint8_t can_bit_timing_t::uc_phase1

Phase segment 1, (3-bits + 1), 1~8;.

Referenced by can_set_baudrate().

uint8_t can_bit_timing_t::uc_phase2

Phase segment 2, (3-bits + 1), 1~8, CAN_BIT_IPT <= uc_phase2;.

Referenced by can_set_baudrate().

uint8_t can_bit_timing_t::uc_prog

Propagation segment, (3-bits + 1), 1~8;.

Referenced by can_set_baudrate().

uint8_t can_bit_timing_t::uc_sjw

Resynchronization jump width, (2-bits + 1), min(uc_phase1, 4);.

Referenced by can_set_baudrate().

uint8_t can_bit_timing_t::uc_sp

Sample point value, 0~100 in percent.

uint8_t can_bit_timing_t::uc_tq

CAN_BIT_SYNC + uc_prog + uc_phase1 + uc_phase2 = uc_tq, 8 <= uc_tq <= 25.