Synergy Software Package User's Manual
sdmmc_instance_ctrl_t Struct Reference

#include <r_sdmmc.h>

Data Fields

uint32_t open
 used to determine if channel is open
 
sdmmc_hw_t hw
 Temporary storage for channel, media type and bus width.
 
transfer_instance_t const * p_lower_lvl_transfer
 Transfer instance used to transfer data with DMA or DTC.
 
sdmmc_info_t status
 To load various status information.
 
bool transfer_in_progress
 Flag to detect transfer status.
 
bool write_protect
 write protect status
 
void(* p_callback )(sdmmc_callback_args_t *p_args)
 User callback pointer.
 
void const * p_context
 Placeholder for user data.
 
R_SDHI0_Type * p_reg
 Base register information.
 
volatile sdhi_event_t sdhi_event
 Update event status.
 
IRQn_Type transfer_irq
 Scan end IRQ number.
 
sdmmc_transfer_dir_t transfer_dir
 Info on read or write operation in progress.
 
uint8_t * p_transfer_data
 Temporary storage for transfer data.
 
uint32_t transfer_blocks_total
 Total transfer block count.
 
uint32_t transfer_block_current
 Transfer current block.
 
uint32_t transfer_block_size
 Transfer block size.
 
uint32_t aligned_buff [SDMMC_MAX_BLOCK_SIZE/sizeof(uint32_t)]
 Aligned buffer.
 

Detailed Description

SDMMC instance control block. This is private to the SSP and should not be used or modified by the application.


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