Get Advanced Security SD card properties
#include <hw/dcmd_sim_sdmmc.h> #define DCMD_SDMMC_ASSD_PROPERTIES __DIOF(_DCMD_CAM, _SIM_SDMMC + 6, struct _sdmmc_assd_properties)
Argument | Value |
---|---|
filedes | A file descriptor that you obtained by opening the device |
dcmd | DCMD_SDMMC_ASSD_PROPERTIES |
dev_data_ptr | A pointer to a SDMMC_ASSD_PROPERTIES structure |
n_bytes | sizeof(SDMMC_ASSD_PROPERTIES) |
dev_info_ptr | NULL |
This command gets ASSD properties.
None.
A filled-in SDMMC_ASSD_PROPERTIES structure:
typedef struct _sdmmc_assd_properties { uint8_t assd_version; uint8_t assd_sec_sys_vendor_id; uint16_t assd_sec_sys; uint16_t suspendible_sec_sys; uint16_t sup_auth_alg; uint16_t sup_enc_alg; uint16_t cl_support; uint8_t sec_read_latency; /* 250ms units */ uint8_t sec_write_latency; /* 250ms units */ uint8_t wr_sec_bus_busy; /* 250ms units */ uint8_t ctrl_sys_bus_busy; /* 250ms units */ uint8_t pmem_support; uint8_t pmem_rd_time; /* 100ms units */ uint8_t pmem_wr_time; /* 250ms units */ uint8_t rsvd[17]; } SDMMC_ASSD_PROPERTIES;
devctl() in the QNX Neutrino C Library Reference