dts: can: allow individual specification of prop seg and phase seg1 quanta
Allow individual specification of the time quanta used for the CAN bus propagation segment and phase segment 1. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
d2f5a2c1dc
commit
dded1d076a
8 changed files with 24 additions and 13 deletions
|
@ -820,7 +820,7 @@ static const struct can_stm32_config can_stm32_cfg_1 = {
|
|||
.can = (CAN_TypeDef *)DT_CAN_1_BASE_ADDRESS,
|
||||
.bus_speed = DT_CAN_1_BUS_SPEED,
|
||||
.sjw = DT_CAN_1_SJW,
|
||||
.prop_bs1 = DT_CAN_1_PROP_SEG_PHASE_SEG1,
|
||||
.prop_bs1 = DT_CAN_1_PROP_SEG + DT_CAN_1_PHASE_SEG1,
|
||||
.bs2 = DT_CAN_1_PHASE_SEG2,
|
||||
.pclken = {
|
||||
.enr = DT_CAN_1_CLOCK_BITS,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue