MicrOS
|
#include "harddisk_detection.h"
Functions | |
int8_t | __harddisk_check_presence (HARDDISK_ATA_MASTER_SLAVE type, HARDDISK_ATA_BUS_TYPE bus, harddisk_states *states) |
Check hard disk presence in computer. More... | |
int8_t | __harddisk_get_identify_data (HARDDISK_ATA_MASTER_SLAVE type, HARDDISK_ATA_BUS_TYPE bus, harddisk_identify_device_data *data, uint8_t identify_command) |
Check hard disk presence in computer. More... | |
int8_t __harddisk_check_presence | ( | HARDDISK_ATA_MASTER_SLAVE | type, |
HARDDISK_ATA_BUS_TYPE | bus, | ||
harddisk_states * | states | ||
) |
Check hard disk presence in computer.
Check if given hard disk is installed in computer.
type | Type of harddisk. |
bus | Type of bus. |
states | Pointer to struct where to put state of hard disk. |
int8_t __harddisk_get_identify_data | ( | HARDDISK_ATA_MASTER_SLAVE | type, |
HARDDISK_ATA_BUS_TYPE | bus, | ||
harddisk_identify_device_data * | data, | ||
uint8_t | identify_command | ||
) |
Check hard disk presence in computer.
Check if given hard disk is installed in computer.
type | Type of harddisk. |
bus | Type of bus. |
data | Harddisk identify device data for current drive. |