libDaisy
Hardware Library for Daisy
Loading...
Searching...
No Matches
daisy::FatFSInterface::Config Struct Reference

Detailed Description

Config structure for configuring Daisy to FatFS

#include <fatfs.h>

Public Types

enum  Media : uint8_t { MEDIA_SD = 0x01 , MEDIA_USB = 0x02 }
 

Public Attributes

uint8_t media
 

Member Enumeration Documentation

◆ Media

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

Enumerator
MEDIA_SD 
MEDIA_USB 

Member Data Documentation

◆ media

uint8_t daisy::FatFSInterface::Config::media

The documentation for this struct was generated from the following file: