Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
rm25c512cl.cpp@0:890f322344f2, 2018-09-05 (annotated)
- Committer:
- ianaherne
- Date:
- Wed Sep 05 16:04:45 2018 +0000
- Revision:
- 0:890f322344f2
- Child:
- 1:67d99e4ce310
started creating driver
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| ianaherne | 0:890f322344f2 | 1 | #include "rm25c512cl.h" |
| ianaherne | 0:890f322344f2 | 2 | |
| ianaherne | 0:890f322344f2 | 3 | |
| ianaherne | 0:890f322344f2 | 4 | rm25c512cl::rm25c512cl(PinName MOSI,PinName MISO,PinName SCLK,PinName CS): _spi(MOSI,MISO,SCLK),_cs(CS){ |
| ianaherne | 0:890f322344f2 | 5 | |
| ianaherne | 0:890f322344f2 | 6 | |
| ianaherne | 0:890f322344f2 | 7 | } |
| ianaherne | 0:890f322344f2 | 8 | |
| ianaherne | 0:890f322344f2 | 9 | void rm25c512cl :: write_enable(){ |
| ianaherne | 0:890f322344f2 | 10 | |
| ianaherne | 0:890f322344f2 | 11 | |
| ianaherne | 0:890f322344f2 | 12 | |
| ianaherne | 0:890f322344f2 | 13 | } |
| ianaherne | 0:890f322344f2 | 14 | |
| ianaherne | 0:890f322344f2 | 15 | void rm25c512cl :: read_status_reg(){ |
| ianaherne | 0:890f322344f2 | 16 | |
| ianaherne | 0:890f322344f2 | 17 | |
| ianaherne | 0:890f322344f2 | 18 | |
| ianaherne | 0:890f322344f2 | 19 | } |
| ianaherne | 0:890f322344f2 | 20 | |
| ianaherne | 0:890f322344f2 | 21 | void rm25c512cl :: write_page(){ |
| ianaherne | 0:890f322344f2 | 22 | |
| ianaherne | 0:890f322344f2 | 23 | |
| ianaherne | 0:890f322344f2 | 24 | } |
| ianaherne | 0:890f322344f2 | 25 | |
| ianaherne | 0:890f322344f2 | 26 | void rm25c512cl :: write_byte(){ |
| ianaherne | 0:890f322344f2 | 27 | |
| ianaherne | 0:890f322344f2 | 28 | } |
| ianaherne | 0:890f322344f2 | 29 | |
| ianaherne | 0:890f322344f2 | 30 | void rm25c512cl :: read_page(){ |
| ianaherne | 0:890f322344f2 | 31 | |
| ianaherne | 0:890f322344f2 | 32 | |
| ianaherne | 0:890f322344f2 | 33 | } |
| ianaherne | 0:890f322344f2 | 34 | |
| ianaherne | 0:890f322344f2 | 35 | void rm25c512cl :: read_byte(){ |
| ianaherne | 0:890f322344f2 | 36 | |
| ianaherne | 0:890f322344f2 | 37 | } |