Configure I/O memory
#include <mmc/sdio.h> #define DCMD_SDIO_CFG_IOMEM __DIOT (_DCMD_MISC, 0x05, sdio_iomem_t)
Argument | Value |
---|---|
filedes | A file descriptor that you obtained by opening the device |
dcmd | DCMD_SDIO_CFG_IOMEM |
dev_data_ptr | A pointer to a sdio_iomem_t |
n_bytes | sizeof(sdio_iomem_t) |
dev_info_ptr | NULL |
This command configures I/O memory.
A filled-in sdio_iomem_t structure:
typedef struct _sdio_iomem_t { uint8_t func; uint8_t blkmode; uint8_t opcode; uint8_t rsvd; uint32_t address; uint32_t blksz; } sdio_iomem_t;
The members include:
None.
devctl() in the QNX Neutrino C Library Reference