MicrOS
|
Hard disk Control based Drive Address Register. More...
#include <harddisk_pio_mode_header.h>
Public Attributes | |
uint8_t | select_drive_0: 1 |
Drive 0 select. Clears when drive 0 selected (short: DS0). More... | |
uint8_t | select_drive_1: 1 |
Drive 1 select. Clears when drive 1 selected (short: DS1). More... | |
uint8_t | selected_head: 1 |
One's compliment representation of the currently selected head (short: HS0 - HS3). More... | |
uint8_t | write_gate: 1 |
Write gate; goes low while writing to the drive is in progress (short: WTG). More... | |
uint8_t | reserved_for_floppy_controllers: 1 |
Reserved for compatibility with floppy drive controllers which may use this bit. More... | |
Hard disk Control based Drive Address Register.
Struct used to read from Drive Address Register of Control port. Provides drive select and head select information.
uint8_t harddisk_control_drive_address_register_fields::reserved_for_floppy_controllers |
Reserved for compatibility with floppy drive controllers which may use this bit.
uint8_t harddisk_control_drive_address_register_fields::select_drive_0 |
Drive 0 select. Clears when drive 0 selected (short: DS0).
uint8_t harddisk_control_drive_address_register_fields::select_drive_1 |
Drive 1 select. Clears when drive 1 selected (short: DS1).
uint8_t harddisk_control_drive_address_register_fields::selected_head |
One's compliment representation of the currently selected head (short: HS0 - HS3).
uint8_t harddisk_control_drive_address_register_fields::write_gate |
Write gate; goes low while writing to the drive is in progress (short: WTG).