RISC-V/V203F6P6/gsm/norflash.h
2025-01-30 19:27:19 +01:00

13 lines
280 B
C++

#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