Root/fw/flash.h

Source at commit 0e9b093d2ee3f8195e9848f5a931c2068d37e59f created 11 years 1 day ago.
By Werner Almesberger, tornado/cpu/cpu.brd: improve 3V3 routing
1/*
2 * fw/flash.h - Flash interface
3 *
4 * Written 2012 by Werner Almesberger
5 * Copyright 2012 Werner Almesberger
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 */
12
13#ifndef FLASH_H
14#define FLASH_H
15
16#include <stdint.h>
17
18
19void flash_start(void);
20int flash_can_write(uint16_t size);
21void flash_write(const uint8_t *buf, uint16_t size);
22void flash_end_write(void);
23
24#endif /* !FLASH_H */
25

Archive Download this file

Branches:
master
tornado-v1



interactive