Subversion Repositories pentevo

Rev

Blame | Last modification | View Log | Download | RSS feed | ?url?

  1. // Z-Controller by KOE
  2. // Only SD-card
  3. #ifndef ZC_H
  4. #define ZC_H
  5. class TZc
  6. {
  7.         TSdCard SdCard;
  8.         u8 Cfg;
  9.         u8 Status;
  10.         u8 RdReg;
  11.         u8 RdBuff;      //NEDOREPO
  12. public:
  13.     void Reset();
  14.     void Open(const char *Name) { SdCard.Open(Name); }
  15.     void Close() { SdCard.Close(); }
  16.     void Wr(u32 Port, u8 Val);
  17.     u8 Rd(u32 Port);
  18. };
  19.  
  20. extern TZc Zc;
  21. #endif
  22.