Prusa MINI Firmware overview
msc_sd.h
Go to the documentation of this file.
1 /**
2  * Marlin 3D Printer Firmware
3  *
4  * Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
5  * Copyright (c) 2019 BigTreeTech [https://github.com/bigtreetech]
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program. If not, see <http://www.gnu.org/licenses/>.
14  *
15  */
16 #pragma once
17 
18 #include <USBComposite.h>
19 
20 extern USBMassStorage MarlinMSC;
21 extern USBCompositeSerial MarlinCompositeSerial;
22 
23 void MSC_SD_init();
MarlinCompositeSerial
USBCompositeSerial MarlinCompositeSerial
GET_SECTOR_COUNT
#define GET_SECTOR_COUNT
Definition: onboard_sd.h:63
FSMC_DMA_DEV
#define FSMC_DMA_DEV
Definition: pins_JGAURORA_A5S_A1.h:107
DMA_PRIORITY_MEDIUM
#define DMA_PRIORITY_MEDIUM
Definition: stm32f4xx_hal_dma.h:309
LCD_RESET_PIN
#define LCD_RESET_PIN
Definition: pins_LERDGE_X.h:161
OUT_WRITE
#define OUT_WRITE(IO, V)
Definition: fastio.h:108
DOGLCD_A0
#define DOGLCD_A0
Definition: pins_CNCONTROLS_11.h:107
LOW
#define LOW
Definition: wiring_constants.h:70
disk_initialize
DSTATUS disk_initialize(BYTE pdrv)
Initializes a Drive.
Definition: diskio.c:91
__attribute__
bool boolean __attribute__((deprecated))
Definition: wiring_constants.h:110
data
uint8_t data[8]
Definition: masstorage.h:49
disk_read
DRESULT disk_read(BYTE pdrv, BYTE *buff, DWORD sector, UINT count)
Reads Sector(s)
Definition: diskio.c:113
i
uint8_t i
Definition: screen_test_graph.c:72
state
static volatile fsensor_t state
Definition: filament_sensor.c:23
SPI_SPEED
#define SPI_SPEED
Definition: Conditionals_LCD.h:572
SET_OUTPUT
#define SET_OUTPUT(IO)
Definition: fastio.h:101
MSC_SD_init
void MSC_SD_init()
pin_t
int8_t pin_t
Definition: HAL.h:65
DOGLCD_MOSI
#define DOGLCD_MOSI
Definition: pins_CNCONTROLS_11.h:109
msc_sd.h
DOGLCD_SCK
#define DOGLCD_SCK
Definition: pins_CNCONTROLS_11.h:110
FSMC_DMA_CHANNEL
#define FSMC_DMA_CHANNEL
Definition: pins_JGAURORA_A5S_A1.h:108
WRITE
#define WRITE(IO, V)
Definition: fastio.h:96
RES_OK
Definition: onboard_sd.h:23
boards.h
disk_write
DRESULT disk_write(BYTE pdrv, const BYTE *buff, DWORD sector, UINT count)
Writes Sector(s)
Definition: diskio.c:135
uint8_t
const uint8_t[]
Definition: 404_html.c:3
onboard_sd.h
disk_ioctl
DRESULT disk_ioctl(BYTE pdrv, BYTE cmd, void *buff)
I/O control operation.
Definition: diskio.c:157
HIGH
#define HIGH
Definition: wiring_constants.h:71
length
png_uint_32 length
Definition: png.c:2247
DOGLCD_CS
#define DOGLCD_CS
Definition: pins_CNCONTROLS_11.h:108
MarlinMSC
USBMassStorage MarlinMSC
createSpeedLookupTable.b
list b
Definition: createSpeedLookupTable.py:30
READ
#define READ(IO)
Definition: fastio.h:95