nvme_init_set_features_voltage_measurement-libnvme32
Initialize passthru command for voltage measurement
Usage
void nvme_init_set_features_voltage_measurement (struct libnvme_passthru_cmd *cmd , bool sv , __u8 act , struct nvme_voltage_measurement_start_data *data );
Arguments
- cmd
-
Passthru command to use
- sv
-
Save value across power states
- act
-
Action (ACT), see enum nvme_voltage_measurement_act
- data
-
Start Voltage Measurements data buffer, used if act is NVME_VOLTAGE_MEASUREMENT_ACT_START, otherwise NULL, see struct nvme_voltage_measurement_start_data
Overview
Initializes the passthru command buffer for the Set Features command with FID value NVME_FEAT_FID_VOLTAGE_MEASUREMENT