Skip to content
Snippets Groups Projects
Select Git revision
  • fd5e6c367a5755740aeffa00df4db26c772159e6
  • master default protected
  • bme680_demoapp
  • bme680
  • rahix/simple_menu
  • genofire/ble-rewrite
  • rahix/batt
  • schneider/bonding2
  • renze/safe_mode
  • renze/hatchery_apps
  • schneider/fundamental-test
  • koalo/factory-reset
  • ios-workarounds
  • msgctl/gfx_rle
  • msgctl/faultscreen
  • msgctl/textbuffer_api
  • schneider/bonding
  • schneider/bootloader-update-9a0d158
  • schneider/bsec
  • rahix/bma
  • rahix/bhi
  • v1.1
  • v1.0
  • release-1
  • bootloader-v1
  • v0.0
26 results

ff.h

Blame
  • Forked from card10 / firmware
    Source project has a limited visibility.
    ff.h 13.67 KiB
    /*----------------------------------------------------------------------------/
    /  FatFs - Generic FAT Filesystem module  R0.13                               /
    /-----------------------------------------------------------------------------/
    /
    / Copyright (C) 2017, ChaN, all right reserved.
    /
    / FatFs module is an open source software. Redistribution and use of FatFs in
    / source and binary forms, with or without modification, are permitted provided
    / that the following condition is met:
    
    / 1. Redistributions of source code must retain the above copyright notice,
    /    this condition and the following disclaimer.
    /
    / This software is provided by the copyright holder and contributors "AS IS"
    / and any warranties related to this software are DISCLAIMED.
    / The copyright owner or contributors be NOT LIABLE for any damages caused
    / by use of this software.
    /
    /----------------------------------------------------------------------------*/
    
    
    #ifndef FF_DEFINED
    #define FF_DEFINED	87030	/* Revision ID */
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    #include "integer.h"	/* Basic integer types */
    #include "ffconf.h"		/* FatFs configuration options */
    
    #if FF_DEFINED != FFCONF_DEF
    #error Wrong configuration file (ffconf.h).
    #endif
    
    
    
    /* Definitions of volume management */
    
    #if FF_MULTI_PARTITION		/* Multiple partition configuration */
    typedef struct {
    	BYTE pd;	/* Physical drive number */
    	BYTE pt;	/* Partition: 0:Auto detect, 1-4:Forced partition) */
    } PARTITION;
    extern PARTITION VolToPart[];	/* Volume - Partition resolution table */
    #endif
    
    
    
    /* Type of path name strings on FatFs API */
    
    #if FF_LFN_UNICODE && FF_USE_LFN	/* Unicode (UTF-16) string */
    #ifndef _INC_TCHAR
    typedef WCHAR TCHAR;
    #define _T(x) L ## x
    #define _TEXT(x) L ## x
    #define _INC_TCHAR
    #endif
    #else						/* ANSI/OEM string */
    #ifndef _INC_TCHAR
    typedef char TCHAR;
    #define _T(x) x
    #define _TEXT(x) x
    #define _INC_TCHAR
    #endif
    #endif
    
    
    
    /* Type of file size variables */