Control an Advanced Security SD card operation
#include <hw/dcmd_sim_sdmmc.h> #define DCMD_SDMMC_ASSD_CONTROL __DIOT(_DCMD_CAM, _SIM_SDMMC + 7, struct _sdmmc_assd_control)
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 |
This command controls an ASSD operation.
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;
None.
devctl() in the QNX Neutrino C Library Reference