Arduino FatFS
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
fatfs::SDSPISTM32IO Class Reference
Main » IO

SPI interface for STM32 microcontrollers. More...

#include <SDSPISTM32IO.h>

Inheritance diagram for fatfs::SDSPISTM32IO:
Inheritance graph
[legend]
Collaboration diagram for fatfs::SDSPISTM32IO:
Collaboration graph
[legend]

Public Member Functions

DSTATUS disk_initialize (BYTE drv)
 
DSTATUS disk_status (BYTE drv)
 
DRESULT disk_read (BYTE drv, BYTE *buff, DWORD sector, UINT count)
 
DRESULT disk_write (BYTE drv, const BYTE *buff, DWORD sector, UINT count)
 
DRESULT disk_ioctl (BYTE drv, BYTE cmd, void *buff)
 
virtual DRESULT disk_ioctl (BYTE pdrv, ioctl_cmd_t cmd, void *buff)
 
virtual FRESULT mount (FatFs &fs)
 mount the file system
 
virtual FRESULT un_mount (FatFs &fs)
 unmount the file system
 

Public Attributes

FATFS fatfs
 

Protected Member Functions

void CS_HIGH ()
 
 CS_LOW ()
 
void FCLK_SLOW ()
 
void FCLK_FAST ()
 
void SPI_Timer_On (uint32_t waitTicks)
 
uint8_t SPI_Timer_Status ()
 
BYTE xchg_spi (BYTE dat)
 
void rcvr_spi_multi (BYTE *buff, UINT btr)
 
void xmit_spi_multi (const BYTE *buff, UINT btx)
 
int wait_ready (UINT wt)
 
void despiselect (void)
 
int spiselect (void)
 
int rcvr_datablock (BYTE *buff, UINT btr)
 
int xmit_datablock (const BYTE *buff, BYTE token)
 
BYTE send_cmd (BYTE cmd, DWORD arg)
 

Protected Attributes

volatile DSTATUS Stat = STA_NOINIT
 
BYTE CardType
 
uint32_t spiTimerTickStart
 
uint32_t spiTimerTickDelay
 

Detailed Description

SPI interface for STM32 microcontrollers.


The documentation for this class was generated from the following file: