DCMD_SDMMC_ASSD_CONTROL
QNX SDP8.0Devctl and Ioctl CommandsDeveloper
Control an Advanced Security SD card operation
Synopsis:
#include <hw/dcmd_sim_sdmmc.h>
#define DCMD_SDMMC_ASSD_CONTROL __DIOT(_DCMD_CAM, _SIM_SDMMC + 7, struct _sdmmc_assd_control)
Arguments to devctl():
Argument | Value |
---|---|
filedes | A file descriptor that you obtained by opening the device |
dcmd | DCMD_SDMMC_ASSD_CONTROL |
dev_data_ptr | A pointer to a SDMMC_ASSD_CONTROL structure |
n_bytes | sizeof(SDMMC_ASSD_CONTROL) |
dev_info_ptr | NULL |
Description:
This command controls an ASSD operation.
Input:
A filled-in SDMMC_ASSD_CONTROL structure:
typedef struct _sdmmc_assd_control {
#define SDMMC_AC_OP_START_SUSPEND 0x3
#define SDMMC_AC_OP_CLEAR_SUSPEND 0x2
#define SDMMC_AC_OP_SELECT_RESET 0x1
uint8_t operation;
#define SDMMC_AC_SSI_MAX 0xf
uint8_t sec_sys_idx;
uint16_t rsvd[11];
} SDMMC_ASSD_CONTROL;
Output:
None.
See also:
devctl() in the QNX OS C Library Reference
Page updated: