diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2019-01-21 20:03:19 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2019-01-21 20:03:19 +0000 |
commit | d8af50ca0d6b3352368f84d5cb93c5b66c52bdf0 (patch) | |
tree | 4174076a461c8a095e89f4f5189e368168189a26 /os/hal/dox/hal_norflash.dox | |
parent | a3e9966359c432405c8ab1eb49a27133e5271ba2 (diff) | |
download | ChibiOS-d8af50ca0d6b3352368f84d5cb93c5b66c52bdf0.tar.gz ChibiOS-d8af50ca0d6b3352368f84d5cb93c5b66c52bdf0.tar.bz2 ChibiOS-d8af50ca0d6b3352368f84d5cb93c5b66c52bdf0.zip |
Fixed flash state machine, removed EXT remains.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12572 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/dox/hal_norflash.dox')
-rw-r--r-- | os/hal/dox/hal_norflash.dox | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/os/hal/dox/hal_norflash.dox b/os/hal/dox/hal_norflash.dox index 2196363bd..24f30d9e4 100644 --- a/os/hal/dox/hal_norflash.dox +++ b/os/hal/dox/hal_norflash.dox @@ -20,7 +20,7 @@ * @details This module implements a generic driver for serial NOR Flash
* devices.
*
- * @section flash_1 Driver State Machine
+ * @section snorflash_1 Driver State Machine
* The flash driver implements a state machine internally, not all the driver
* functionalities can be used in any moment, any transition not explicitly
* shown in the following diagram has to be considered an error and shall
@@ -34,23 +34,19 @@ uninit [label="FLS_UNINIT", style="bold"];
ready [label="FLS_READY\nClock Enabled"];
read [label="FLS_READ\nReading"];
- program [label="FLS_PGM\nProgramming"];
- erasea [label="FLS_ERASEA\nErasing All"];
- erases [label="FLS_ERASES\nErasing Sector"];
- uninit -> stop [label=" flashInit()", constraint=false];
- stop -> stop [label=" flashStop()"];
- stop -> ready [label=" flashStart()"];
- ready -> stop [label=" flashStop()"];
+ pgm [label="FLS_PGM\nProgramming"];
+ erase [label="FLS_ERASE\nErasing"];
+ uninit -> stop [label=" snorInit()", constraint=false];
+ stop -> stop [label=" snorStop()"];
+ stop -> ready [label=" snorStart()"];
+ ready -> stop [label=" snorStop()"];
ready -> read [label=" flashRead()\nflashVerifyErase()"];
read -> ready [label=" return"];
- ready -> program [label=" flashProgram()"];
- program -> ready [label=" return"];
- ready -> erasea [label=" flashEraseAll)"];
- erasea -> ready [label=" flashQueryErase()\nFLASH_NO_ERROR\nFLASH_ERROR_*"];
- erasea -> erasea [label=" flashQueryErase()\nflashProgram()\nflashRead()\nFLASH_BUSY_ERASE"];
- ready -> erases [label=" flashEraseSector()"];
- erases -> ready [label=" flashQueryErase()\nFLASH_NO_ERROR\nFLASH_ERROR_*"];
- erases -> erases [label=" flashQueryErase()\nflashProgram()\nflashRead()\nFLASH_BUSY_ERASE"];
+ ready -> pgm [label=" flashProgram()"];
+ pgm -> ready [label=" return"];
+ ready -> erase [label=" \n\nflashEraseAll()\nflashEraseSector()"];
+ erase -> ready [label=" flashQueryErase()\nFLASH_NO_ERROR\nFLASH_ERROR_*"];
+ erase -> erase [label=" flashQueryErase()\nflashProgram()\nflashRead()\nFLASH_BUSY_ERASING"];
}
* @enddot
*
|