This repository has been archived on 2024-01-25. You can view files and clone it, but cannot push or open issues or pull requests.
SummerSchool2-Controller/UML/can.puml

29 lines
530 B
Plaintext
Raw Permalink Normal View History

2023-08-28 15:36:03 +00:00
@startuml
2023-08-28 19:27:11 +00:00
actor CAN_BUS as bus
2023-08-28 15:36:03 +00:00
participant interrupt as ISR
queue XF as xf
2023-08-28 19:27:11 +00:00
participant ecan as ecan
2023-09-04 19:37:02 +00:00
participant canInterface as can
control canMessageController as msg
2023-08-28 15:36:03 +00:00
2023-08-28 19:27:11 +00:00
bus -\\ ISR ++ : can message
ISR -> can : newMsg
can -> ecan : read
ecan --> can : message
can -> xf : POST XF
destroy ISR
2023-09-04 19:37:02 +00:00
group TICK XF
xf o-> can : receiveCan()
can -> msg : processIncoming()
2023-08-28 19:27:11 +00:00
msg -> can : create message
can -> xf : POST XF
end
2023-09-04 19:37:02 +00:00
group TICK XF
xf o-> can : sendCan()
2023-08-28 19:27:11 +00:00
can -> ecan : write
ecan -\\ bus : can message
end
2023-08-28 15:36:03 +00:00
@enduml