Class TWIPacket
Defined in File sim_twi.h
Class Documentation
-
class TWIPacket
Public Types
-
enum Cmd
Types of packet. Address, WriteData and ReadData (and ReadRequest under some conditions) are ‘long’ packets, i.e. they have a ‘duration’ that is simulated by a ‘send’ and a ‘end’ callback. The xxxxAck packets are ‘short’, i.e. instantaneous. In reality they have a duration but it’s included in the respective ‘long’ packet duration.
Values:
-
enumerator Cmd_Invalid
-
enumerator Cmd_Address
-
enumerator Cmd_AddrAck
-
enumerator Cmd_DataRequest
-
enumerator Cmd_Data
-
enumerator Cmd_DataAck
-
enumerator Cmd_Invalid
Public Functions
-
TWIPacket()
-
enum Cmd