Clear some bits in an I/O register
#include <mmc/sdio.h> #define DCMD_SDIO_CLR_IOREG __DIOT (_DCMD_MISC, 0x04, sdio_ioreg_t)
| Argument | Value |
|---|---|
| filedes | A file descriptor that you obtained by opening the device |
| dcmd | DCMD_SDIO_CLR_IOREG |
| dev_data_ptr | A pointer to a sdio_ioreg_t |
| n_bytes | sizeof(sdio_ioreg_t) |
| dev_info_ptr | NULL |
This command clears bits in an I/O register. The sdio_ioreg_t structure is defined as follows:
typedef struct _sdio_ioreg_t {
uint8_t func;
uint8_t val;
uint8_t rsvd[2];
uint32_t reg;
} sdio_ioreg_t;
The members include:
Initialize all members of the structure.
None.
devctl() in the QNX Neutrino C Library Reference