small fix on can sequence
This commit is contained in:
parent
38b5f2d4e1
commit
6edca8bb82
14
UML/can.puml
14
UML/can.puml
@ -4,8 +4,8 @@ actor CAN_BUS as bus
|
|||||||
participant interrupt as ISR
|
participant interrupt as ISR
|
||||||
queue XF as xf
|
queue XF as xf
|
||||||
participant ecan as ecan
|
participant ecan as ecan
|
||||||
participant can_interface as can
|
participant canInterface as can
|
||||||
control can_message as msg
|
control canMessageController as msg
|
||||||
|
|
||||||
|
|
||||||
bus -\\ ISR ++ : can message
|
bus -\\ ISR ++ : can message
|
||||||
@ -14,14 +14,14 @@ can -> ecan : read
|
|||||||
ecan --> can : message
|
ecan --> can : message
|
||||||
can -> xf : POST XF
|
can -> xf : POST XF
|
||||||
destroy ISR
|
destroy ISR
|
||||||
group clock xf [every 10ms]
|
group TICK XF
|
||||||
xf o-> can : receiveCan
|
xf o-> can : receiveCan()
|
||||||
can -> msg : processIncome
|
can -> msg : processIncoming()
|
||||||
msg -> can : create message
|
msg -> can : create message
|
||||||
can -> xf : POST XF
|
can -> xf : POST XF
|
||||||
end
|
end
|
||||||
group clock xf [every 10ms]
|
group TICK XF
|
||||||
xf o-> can : sendCan
|
xf o-> can : sendCan()
|
||||||
can -> ecan : write
|
can -> ecan : write
|
||||||
ecan -\\ bus : can message
|
ecan -\\ bus : can message
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user