Skip to content

Struct daisy::FatFSInterface::Config

ClassList > daisy > FatFSInterface > Config

More...

  • #include <fatfs.h>

Public Types

Type Name
enum uint8_t Media

Public Attributes

Type Name
uint8_t media

Detailed Description

Config structure for configuring Daisy to FatFS

Public Types Documentation

enum Media

enum daisy::FatFSInterface::Config::Media {
    MEDIA_SD = 0x01,
    MEDIA_USB = 0x02
};

Selected Media that will be linked to FatFS These values can be OR'd together when multiple volumes are desired i.e. config.media = Media::SD | Media::USBH;

When mounting multiple volumes, ffconf.h must have _VOLUMES set to an appropriate value.

FatFS will register multiple volumes in the order of the enum, the first registered class will mount at "0:/", the second registered class will mount at "1:/", and so on


Public Attributes Documentation

variable media

uint8_t daisy::FatFSInterface::Config::media;


The documentation for this class was generated from the following file external-docs/libDaisy/src/sys/fatfs.h