Crate avrox_storage

source ·
Expand description

Storage device drivers for the AVRoxide operating system.

§Features

§32 (default), 16 or 64 bit maximum file sizes

By default, the maximum size for files is determined by the 32-bit values used for offset addresses. This is more than adequate for almost any storage realistically attached to an Arduino - but, I guess it is possible that you could attach, say, an SD-Card with greated than 4GB. You may optionally pass a feature flag to enable 64 bit values therefore.

Similarly, if you know the largest file you will use is 64k or less, you can specify 16bit filesize instead.

Smaller maximum filesizes reduces memory use, but also critically may mean you avoid having to import 64bit maths functions, reducing codesize as well.

FlagMeaning
filesize_16bitMaximum filesize is 16 bits
filesize_32bit(Default) maximum filesize is 32 bits
filesize_64bitMaximum filesize is 64 bits

Modules§

  • Filesystem module for AVRoxide.
  • Serial (EE)PROM drivers

Structs§

Enums§

  • Possible methods to seek within an I/O object

Traits§

  • Trait implemented by drivers that allow random-access read.
  • Trait implemented by drivers that allow random-access write.

Type Aliases§