Skip to content
Snippets Groups Projects
Select Git revision
  • 1b48d1db2ce005d46f595dae712848fd83e55bed
  • master default protected
  • electrodes
  • b-butwasntthisaboutchaos
  • fontcleanup
  • nodisplaynoproblem
  • fleur/improved_font_rendering
  • fleur/portexpander_fix
  • fleur/transprint
  • fleur/florapower
  • fleur/comicsans
  • fleur/leds
  • fleur/buttons
13 results

modules.h

Blame
  • Forked from card10 / firmware
    Source project has a limited visibility.
    modules.h 956 B
    #ifndef MODULES_H
    #define MODULES_H
    
    /* ---------- FAT fs ------------------------------------------------------ */
    /* Number of bits to use for indexing into our internal pool of files/directories
     * This indirectly specifies the size of the pool as 2^EPIC_FAT_FD_INDEX_BITS
     * Increase if number of open file descriptors is not enough, but be aware of
     * memory usage of the pool!
     */
    #define EPIC_FAT_FD_INDEX_BITS 4
    #define EPIC_FAT_STATIC_SEMAPHORE 1
    void fatfs_init(void);
    
    /* ---------- Serial ------------------------------------------------------- */
    #define SERIAL_READ_BUFFER_SIZE 128
    void vSerialTask(void *pvParameters);
    
    /* ---------- PMIC --------------------------------------------------------- */
    /* In 1/10s */
    #define PMIC_PRESS_SLEEP           20
    #define PMIC_PRESS_POWEROFF        40
    void vPmicTask(void *pvParameters);
    
    // Forces an unlock of the display. Only to be used in epicardium
    void disp_forcelock();
    
    #endif /* MODULES_H */