Logo Search packages:      
Sourcecode: vcdimager version File versions

const char* vcdinfo_ogt2str ( const vcdinfo_obj_t *  obj,
segnum_t  seg_num 
)

Note first seg_num is 0!

Note first seg_num is 0!

Definition at line 278 of file info.c.

References vcdinfo_ogt2str().

Referenced by vcdinfo_ogt2str().

{
  const InfoVcd_t *info = &obj->info;
  const char *ogt_str[] =
    {
      "None",
      "1 available",
      "0 & 1 available",
      "all 4 available"
    };
  
  return ogt_str[info->spi_contents[seg_num].ogt];
}


Generated by  Doxygen 1.6.0   Back to index