Listing 3: Method 1 - ow_read_bit()
int ow_read_bit(int val) { int rval; portx_ctl |= OW_OUTEN; ow_delay(val == 0 ? 60 : 1); portx_ctl &= ~OW_OUTEN; ow_delay(15); rval = (portx_val & OW_OUTBIT) ? 1 : 0; if (val != 0) ow_delay(45); return rval; }
Browse all jobs
SEL seeking Integration / Automation Engineer in Charlotte, NC
ESRI seeking Business Manager - Support Services in Redlands, CA
Amcor PET Packaging seeking Facilities Engineer in Philadelphia, PA
Mentor Graphics seeking Embedded SW Tele-Sales in San Jose, CA