annotate flash.h @ 85:18b154c447bb

Add note about 1-wire wiring
author Daniel O'Connor <darius@dons.net.au>
date Thu, 12 Mar 2015 23:22:11 +1030
parents 05ba84c7da97
children e30fe4bb8011
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
83
05ba84c7da97 Add a flash layer for compatibility (in future).
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
1 int flashreadblock(uint32_t addr, uint32_t len, void *_data);
05ba84c7da97 Add a flash layer for compatibility (in future).
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
2 int flashwriteblock(uint32_t addr, uint32_t len, void *_data);
05ba84c7da97 Add a flash layer for compatibility (in future).
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
3 uint32_t flashcrcblock(uint32_t addr, uint32_t len);
05ba84c7da97 Add a flash layer for compatibility (in future).
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
4
05ba84c7da97 Add a flash layer for compatibility (in future).
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
5 /* Streaming read/write */
05ba84c7da97 Add a flash layer for compatibility (in future).
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
6 void flashstartread(uint32_t addr);
05ba84c7da97 Add a flash layer for compatibility (in future).
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
7 uint8_t flashreadbyte(void);
05ba84c7da97 Add a flash layer for compatibility (in future).
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
8 void flashstartwrite(uint32_t addr, uint16_t data);
05ba84c7da97 Add a flash layer for compatibility (in future).
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
9 void flashwriteword(uint16_t data);
05ba84c7da97 Add a flash layer for compatibility (in future).
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
10 void flashstopread(void);
05ba84c7da97 Add a flash layer for compatibility (in future).
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
11 void flashstopwrite(void);