Searched refs:scl (Results 1 - 2 of 2) sorted by relevance

/gem5/src/dev/i2c/
H A Dbus.cc56 : BasicPioDevice(p, 0x1000), scl(1), sda(1), state(IDLE), currBit(7),
68 * of sda and scl.
75 pkt->setRaw<uint8_t>((sda << 1) | scl);
180 scl = (msg & 1) ? 1 : scl;
184 scl = (msg & 1) ? 0 : scl;
205 return scl && (msg & 2) && daddr == SB_CONTROLC;
213 return scl && (msg & 2) && daddr == SB_CONTROLS;
219 SERIALIZE_SCALAR(scl);
[all...]
H A Dbus.hh78 uint8_t scl; member in class:I2CBus
112 * Update data (sda) and clock (scl) to match any transitions
123 * @return true if pkt indicates that scl transition from 0 to 1

Completed in 5 milliseconds