The Pedigree Project  0.1
Public Attributes | List of all members
AtaStatus Union Reference
+ Collaboration diagram for AtaStatus:

Public Attributes

struct {
   uint32_t   err: 1
 
   uint32_t   obs1: 1
 
   uint32_t   obs2: 1
 
   uint32_t   drq: 1
 
   uint32_t   rsvd1: 1
 
   uint32_t   rsvd2: 1
 
   uint32_t   drdy: 1
 
   uint32_t   bsy: 1
 
reg
 
uint8_t __reg_contents
 "Hidden" integer which contains the actual register contents
 

Detailed Description

Definition at line 28 of file ata-common.h.

Member Data Documentation

struct { ... } AtaStatus::reg

This struct provides an easy way to literally code when working with the ATA status register.

Referenced by AtaDisk::doRead(), AtaDisk::doWrite(), AtaDisk::initialise(), and AtaDisk::sendCommand().


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