Skip to content

Struct sd_handle_t

ClassList > sd_handle_t

Main Handle Structure for SD Card.

  • #include <sdcard.h>

Public Attributes

Type Name
uint16_t cs_pin
GPIO_TypeDef * cs_port
SPI_HandleTypeDef * hspi
QueueHandle_t job_queue
SemaphoreHandle_t mutex
StaticSemaphore_t mutexBuffer
StaticQueue_t queue_buffer
uint8_t queue_storage
StaticSemaphore_t spi_comp_buffer
SemaphoreHandle_t spi_comp_sem
TaskHandle_t worker_task_handle

Public Attributes Documentation

variable cs_pin

uint16_t sd_handle_t::cs_pin;

variable cs_port

GPIO_TypeDef* sd_handle_t::cs_port;

variable hspi

SPI_HandleTypeDef* sd_handle_t::hspi;

variable job_queue

QueueHandle_t sd_handle_t::job_queue;

variable mutex

SemaphoreHandle_t sd_handle_t::mutex;

variable mutexBuffer

StaticSemaphore_t sd_handle_t::mutexBuffer;

variable queue_buffer

StaticQueue_t sd_handle_t::queue_buffer;

variable queue_storage

uint8_t sd_handle_t::queue_storage[SD_QUEUE_LENGTH *sizeof(sd_job_t)];

variable spi_comp_buffer

StaticSemaphore_t sd_handle_t::spi_comp_buffer;

variable spi_comp_sem

SemaphoreHandle_t sd_handle_t::spi_comp_sem;

variable worker_task_handle

TaskHandle_t sd_handle_t::worker_task_handle;


The documentation for this class was generated from the following file driver/Inc/sdcard.h