MicrOS
harddisk_control_device_control_register Union Reference

Hard disk Control based Device Control Register. More...

#include <harddisk_pio_mode_header.h>

Public Attributes

harddisk_control_device_control_register_fields fields
 Fields of this union. More...
 
uint8_t value
 Value of this union. More...
 

Detailed Description

Hard disk Control based Device Control Register.

Struct used to read from Device Control Register of Control port. Used to reset the bus or enable/disable interrupts. There is an additional IO port that changes the behavior of each ATA bus, called the Device Control Register. Each ATA bus has its own Control Register. All other bits are reserved and should always be clear. In general, you will want to leave HOB, SRST, and nIEN cleared. Set each Device Control Register to 0 once, during boot.

Member Data Documentation

◆ fields

harddisk_control_device_control_register_fields harddisk_control_device_control_register::fields

Fields of this union.

◆ value

uint8_t harddisk_control_device_control_register::value

Value of this union.


The documentation for this union was generated from the following file: