Skip to content

daisy::FatFSInterface::Config

More...

#include <fatfs.h>

Public Types

Name
enum uint8_t Media

Public Attributes

Name
uint8_t media

Detailed Description

struct daisy::FatFSInterface::Config;

Config structure for configuring Daisy to FatFS

Public Types Documentation

enum Media

Enumerator Value Description
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 media;

Updated on 2024-01-03 at 19:41:00 +0000