git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2245 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2010-10-10 16:47:17 +00:00
parent 1c9c405430
commit 8cbeb405b9
1 changed files with 26 additions and 20 deletions

View File

@ -237,45 +237,51 @@
digraph example { digraph example {
size="5, 7"; size="5, 7";
rankdir="LR"; rankdir="LR";
node [shape=circle, fontname=Helvetica, fontsize=8, fixedsize="true", width="0.8", height="0.8"]; node [shape=circle, fontname=Helvetica, fontsize=8, fixedsize="true", width="0.9", height="0.9"];
edge [fontname=Helvetica, fontsize=8]; edge [fontname=Helvetica, fontsize=8];
uninit [label="SPI_UNINIT", style="bold"];
stop [label="SPI_STOP\nLow Power"]; stop [label="SPI_STOP\nLow Power"];
uninit [label="SPI_UNINIT", style="bold"];
ready [label="SPI_READY\nClock Enabled"]; ready [label="SPI_READY\nClock Enabled"];
selected [label="SPI_SELECTED\nSlave Selected"];
active [label="SPI_ACTIVE\nBus Active"]; active [label="SPI_ACTIVE\nBus Active"];
uninit -> stop [label="spiInit()"]; sync [label="SPI_SYNC\nSynchronization"];
uninit -> stop [label="spiInit()", constraint=false];
stop -> ready [label="spiStart()"]; stop -> ready [label="spiStart()"];
ready -> ready [label="spiStart()"]; ready -> ready [label="spiUnselect()\nspiStart()\nspiWait()"];
ready -> ready [label="spiIgnore()"];
ready -> stop [label="spiStop()"]; ready -> stop [label="spiStop()"];
stop -> stop [label="spiStop()"]; stop -> stop [label="spiStop()"];
ready -> active [label="spiSelect()"]; ready -> selected [label="spiSelect()"];
active -> active [label="spiSelect()"]; selected -> selected [label="spiSelect()\nspiWait()"];
active -> ready [label="spiUnselect()"]; selected -> ready [label="spiUnselect()"];
ready -> ready [label="spiUnselect()"]; selected -> active [label="spiIgnore()\nspiExchange()\nspiSend()\nspiReceive()"];
active -> active [label="spiIgnore()\nspiExchange()\nspiSend()\nspiReceive()"]; active -> selected [label="spiWait()\n>spc_endcb<"];
ready -> sync [label="spiSynchronize()"];
sync -> ready [label="spiWait()\n>spc_endcb<"];
} }
* @else * @else
* @dot * @dot
digraph example { digraph example {
rankdir="LR"; rankdir="LR";
node [shape=circle, fontname=Helvetica, fontsize=8, fixedsize="true", width="0.8", height="0.8"]; node [shape=circle, fontname=Helvetica, fontsize=8, fixedsize="true", width="0.9", height="0.9"];
edge [fontname=Helvetica, fontsize=8]; edge [fontname=Helvetica, fontsize=8];
uninit [label="SPI_UNINIT", style="bold"];
stop [label="SPI_STOP\nLow Power"]; stop [label="SPI_STOP\nLow Power"];
uninit [label="SPI_UNINIT", style="bold"];
ready [label="SPI_READY\nClock Enabled"]; ready [label="SPI_READY\nClock Enabled"];
selected [label="SPI_SELECTED\nSlave Selected"];
active [label="SPI_ACTIVE\nBus Active"]; active [label="SPI_ACTIVE\nBus Active"];
uninit -> stop [label="spiInit()"]; sync [label="SPI_SYNC\nSynchronization"];
uninit -> stop [label="spiInit()", constraint=false];
stop -> ready [label="spiStart()"]; stop -> ready [label="spiStart()"];
ready -> ready [label="spiStart()"]; ready -> ready [label="spiUnselect()\nspiStart()\nspiWait()"];
ready -> ready [label="spiIgnore()"];
ready -> stop [label="spiStop()"]; ready -> stop [label="spiStop()"];
stop -> stop [label="spiStop()"]; stop -> stop [label="spiStop()"];
ready -> active [label="spiSelect()"]; ready -> selected [label="spiSelect()"];
active -> active [label="spiSelect()"]; selected -> selected [label="spiSelect()\nspiWait()"];
active -> ready [label="spiUnselect()"]; selected -> ready [label="spiUnselect()"];
ready -> ready [label="spiUnselect()"]; selected -> active [label="spiIgnore()\nspiExchange()\nspiSend()\nspiReceive()"];
active -> active [label="spiIgnore()\nspiExchange()\nspiSend()\nspiReceive()"]; active -> selected [label="spiWait()\n>spc_endcb<"];
ready -> sync [label="spiSynchronize()"];
sync -> ready [label="spiWait()\n>spc_endcb<"];
} }
* @enddot * @enddot
* @endif * @endif