Files
MuditaOS/module-sys/SystemManager/doc/data/ResourceRequest.puml
GravisZro e433e8dd03 Fix transparent backgrounds in PlantUML
Images generated using PlantUML had transparent backgrounds which made
their text difficult to read on GitHub when using "Dark Mode". Forcing
a background color of #F0F0F0 ensures they are all readable.
2021-08-16 17:01:19 +02:00

72 lines
1.5 KiB
Plaintext

@startuml
skinparam BackgroundColor F0F0F0
service_eInk -> eInkSentinel : SetFrequencyValueRequest
eInkSentinel -> PowerManager : RequestCpuFrequencyMessage
PowerManager -> CpuGovernor : SetCpuFrequencyRequest
service_eInk -> EinkDisplay : powerOn
EinkDisplay -> driverLPSPI : Enable
driverLPSPI -> driverPLL2 : Pll2ClockEnable
note right
Critical section!
mutex necessary
end note
driverLPSPI -> clock_config : LPSPIClockEnable
...screen redraw...
EinkDisplay -> driverLPSPI : Disable
driverLPSPI -> clock_config : LPSPIClockDisable
driverLPSPI -> driverPLL2 : Pll2ClockDisable
note right
Critical section!
mutex necessary
end note
service_eInk -> eInkSentinel : ResetCpuFrequencyRequest
eInkSentinel -> PowerManager : RequestCpuFrequencyMessage
PowerManager -> CpuGovernor : ResetCpuFrequencyRequest
@enduml
@startuml
service_cellular -> cellularSentinel : SetFrequencyValueRequest
cellularSentinel -> PowerManager : RequestCpuFrequencyMessage
PowerManager -> CpuGovernor : SetCpuFrequencyRequest
service_cellular -> bsp_cellular : wakeUp
bsp_cellular -> driverUART : Enable
driverUART -> clock_config : ExternalOscillatorEnable
note right
Critical section!
mutex necessary
end note
driverUART -> clock_config : UARTClockEnable
...call ended...
bsp_cellular -> driverUART : Disable
driverUART -> clock_config : UARTClockDisable
service_cellular -> cellularSentinel : ResetCpuFrequencyRequest
cellularSentinel -> PowerManager : RequestCpuFrequencyMessage
PowerManager -> CpuGovernor : ResetCpuFrequencyRequest
@enduml