src/spartan-edge-ioex.cpp
/* read a bit form port output data */
read a bit form port output data
read a bit form port output data
unsigned spartan_edge_ioex::readGpioOutputDataBit(unsigned GPIO_Port, unsigned GPIO_Pin) {
  unsigned v = 0;
  v = regRead(GPIO_Port + 1);
  return ((v >> GPIO_Pin) & 0x01);
}
unsigned spartan_edge_ioex :: readGpioOutputDataBit ( unsigned GPIO_Port , unsigned GPIO_Pin ) { unsigned v = 0 ; v = regRead ( GPIO_Port + 1 ) ; return ( ( v >> GPIO_Pin ) & 0x01 ) ; }
read a bit form port output data
read a bit form port output data