_Client Class Reference

yasimavr: ArchXT_TWI::_Client Class Reference
yasimavr
Loading...
Searching...
No Matches
Inheritance diagram for ArchXT_TWI::_Client:
TWI::Client TWI::EndPoint CycleTimer

Public Member Functions

 _Client (ArchXT_TWI &per)
 
- Public Member Functions inherited from TWI::Client
 Client ()
 
void init (CycleManager &cycle_manager)
 
State state () const
 
void set_enabled (bool enabled)
 
bool enabled () const
 
void reset ()
 
bool active () const
 
bool clock_hold () const
 
unsigned char rw () const
 
bool ack () const
 
bool set_ack (bool ack)
 
bool start_data_tx (uint8_t data)
 
bool start_data_rx ()
 
Signalsignal ()
 
virtual cycle_count_t next (cycle_count_t when) override
 Callback from the cycle loop.
 
- Public Member Functions inherited from TWI::EndPoint
 EndPoint ()
 
virtual ~EndPoint ()=default
 
void line_state_changed (TWI::Line line, bool dig_state)
 
bool get_clock_drive () const
 
bool get_data_drive () const
 
- Public Member Functions inherited from CycleTimer
 CycleTimer ()
 
 CycleTimer (const CycleTimer &other)
 
virtual ~CycleTimer ()
 
bool scheduled () const
 Returns true if this timer is scheduled with a manager.
 
bool paused () const
 
cycle_count_t remaining_delay () const
 
CycleTimeroperator= (const CycleTimer &other)
 

Protected Member Functions

virtual void set_line_state (Line line, bool dig_state) override
 
- Protected Member Functions inherited from TWI::Client
virtual void clock_level_changed (bool level) override
 
virtual void data_level_changed (bool level) override
 
- Protected Member Functions inherited from TWI::EndPoint
void set_clock_drive (bool level)
 
bool get_clock_level () const
 
void set_data_drive (bool level)
 
bool get_data_level () const
 

Additional Inherited Members

- Public Types inherited from TWI::Client
enum  State {
  State_Disabled = 0 , State_Idle , State_Start , State_AddressRx ,
  State_AddressRAck , State_AddressWAck , State_DataTx , State_DataTxAck ,
  State_DataRx , State_DataRxAck , State_Count
}
 

Constructor & Destructor Documentation

◆ _Client()

ArchXT_TWI::_Client::_Client ( ArchXT_TWI per)
inline

Member Function Documentation

◆ set_line_state()

virtual void ArchXT_TWI::_Client::set_line_state ( Line  line,
bool  dig_state 
)
inlineoverrideprotectedvirtual

Implements TWI::EndPoint.


The documentation for this class was generated from the following file: