MicrOS
|
Hard disk I/O or Control based Status Register. More...
#include <harddisk_pio_mode_header.h>
Public Attributes | |
harddisk_io_control_status_register_fields | fields |
Fields of this union. More... | |
uint8_t | value |
Value of this union. More... | |
Hard disk I/O or Control based Status Register.
Struct used to read from Status Register of I/O or Control port. Used to select a drive and/or head. Supports extra address/flag bits. Technically, when BSY is set, the other bits in the Status byte are meaningless. It is also generally a Bad Idea to test the "Seek Complete" (DSC) bit, because it has been deprecated and replaced by the newer SRV bit. Reading the Device Control Register port gets you the value of the Alternate Status Register, instead. The value of Alternate Status is always the same as the Regular Status port, but reading the Alternate Status port does not affect interrupts.
harddisk_io_control_status_register_fields harddisk_io_control_status_register::fields |
Fields of this union.
uint8_t harddisk_io_control_status_register::value |
Value of this union.