drone-fatfs 0.2.3

Bindings to ChaN's FatFs.
/// FatFs attributes.
#[derive(Clone, Copy, Bitfield)]
#[bitfield(
  readonly(r, 0, 1, "Write mode open and deleting is rejected."),
  hidden(r, 1, 1, "Should not be shown in normal directory listing."),
  system(r, 2, 1, "Used by system and should not be accessed."),
  directory(r, 4, 1, "This is not a file but a sub-directory container."),
  archive(
    r,
    5,
    1,
    "Set on new creation or any modification to the file."
  )
)]
pub struct FatAttr(u8);

impl From<u8> for FatAttr {
  fn from(raw: u8) -> Self {
    FatAttr(raw)
  }
}