![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#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. | |
| 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.