TWI slave driver software instance structure.
Device instance structure for a TWI Slave driver instance. This structure should be initialized by the twis_init() function to associate the instance with a particular hardware module of the device.
#include <twis.h>
Data Fields | |
Twis * | hw_dev |
Base address of the TWIS module. More... | |
struct twis_config * | twis_cfg |
Pointer to TWIS configuration structure. More... | |
Twis* twis_dev_inst::hw_dev |
Base address of the TWIS module.
Referenced by twis_clear_status(), twis_disable(), twis_disable_interrupt(), twis_enable(), twis_enable_interrupt(), twis_get_interrupt_mask(), twis_get_smbus_pec(), twis_get_smbus_transfer_nb(), twis_get_status(), twis_init(), twis_interrupt_handler(), twis_read(), twis_send_data_ack(), twis_send_data_nack(), twis_set_callback(), twis_set_config(), twis_set_smbus_transfer_nb(), and twis_write().
struct twis_config* twis_dev_inst::twis_cfg |
Pointer to TWIS configuration structure.