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 |
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 |
uint8_t daisy::FatFSInterface::Config::media |