DCMD_SDIO_CFG_IOMEM

Configure I/O memory

Synopsis:

#include <mmc/sdio.h>

#define DCMD_SDIO_CFG_IOMEM             __DIOT (_DCMD_MISC, 0x05, sdio_iomem_t)

Arguments to devctl():

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

Description:

This command configures I/O memory.

Input:

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:

func
The I/O function number.
blkmode
The block mode.
opcode
The command code.
address
The address of the I/O port.
blksize
The block size.

Output:

None.

See also:

devctl() in the QNX Neutrino C Library Reference