diff options
author | root <root@xena.domain.avtechpulse.com> | 2012-09-26 15:20:20 -0400 |
---|---|---|
committer | root <root@xena.domain.avtechpulse.com> | 2012-09-26 15:20:20 -0400 |
commit | 2c2ae8c092ed39033746352bf7f35545c86fca94 (patch) | |
tree | 94e5374416cb0cd2fe3850d5d625c4672385d921 /gpib.c | |
parent | 3bca18ebc2af02f11ca832e04958dbbf0572d186 (diff) |
add real read/writes to gpib chip
Diffstat (limited to 'gpib.c')
-rw-r--r-- | gpib.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -2,6 +2,7 @@ #include "globals.h" #include "flash.h" #include "error_utils.h" +#include "bus.h" /* TNT Configuration --------------------------------------------------------*/ @@ -582,15 +583,13 @@ static unsigned long int TNT_DATA_COUNT() static void TNT_Out(int reg, unsigned int byte) { - ; - // FIXME WrPortE(TNT_Port + reg, NULL, byte); + bus_writebyte (TNT_Port, (uint8_t) byte); } static unsigned char TNT_In(int reg) { - return 0; - // FIXME return RdPortE(TNT_Port + reg); + return (unsigned char) bus_readbyte (TNT_Port); } |