The Pedigree Project 0.1
Public Member Functions | Public Attributes | List of all members
BusMasterIdeCommandRegister Union Reference

#include <BusMasterIde.h>

+ Collaboration diagram for BusMasterIdeCommandRegister:

Public Member Functions

struct { 
 
   uint8_t   startStop: 1 
 
   uint8_t   rsvd1: 2 
 
   uint8_t   rwCtl: 1 
 
   uint8_t   rsvd2: 4 
 
} __attribute__ ((packed)) bits 
 

Public Attributes

uint8_t reg
 

Detailed Description

Command register format

Definition at line 49 of file BusMasterIde.h.

Member Function Documentation

◆ __attribute__()

struct BusMasterIdeCommandRegister::@20 BusMasterIdeCommandRegister::__attribute__ ( (packed)  )
Todo:
I blanked when writing this, so I can't remember if this defines "bits" as a packed structure or if the attribute is ignored...

Member Data Documentation

◆ reg

uint8_t BusMasterIdeCommandRegister::reg

Definition at line 50 of file BusMasterIde.h.

◆ rsvd1

uint8_t BusMasterIdeCommandRegister::rsvd1

Definition at line 56 of file BusMasterIde.h.

◆ rsvd2

uint8_t BusMasterIdeCommandRegister::rsvd2

Definition at line 58 of file BusMasterIde.h.

◆ rwCtl

uint8_t BusMasterIdeCommandRegister::rwCtl

Definition at line 57 of file BusMasterIde.h.

◆ startStop

uint8_t BusMasterIdeCommandRegister::startStop

Definition at line 55 of file BusMasterIde.h.


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