RISC-V/V203F6P6/gsm/norflash.h

14 lines
280 B
C
Raw Normal View History

2025-01-30 19:27:19 +01:00
#ifndef NORFLASH_H
#define NORFLASH_H
#include <stdint.h>
#include "spiblocked.h"
class NorFlash {
SpiBlocked spi;
public:
explicit NorFlash () noexcept : spi() {}
unsigned ReadBlock (const unsigned addr, uint8_t * data, const unsigned len);
};
#endif // NORFLASH_H