Subversion Repositories pentevo

Rev

Rev 783 | Blame | Compare with Previous | 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. public:
  12.     void Reset();
  13.     void Open(const char *Name) { SdCard.Open(Name); }
  14.     void Close() { SdCard.Close(); }
  15.     void Wr(u32 Port, u8 Val);
  16.     u8 Rd(u32 Port);
  17. };
  18.  
  19. extern TZc Zc;
  20. #endif
  21.