Subversion Repositories pentevo

Rev

Rev 1134 | 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.     u8 RdBuff;
  12.     u8 IsCh341;
  13. public:
  14.     void Reset();
  15.     void Open(const char *Name);
  16.     void Close();
  17.     void Wr(u32 Port, u8 Val);
  18.     u8 Rd(u32 Port);
  19. };
  20.  
  21. extern TZc Zc;
  22. #endif
  23.