An endpoint connected to a TWI bus. Represents a device connected to a TWI bus model and implements the basic level logic common to a host and a client.
More...
#include <sim_twi.h>
An endpoint connected to a TWI bus. Represents a device connected to a TWI bus model and implements the basic level logic common to a host and a client.
- See also
- Client, Host
◆ EndPoint()
◆ ~EndPoint()
| virtual TWI::EndPoint::~EndPoint |
( |
| ) |
|
|
virtualdefault |
◆ clock_level_changed()
| virtual void TWI::EndPoint::clock_level_changed |
( |
bool |
level | ) |
|
|
protectedpure virtual |
◆ data_level_changed()
| virtual void TWI::EndPoint::data_level_changed |
( |
bool |
level | ) |
|
|
protectedpure virtual |
◆ get_clock_drive()
| bool TWI::EndPoint::get_clock_drive |
( |
| ) |
const |
|
inline |
◆ get_clock_level()
| bool TWI::EndPoint::get_clock_level |
( |
| ) |
const |
|
inlineprotected |
◆ get_data_drive()
| bool TWI::EndPoint::get_data_drive |
( |
| ) |
const |
|
inline |
◆ get_data_level()
| bool TWI::EndPoint::get_data_level |
( |
| ) |
const |
|
inlineprotected |
◆ line_state_changed()
| void EndPoint::line_state_changed |
( |
TWI::Line |
line, |
|
|
bool |
dig_state |
|
) |
| |
Inform the interface of a digital state change on a line (SCL or SDA). The state of the interface will transition accordingly.
◆ set_clock_drive()
| void EndPoint::set_clock_drive |
( |
bool |
level | ) |
|
|
protected |
Return the level of the SCL line driven by this.
◆ set_data_drive()
| void EndPoint::set_data_drive |
( |
bool |
level | ) |
|
|
protected |
Return the level of the SDA line driven by this.
◆ set_line_state()
| virtual void TWI::EndPoint::set_line_state |
( |
TWI::Line |
line, |
|
|
bool |
dig_state |
|
) |
| |
|
protectedpure virtual |
The documentation for this class was generated from the following files: