view 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
line wrap: on
line source

int		flashreadblock(uint32_t addr, uint32_t len, void *_data);
int		flashwriteblock(uint32_t addr, uint32_t len, void *_data);
uint32_t	flashcrcblock(uint32_t addr, uint32_t len);

/* Streaming read/write */
void		flashstartread(uint32_t addr);
uint8_t		flashreadbyte(void);
void		flashstartwrite(uint32_t addr, uint16_t data);
void		flashwriteword(uint16_t data);
void		flashstopread(void);
void		flashstopwrite(void);