Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_PL18X_VERSIONDATA Struct Reference

#include <pl18x.h>

Data Fields

char * name
 Name of the device.
uint32_t clockregister
 Default value for MCICLOCK register.
uint32_t clockenable
 Enable value for MMCICLOCK register.
uint32_t clock8bitenable
 Enable value for 8 bit bus.
uint32_t clocknegativeedgeenable
 Enable value for inverted data/cmd output.
uint32_t datalengthbits
 Number of bits in the MMCIDATALENGTH register.
uint32_t fifosize
 Number of bytes that can be written when MMCI_TXFIFOEMPTY is asserted (likewise for RX).
uint32_t fifohalfsize
 Number of bytes that can be written when MCI_TXFIFOHALFEMPTY is asserted (likewise for RX).
uint32_t datacommandenable
 Enable value for data commands.
uint32_t datacontrolmaskddr
 DDR mode mask in MMCIDATACTRL register.
uint32_t datacontrolmasksdio
 SDIO enable mask in MMCIDATACTRL register.
LONGBOOL stsdio
 Enable ST specific SDIO logic.
LONGBOOL stclockdivider
 True if using a ST-specific clock divider algorithm.
LONGBOOL blocksizedatacontrol16
 True if Block size is at b16..b30 position in MMCIDATACTRL register.
LONGBOOL blocksizedatacontrol4
 True if Block size is at b4..b16 position in MMCIDATACTRL register.
uint32_t powerpowerup
 Power up value for MMCIPOWER register.
uint32_t clockmaximum
 Maximum clk frequency supported by the controller.
LONGBOOL signaldirection
 Input/out direction of bus signals can be indicated.
LONGBOOL powerclockgate
 MMCIPOWER register must be used to gate the clock.
LONGBOOL busydetect
 True if busy detection on dat0 is supported.
LONGBOOL powernopower
 Bits in MMCIPOWER don't control external power supply.
LONGBOOL explicitmclockcontrol
 Enable explicit mclk control in driver.
LONGBOOL qualcommfifo
 Enable Qualcomm specific FIFO PIO read logic.
LONGBOOL qualcommdma
 Enable Qualcomm specific DMA glue for DMA transfers.
LONGBOOL reversedirq
 Handle data irq before cmd irq.

Field Documentation

◆ name

char* name

Name of the device.

◆ clockregister

uint32_t clockregister

Default value for MCICLOCK register.

◆ clockenable

uint32_t clockenable

Enable value for MMCICLOCK register.

◆ clock8bitenable

uint32_t clock8bitenable

Enable value for 8 bit bus.

◆ clocknegativeedgeenable

uint32_t clocknegativeedgeenable

Enable value for inverted data/cmd output.

◆ datalengthbits

uint32_t datalengthbits

Number of bits in the MMCIDATALENGTH register.

◆ fifosize

uint32_t fifosize

Number of bytes that can be written when MMCI_TXFIFOEMPTY is asserted (likewise for RX).

◆ fifohalfsize

uint32_t fifohalfsize

Number of bytes that can be written when MCI_TXFIFOHALFEMPTY is asserted (likewise for RX).

◆ datacommandenable

uint32_t datacommandenable

Enable value for data commands.

◆ datacontrolmaskddr

uint32_t datacontrolmaskddr

DDR mode mask in MMCIDATACTRL register.

◆ datacontrolmasksdio

uint32_t datacontrolmasksdio

SDIO enable mask in MMCIDATACTRL register.

◆ stsdio

LONGBOOL stsdio

Enable ST specific SDIO logic.

◆ stclockdivider

LONGBOOL stclockdivider

True if using a ST-specific clock divider algorithm.

◆ blocksizedatacontrol16

LONGBOOL blocksizedatacontrol16

True if Block size is at b16..b30 position in MMCIDATACTRL register.

◆ blocksizedatacontrol4

LONGBOOL blocksizedatacontrol4

True if Block size is at b4..b16 position in MMCIDATACTRL register.

◆ powerpowerup

uint32_t powerpowerup

Power up value for MMCIPOWER register.

◆ clockmaximum

uint32_t clockmaximum

Maximum clk frequency supported by the controller.

◆ signaldirection

LONGBOOL signaldirection

Input/out direction of bus signals can be indicated.

◆ powerclockgate

LONGBOOL powerclockgate

MMCIPOWER register must be used to gate the clock.

◆ busydetect

LONGBOOL busydetect

True if busy detection on dat0 is supported.

◆ powernopower

LONGBOOL powernopower

Bits in MMCIPOWER don't control external power supply.

◆ explicitmclockcontrol

LONGBOOL explicitmclockcontrol

Enable explicit mclk control in driver.

◆ qualcommfifo

LONGBOOL qualcommfifo

Enable Qualcomm specific FIFO PIO read logic.

◆ qualcommdma

LONGBOOL qualcommdma

Enable Qualcomm specific DMA glue for DMA transfers.

◆ reversedirq

LONGBOOL reversedirq

Handle data irq before cmd irq.


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